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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov eax, edx
mov dword [esp + 0x20], ecx
xor ebx, ebx
mov dword [esp + 0x24], eax
push esi
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [eax], ebx
call fcn.004e4f50
test eax, eax
jne 0x4e8d9d
mov edi, dword [ebp + 8]
cmp byte [0x5dac34], bl
jne 0x4e8510
mov dword [esp + 0x14], ebx
jmp 0x4e853b
test edi, 0x8000
je 0x4e851e
mov dword [esp + 0x14], ebx
jmp 0x4e853b
test edi, 0x10000
je 0x4e8530
mov dword [esp + 0x14], 1
jmp 0x4e853b
movzx eax, byte [0x5dac35]
mov dword [esp + 0x14], eax
test edi, 0x40000
je 0x4e854b
and edi, 0xfffdffff
jmp 0x4e8559
cmp dword [0x5dacf8], ebx
je 0x4e8559
or edi, 0x20000
and edi, 0xfff600e7
push 0
push 0x218
mov dword [esp + 0x2c], edi
mov dword [ebp + 8], edi
call fcn.0043b050
mov esi, eax
add esp, 8
test esi, esi
je 0x4e8cee
push 0x218
push 0
push esi
call fcn.00570cd0
add esp, 0xc
mov eax, esi
mov dword [esp + 0x10], eax
cmp dword [esp + 0x14], ebx
je 0x4e862a
cmp byte [0x5dac34], bl
jne 0x4e85ac
mov dword [esi + 0xc], ebx
jmp 0x4e85be
push 1
call dword [0x5dac78]
add esp, 4
mov dword [esi + 0xc], eax
test eax, eax
jne 0x4e862a
cmp dword [0x5dac30], ebx
je 0x4e8616
mov eax, dword [0x5dfe08]
test eax, eax
je 0x4e85d9
push eax
call dword [0x5dac80]
add esp, 4
push esi
call dword [0x5dac5c]
sub dword [0x5dfca8], eax
add esp, 4
dec dword [0x5dfccc]
push esi
call dword [0x5dac54]
mov eax, dword [0x5dfe08]
add esp, 4
test eax, eax
je 0x4e8620
push eax
call dword [0x5dac88]
add esp, 4
xor edi, edi
lea esi, [edi + 7]
jmp 0x4e8cfb
push esi
call dword [0x5dac54]
add esp, 4
xor edi, edi
lea esi, [edi + 7]
jmp 0x4e8cfb
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4e863b
push eax
call dword [0x5dac80]
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, 0x5b3024
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 [0x5b2a68]
push fcn.004e5d80
push 0
movups xmmword [esi + 0x78], xmm0
push 1
movups xmm0, xmmword [0x5b2a78]
movups xmmword [esi + 0x88], xmm0
movups xmm0, xmmword [0x5b2a88]
mov byte [esi + 0x55], 1
mov byte [esi + 0x5a], 0xff
movups xmmword [esi + 0x98], xmm0
mov dword [esi + 0xa4], eax
mov eax, dword [0x5dacd8]
mov ecx, dword [0x5dacdc]
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], ebx
mov dword [esi + 0xb8], 0x5dbc40
mov dword [esi + 0x24], eax
mov dword [esi + 0x1b8], ebx
mov dword [esi + 0x1b4], ebx
mov dword [esi + 0x1b0], ebx
mov dword [esi + 0x1bc], ebx
mov dword [esi + 0x18c], ebx
mov dword [esi + 0x188], ebx
mov dword [esi + 0x184], ebx
mov dword [esi + 0x190], ebx
call fcn.004e7cd0
push 0
push fcn.004e5d80
push 0
push 3
mov edx, 0x5b3024
mov ecx, esi
call fcn.004e7cd0
push 0
push fcn.004e5d80
push 0
push 2
mov edx, 0x5b3024
mov ecx, esi
call fcn.004e7cd0
push 0
push 0x4e5e50
push 0
push 1
mov edx, str.NOCASE
mov ecx, esi
call fcn.004e7cd0
add esp, 0x40
mov edx, str.RTRIM
mov ecx, esi
push 0
push 0x4e5e00
push 0
push 1
call fcn.004e7cd0
add esp, 0x10
mov edi, esi
cmp byte [esi + 0x57], bl
jne 0x4e8c6a
mov ecx, dword [esp + 0x24]
mov eax, 1
mov dword [esi + 0x3c], ecx
and ecx, 7
shl eax, cl
test al, 0x46
jne 0x4e87c8
push 0x5cad1c
push 0x2af06
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.0043e300
add esp, 0x14
mov ecx, 0x15
jmp 0x4e8806
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x1c]
mov ecx, dword [ebp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [ebp + 8]
push esi
push eax
call fcn.004e7ef0
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x4e888d
cmp eax, 7
jne 0x4e87fe
mov ecx, esi
call fcn.0043ba90
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
xor edx, edx
test edi, edi
mov eax, 0x5bc734
push edi
cmove eax, edx
push eax
push ecx
push esi
call fcn.0043ef10
add esp, 0x10
test edi, edi
je 0x4e8886
cmp dword [0x5dac30], 0
je 0x4e887c
mov eax, dword [0x5dfe08]
test eax, eax
je 0x4e8842
push eax
call dword [0x5dac80]
add esp, 4
push edi
call dword [0x5dac5c]
sub dword [0x5dfca8], eax
add esp, 4
dec dword [0x5dfccc]
push edi
call dword [0x5dac54]
mov eax, dword [0x5dfe08]
add esp, 4
test eax, eax
je 0x4e8886
push eax
call dword [0x5dac88]
add esp, 4
mov edi, esi
jmp 0x4e8c6a
push edi
call dword [0x5dac54]
add esp, 4
mov edi, esi
jmp 0x4e8c6a
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x18]
or eax, 0x100
mov ecx, dword [esi]
mov edx, ebx
push eax
mov eax, dword [esi + 0x10]
push 0
add eax, 4
mov dword [esp + 0x2c], ebx
push eax
push esi
call fcn.00452a50
add esp, 0x10
test eax, eax
je 0x4e88d7
cmp eax, 0xc0a
jne 0x4e88c4
mov eax, 7
mov ecx, eax
mov edx, eax
mov dword [esi + 0x40], ecx
mov ecx, esi
call fcn.0043ee60
jmp 0x4e8c6a
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + 9], 0
je 0x4e88f1
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x4e88f1
call fcn.00450c80
mov edx, dword [esi + 0x10]
mov ecx, esi
mov edx, dword [edx + 4]
call fcn.00495500
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0xc], eax
cmp byte [esi + 0x57], 0
jne 0x4e8947
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x1b0]
push 0
mov edx, 0x5b3024
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4d]
mov byte [esp + 0x13], al
mov byte [esi + 0x54], al
call fcn.004407e0
add esp, 4
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4e8944
movzx eax, byte [esp + 0xf]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
add ecx, 0xffffffec
mov dword [esi + 8], ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + 9], 0
je 0x4e895e
add dword [ecx + 0xc], 0xffffffff
jne 0x4e895e
call fcn.00450c60
xor edx, edx
mov ecx, esi
call fcn.00495500
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 0x4e8c6a
cmp dword [esi + 0x124], 0
mov dword [esi + 0x40], 0
je 0x4e89b7
xor edx, edx
mov ecx, esi
call fcn.0043ee60
jmp 0x4e89be
mov dword [esi + 0x44], 0xffffffff
push 2
push str.MATCH
push esi
call fcn.004e6f70
add esp, 0xc
cmp eax, 7
jne 0x4e89da
mov ecx, esi
call fcn.0043ba90
mov al, byte [esi + 0x61]
cmp al, 0xba
je 0x4e8a29
cmp al, 0x76
je 0x4e8a29
cmp al, 0x6d
je 0x4e8a29
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.0043e300
add esp, 0xc
push 0x5cad1c
push 0x2ac30
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.0043e300
add esp, 0x14
mov dword [esp + 0x10], esi
mov edx, 0x15
jmp 0x4e8c12
cmp byte [esi + 0x57], 0
mov ecx, esi
mov dword [esp + 0x10], ecx
jne 0x4e8c0d
mov edx, dword [esi + 0x48]
and edx, dword [esi + 0x40]
jne 0x4e8c12
mov eax, 0x5b0a24
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
mov edx, ecx
mov ecx, edi
cmp eax, 0x5b0a3c
jge 0x4e8a7d
mov eax, dword [eax]
push esi
call eax
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, esi
add eax, 4
mov dword [esp + 0x1c], eax
test edx, edx
je 0x4e8a52
jmp 0x4e8c12
cmp dword [0x5dfbf4], 0
mov eax, edx
mov dword [esp + 0x10], eax
je 0x4e8bac
xor ecx, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
lea ebx, [ecx + 1]
nop dword [eax]
cmp byte [0x5dac34], 0
jne 0x4e8aad
xor edi, edi
jmp 0x4e8acc
push 2
call dword [0x5dac78]
mov edi, eax
add esp, 4
test edi, edi
je 0x4e8ac8
push edi
call dword [0x5dac80]
add esp, 4
mov ecx, dword [esp + 0x14]
cmp ecx, dword [0x5dfbf4]
jb 0x4e8ae0
mov dword [esp + 0x1c], 0
xor ebx, ebx
jmp 0x4e8aec
mov eax, dword [0x5dfbf8]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x1c], eax
test edi, edi
je 0x4e8afa
push edi
call dword [0x5dac88]
add esp, 4
mov eax, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x18], edi
test eax, eax
je 0x4e8b35
push 0x5b31c0
lea ecx, [esp + 0x1c]
push ecx
push esi
call eax
add esp, 0xc
test eax, eax
je 0x4e8b31
push dword [esp + 0x18]
push str.automatic_extension_loading_failed:__s
push eax
push esi
call fcn.0043ef10
add esp, 0x10
xor ebx, ebx
mov edi, dword [esp + 0x18]
test edi, edi
je 0x4e8b91
cmp dword [0x5dac30], 0
je 0x4e8b87
mov eax, dword [0x5dfe08]
test eax, eax
je 0x4e8b55
push eax
call dword [0x5dac80]
add esp, 4
push edi
call dword [0x5dac5c]
sub dword [0x5dfca8], eax
add esp, 4
dec dword [0x5dfccc]
push edi
call dword [0x5dac54]
mov eax, dword [0x5dfe08]
add esp, 4
test eax, eax
je 0x4e8b91
push eax
call dword [0x5dac88]
jmp 0x4e8b8e
push edi
call dword [0x5dac54]
add esp, 4
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
test ebx, ebx
jne 0x4e8aa0
mov ebx, dword [esp + 0x24]
mov edi, esi
mov eax, dword [esp + 0x10]
mov ecx, eax
mov edx, edi
mov al, byte [esi + 0x61]
cmp al, 0xba
je 0x4e8bf3
cmp al, 0x76
je 0x4e8bf3
cmp al, 0x6d
je 0x4e8bf3
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.0043e300
add esp, 0xc
push 0x5cad1c
push 0x2ac30
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.0043e300
add esp, 0x14
jmp 0x4e8c6a
cmp byte [esi + 0x57], 0
mov edi, edx
mov dword [esp + 0x10], ecx
jne 0x4e8c6a
mov eax, dword [esi + 0x48]
and eax, dword [esi + 0x40]
jne 0x4e8c6a
mov dword [esp + 0x10], ecx
jmp 0x4e8c1c
mov edx, 7
mov ecx, esi
mov dword [esi + 0x40], edx
call fcn.0043ee60
push dword [0x5dac48]
xor edx, edx
mov ecx, esi
push dword [0x5dac44]
call fcn.004e5790
mov eax, dword [esi + 0xc]
add esp, 8
test eax, eax
je 0x4e8c45
push eax
call dword [0x5dac80]
add esp, 4
mov eax, dword [esi + 0xc]
mov dword [esi + 0x110], 0x4e7280
mov dword [esi + 0x114], 0x3e8
test eax, eax
je 0x4e8c6a
push eax
call dword [0x5dac88]
add esp, 4
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4e8c7b
push eax
call dword [0x5dac88]
add esp, 4
mov al, byte [esi + 0x61]
cmp al, 0xba
je 0x4e8cc7
cmp al, 0x76
je 0x4e8cc7
cmp al, 0x6d
je 0x4e8cc7
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.0043e300
add esp, 0xc
push 0x5cad1c
push 0x2ac30
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.0043e300
add esp, 0x14
mov byte [edi + 0x61], 0xba
mov esi, 0x15
jmp 0x4e8d06
cmp byte [esi + 0x57], 0
jne 0x4e8cf0
mov ecx, dword [esi + 0x40]
and ecx, dword [esi + 0x48]
mov edi, dword [esp + 0x10]
mov edx, ecx
mov dword [esp + 0x24], ecx
cmp cl, 7
je 0x4e8cf7
mov esi, edx
test edx, edx
je 0x4e8d06
mov byte [edi + 0x61], 0xba
jmp 0x4e8d06
mov edi, esi
mov esi, 7
jmp 0x4e8cfb
mov esi, dword [esp + 0x24]
xor edx, edx
mov ecx, edi
call fcn.004e5fe0
xor edi, edi
mov eax, dword [esp + 0x2c]
mov dword [eax], edi
test ebx, ebx
je 0x4e8d9b
cmp byte [ebx - 1], 0
lea eax, [ebx - 1]
jne 0x4e8d31
cmp byte [ebx - 2], 0
jne 0x4e8d31
cmp byte [ebx - 3], 0
jne 0x4e8d31
add ebx, 0xfffffffc
cmp byte [ebx], 0
je 0x4e8d35
mov ebx, eax
jmp 0x4e8d14
test ebx, ebx
je 0x4e8d9b
cmp dword [0x5dac30], 0
je 0x4e8d91
mov eax, dword [0x5dfe08]
test eax, eax
je 0x4e8d55
push eax
call dword [0x5dac80]
add esp, 4
push ebx
call dword [0x5dac5c]
sub dword [0x5dfca8], eax
add esp, 4
dec dword [0x5dfccc]
push ebx
call dword [0x5dac54]
mov eax, dword [0x5dfe08]
add esp, 4
test eax, eax
je 0x4e8d9b
push eax
call dword [0x5dac88]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [0x5dac54]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret