Function at 0x4e7070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x513040]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, edx
mov dword [esp + 0x10], ecx
xor edx, edx
mov dword [esp + 0x1c], ebx
push esi
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], edx
mov dword [ebx], edx
call fcn.004e3c30
test eax, eax
jne 0x4e798e
mov edi, dword [ebp + 8]
cmp byte [0x513194], al
jne 0x4e70c4
xor ebx, ebx
jmp 0x4e70e4
test edi, 0x8000
je 0x4e70d0
xor ebx, ebx
jmp 0x4e70e4
mov ebx, 1
test edi, 0x10000
jne 0x4e70e4
movzx ebx, byte [0x513195]
test edi, 0x40000
je 0x4e70f4
and edi, 0xfffdffff
jmp 0x4e7103
cmp dword [0x513258], 0
je 0x4e7103
or edi, 0x20000
push 0
and edi, 0xfff600e7
push 0x218
mov dword [ebp + 8], edi
call fcn.0042ee10
mov esi, eax
add esp, 8
test esi, esi
je 0x4e78df
push 0x218
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test ebx, ebx
je 0x4e71ce
cmp byte [0x513194], 0
jne 0x4e714f
mov dword [esi + 0xc], 0
jmp 0x4e7161
push 1
call dword [0x5131d8]
add esp, 4
mov dword [esi + 0xc], eax
test eax, eax
jne 0x4e71ce
cmp dword [0x513190], 0
je 0x4e71ba
mov eax, dword [0x515ee0]
test eax, eax
je 0x4e717d
push eax
call dword [0x5131e0]
add esp, 4
push esi
call dword [0x5131bc]
sub dword [0x515d68], eax
add esp, 4
dec dword [0x515d8c]
push esi
call dword [0x5131b4]
mov eax, dword [0x515ee0]
add esp, 4
test eax, eax
je 0x4e71c4
push eax
call dword [0x5131e8]
add esp, 4
xor ebx, ebx
lea edi, [ebx + 7]
jmp 0x4e78ec
push esi
call dword [0x5131b4]
add esp, 4
xor ebx, ebx
lea edi, [ebx + 7]
jmp 0x4e78ec
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4e71df
push eax
call dword [0x5131e0]
add esp, 4
mov eax, edi
mov dword [esi + 0x14], 2
and eax, 0x2000000
mov byte [esi + 0x61], 0x6d
neg eax
mov dword [esi + 0x130], 1
push 0
sbb eax, eax
mov edx, str.BINARY
and eax, 0xffffff00
add eax, 0xff
mov dword [esi + 0x48], eax
lea eax, [esi + 0x1cc]
mov dword [esi + 0x10], eax
xor eax, eax
mov word [esi + 0x134], ax
movups xmm0, xmmword [0x5060e4]
push fcn.004e4a60
push 0
movups xmmword [esi + 0x78], xmm0
push 1
movups xmm0, xmmword [0x5060f4]
movups xmmword [esi + 0x88], xmm0
movups xmm0, xmmword [0x506104]
mov byte [esi + 0x55], 1
mov byte [esi + 0x5a], 0xff
movups xmmword [esi + 0x98], xmm0
mov dword [esi + 0xa4], eax
mov eax, dword [0x513238]
mov ecx, dword [0x51323c]
or dword [esi + 0x20], 0xe00480e0
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x34], ecx
mov ecx, esi
mov dword [esi + 0x64], 0
mov dword [esi + 0xb8], 0x514230
mov dword [esi + 0x24], eax
mov dword [esi + 0x1b8], 0
mov dword [esi + 0x1b4], 0
mov dword [esi + 0x1b0], 0
mov dword [esi + 0x1bc], 0
mov dword [esi + 0x18c], 0
mov dword [esi + 0x188], 0
mov dword [esi + 0x184], 0
mov dword [esi + 0x190], 0
call fcn.004e6870
push 0
push fcn.004e4a60
push 0
push 3
mov edx, str.BINARY
mov ecx, esi
call fcn.004e6870
push 0
push fcn.004e4a60
push 0
push 2
mov edx, str.BINARY
mov ecx, esi
call fcn.004e6870
push 0
push 0x4e4b30
push 0
push 1
mov edx, str.NOCASE
mov ecx, esi
call fcn.004e6870
add esp, 0x40
mov edx, str.RTRIM
mov ecx, esi
push 0
push 0x4e4ae0
push 0
push 1
call fcn.004e6870
add esp, 0x10
mov ebx, esi
cmp byte [esi + 0x57], 0
jne 0x4e7446
mov dword [esi + 0x3c], edi
mov eax, 1
and edi, 7
mov ecx, edi
shl eax, cl
test al, 0x46
jne 0x4e738f
push 0x504dd4
push 0x2ce4a
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.00431e30
add esp, 0x14
mov edi, 0x15
jmp 0x4e73cc
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
mov ecx, dword [esp + 0x1c]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [ebp + 8]
push esi
push eax
call fcn.004e6a90
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4e74b4
cmp edi, 7
jne 0x4e73c4
mov ecx, esi
call fcn.0042f840
mov edx, dword [esp + 0x28]
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x10]
xor ecx, ecx
test ebx, ebx
mov eax, 0x4ff190
push ebx
cmove eax, ecx
push eax
push edi
push esi
call fcn.00432c80
add esp, 0x10
test ebx, ebx
je 0x4e7444
cmp dword [0x513190], 0
je 0x4e743a
mov eax, dword [0x515ee0]
test eax, eax
je 0x4e7408
push eax
call dword [0x5131e0]
add esp, 4
push ebx
call dword [0x5131bc]
sub dword [0x515d68], eax
add esp, 4
dec dword [0x515d8c]
push ebx
call dword [0x5131b4]
mov eax, dword [0x515ee0]
add esp, 4
test eax, eax
je 0x4e7444
push eax
call dword [0x5131e8]
jmp 0x4e7441
push ebx
call dword [0x5131b4]
add esp, 4
mov ebx, esi
mov edi, esi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4e7459
push eax
call dword [0x5131e8]
add esp, 4
mov al, byte [esi + 0x61]
cmp al, 0xba
je 0x4e78bb
cmp al, 0x76
je 0x4e78bb
cmp al, 0x6d
je 0x4e78bb
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.00431e30
add esp, 0xc
push 0x504dd4
push 0x2cb71
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.00431e30
add esp, 0x14
mov byte [ebx + 0x61], 0xba
mov edi, 0x15
jmp 0x4e78f7
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x28]
or eax, 0x100
mov ecx, dword [esi]
push eax
mov eax, dword [esi + 0x10]
push 0
add eax, 4
mov dword [esp + 0x28], edx
push eax
push esi
call fcn.00449770
add esp, 0x10
test eax, eax
je 0x4e74fc
cmp eax, 0xc0a
jne 0x4e74e9
mov eax, 7
mov ecx, eax
mov edx, eax
mov dword [esi + 0x40], ecx
mov ecx, esi
call fcn.00432b80
jmp 0x4e7446
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + 9], 0
je 0x4e7516
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x4e7516
call fcn.00447640
mov edx, dword [esi + 0x10]
mov ecx, esi
mov edx, dword [edx + 4]
call fcn.0048f740
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0xc], eax
cmp byte [esi + 0x57], 0
jne 0x4e753f
mov eax, dword [esi + 0x10]
mov ecx, esi
mov edx, dword [eax + 0xc]
mov dl, byte [edx + 0x4d]
call fcn.0048efe0
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + 9], 0
je 0x4e7556
add dword [ecx + 0xc], 0xffffffff
jne 0x4e7556
call fcn.00447620
xor edx, edx
mov ecx, esi
call fcn.0048f740
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [eax], str.main
mov eax, dword [esi + 0x10]
mov byte [eax + 8], 3
mov eax, dword [esi + 0x10]
mov dword [eax + 0x10], str.temp
mov eax, dword [esi + 0x10]
mov byte [eax + 0x18], 1
cmp byte [esi + 0x57], 0
mov byte [esi + 0x61], 0x76
jne 0x4e7446
cmp dword [esi + 0x124], 0
mov dword [esi + 0x40], 0
je 0x4e75af
xor edx, edx
mov ecx, esi
call fcn.00432b80
jmp 0x4e75b6
mov dword [esi + 0x44], 0xffffffff
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4e75c7
push eax
call dword [0x5131e0]
add esp, 4
push 0
push 1
push 2
mov edx, str.MATCH
mov ecx, esi
call fcn.0048f380
mov ecx, dword [esi + 0xc]
add esp, 0xc
mov edi, eax
test ecx, ecx
je 0x4e75ef
push ecx
call dword [0x5131e8]
add esp, 4
test edi, edi
jne 0x4e7637
push str.MATCH
push 0x4ff190
call fcn.00431b90
add esp, 8
test eax, eax
je 0x4e7630
push fcn.0042f020
push edi
push edi
push edi
push edi
push 0x4e5c30
push eax
push 1
push 2
mov edx, str.MATCH
mov ecx, esi
call fcn.004e59e0
add esp, 0x24
cmp eax, 7
jne 0x4e7637
mov ecx, esi
call fcn.0042f840
mov al, byte [esi + 0x61]
cmp al, 0xba
je 0x4e7684
cmp al, 0x76
je 0x4e7684
cmp al, 0x6d
je 0x4e7684
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.00431e30
add esp, 0xc
push 0x504dd4
push 0x2cb71
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.00431e30
add esp, 0x14
mov eax, 0x15
mov edi, esi
jmp 0x4e7858
cmp byte [esi + 0x57], 0
jne 0x4e7851
mov eax, dword [esi + 0x48]
mov ecx, ebx
mov edi, ebx
and eax, dword [esi + 0x40]
jne 0x4e7858
mov edi, 0x504ef4
mov eax, ecx
mov edx, ebx
cmp edi, str.rank
jge 0x4e76c7
mov eax, dword [edi]
push esi
call eax
add esp, 4
add edi, 4
mov ecx, ebx
test eax, eax
je 0x4e76a3
mov edi, ecx
jmp 0x4e7858
cmp dword [0x515cc4], 0
mov edi, eax
je 0x4e77eb
xor ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
lea ebx, [ecx + 1]
cmp byte [0x513194], 0
jne 0x4e76f0
xor edi, edi
jmp 0x4e770f
push 2
call dword [0x5131d8]
mov edi, eax
add esp, 4
test edi, edi
je 0x4e770b
push edi
call dword [0x5131e0]
add esp, 4
mov ecx, dword [esp + 0x18]
cmp ecx, dword [0x515cc4]
jb 0x4e7723
mov dword [esp + 0x14], 0
xor ebx, ebx
jmp 0x4e772f
mov eax, dword [0x515cc8]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x14], eax
test edi, edi
je 0x4e773d
push edi
call dword [0x5131e8]
add esp, 4
mov eax, dword [esp + 0x14]
xor edi, edi
mov dword [esp + 0x28], edi
test eax, eax
je 0x4e7778
push 0x506800
lea ecx, [esp + 0x2c]
push ecx
push esi
call eax
add esp, 0xc
test eax, eax
je 0x4e7774
push dword [esp + 0x28]
push str.automatic_extension_loading_failed:__s
push eax
push esi
call fcn.00432c80
add esp, 0x10
xor ebx, ebx
mov edi, dword [esp + 0x28]
test edi, edi
je 0x4e77d4
cmp dword [0x513190], 0
je 0x4e77ca
mov eax, dword [0x515ee0]
test eax, eax
je 0x4e7798
push eax
call dword [0x5131e0]
add esp, 4
push edi
call dword [0x5131bc]
sub dword [0x515d68], eax
add esp, 4
dec dword [0x515d8c]
push edi
call dword [0x5131b4]
mov eax, dword [0x515ee0]
add esp, 4
test eax, eax
je 0x4e77d4
push eax
call dword [0x5131e8]
jmp 0x4e77d1
push edi
call dword [0x5131b4]
add esp, 4
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
test ebx, ebx
jne 0x4e76e3
mov edi, dword [esp + 0x10]
mov ebx, esi
mov al, byte [esi + 0x61]
mov ecx, edi
mov edx, ebx
cmp al, 0xba
je 0x4e7835
cmp al, 0x76
je 0x4e7835
cmp al, 0x6d
je 0x4e7835
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.00431e30
add esp, 0xc
push 0x504dd4
push 0x2cb71
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.00431e30
add esp, 0x14
jmp 0x4e7448
cmp byte [esi + 0x57], 0
mov ebx, edx
mov edi, ecx
jne 0x4e7448
mov eax, dword [esi + 0x48]
and eax, dword [esi + 0x40]
jne 0x4e7448
jmp 0x4e7864
mov eax, 7
mov edi, ebx
mov edx, eax
mov dword [esi + 0x40], eax
mov ecx, esi
call fcn.00432b80
push dword [0x5131a8]
xor edx, edx
mov ecx, esi
push dword [0x5131a4]
call fcn.004e4490
mov eax, dword [esi + 0xc]
add esp, 8
test eax, eax
je 0x4e788d
push eax
call dword [0x5131e0]
add esp, 4
mov eax, dword [esi + 0xc]
mov dword [esi + 0x110], 0x4e5ff0
mov dword [esi + 0x114], 0x3e8
test eax, eax
je 0x4e7448
push eax
call dword [0x5131e8]
add esp, 4
jmp 0x4e7448
cmp byte [esi + 0x57], 0
jne 0x4e78e1
mov eax, dword [esi + 0x48]
mov ebx, edi
and eax, dword [esi + 0x40]
mov dword [esp + 0x10], eax
mov ecx, eax
cmp al, 7
je 0x4e78e8
mov edi, ecx
test ecx, ecx
je 0x4e78f7
mov byte [ebx + 0x61], 0xba
jmp 0x4e78f7
mov ebx, esi
mov edi, 7
jmp 0x4e78ec
mov edi, dword [esp + 0x10]
xor edx, edx
mov ecx, ebx
call fcn.004e4cc0
xor ebx, ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [eax], ebx
test ecx, ecx
je 0x4e798c
nop dword [eax]
lea eax, [ecx]
cmp byte [eax - 1], 0
lea ecx, [eax - 1]
jne 0x4e7910
cmp byte [eax - 2], 0
jne 0x4e7910
cmp byte [eax - 3], 0
jne 0x4e7910
cmp byte [eax - 4], 0
lea esi, [eax - 4]
jne 0x4e7910
test esi, esi
je 0x4e798c
cmp dword [0x513190], 0
je 0x4e7982
mov eax, dword [0x515ee0]
test eax, eax
je 0x4e7950
push eax
call dword [0x5131e0]
add esp, 4
push esi
call dword [0x5131bc]
sub dword [0x515d68], eax
add esp, 4
dec dword [0x515d8c]
push esi
call dword [0x5131b4]
mov eax, dword [0x515ee0]
add esp, 4
test eax, eax
je 0x4e798c
push eax
call dword [0x5131e8]
jmp 0x4e7989
push esi
call dword [0x5131b4]
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004f5edb
mov esp, ebp
pop ebp
ret