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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor edi, edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x14], edi
mov dword [edx], edi
call fcn.004aead0
test eax, eax
jne 0x4b2bc0
mov ebx, dword [ebp + 8]
cmp byte [0x4eba7c], al
jne 0x4b2280
mov dword [esp + 0x18], edi
jmp 0x4b22ab
test ebx, 0x8000
je 0x4b228e
mov dword [esp + 0x18], edi
jmp 0x4b22ab
test ebx, 0x10000
je 0x4b22a0
mov dword [esp + 0x18], 1
jmp 0x4b22ab
movzx eax, byte [0x4eba7d]
mov dword [esp + 0x18], eax
test ebx, 0x40000
je 0x4b22bb
and ebx, 0xfffdffff
jmp 0x4b22c9
cmp dword [0x4ebb40], edi
je 0x4b22c9
or ebx, 0x20000
and ebx, 0xfff600e7
push 0
push 0x218
mov dword [esp + 0x2c], ebx
mov dword [ebp + 8], ebx
call fcn.004043b0
mov esi, eax
add esp, 8
test esi, esi
je 0x4b2b18
push 0x218
push 0
push esi
call fcn.004c0cc0
add esp, 0xc
mov eax, esi
mov dword [esp + 0x10], eax
cmp dword [esp + 0x18], edi
je 0x4b2395
cmp byte [0x4eba7c], 0
jne 0x4b231d
mov dword [esi + 0xc], edi
jmp 0x4b232f
push 1
call dword [0x4ebac0]
add esp, 4
mov dword [esi + 0xc], eax
test eax, eax
jne 0x4b2395
cmp dword [0x4eba78], edi
je 0x4b2384
mov eax, dword [0x4ee110]
test eax, eax
je 0x4b234a
push eax
call dword [0x4ebac8]
add esp, 4
push esi
call dword [0x4ebaa4]
sub dword [0x4edf18], eax
add esp, 4
dec dword [0x4edf3c]
push esi
call dword [0x4eba9c]
mov eax, dword [0x4ee110]
add esp, 4
test eax, eax
je 0x4b238e
push eax
call dword [0x4ebad0]
add esp, 4
xor ebx, ebx
jmp 0x4b2b1a
push esi
call dword [0x4eba9c]
add esp, 4
xor ebx, ebx
jmp 0x4b2b1a
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4b23a6
push eax
call dword [0x4ebac8]
add esp, 4
mov eax, ebx
mov dword [esi + 0x14], 2
and eax, 0x2000000
mov byte [esi + 0x5d], 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 + 0x44], eax
lea eax, [esi + 0x1c8]
mov dword [esi + 0x10], eax
xor eax, eax
mov word [esi + 0x134], ax
movups xmm0, xmmword [0x4e28d8]
push fcn.004af8a0
push 0
movups xmmword [esi + 0x78], xmm0
push 1
movups xmm0, xmmword [0x4e28e8]
movups xmmword [esi + 0x88], xmm0
movups xmm0, xmmword [0x4e28f8]
mov byte [esi + 0x51], 1
mov byte [esi + 0x56], 0xff
movups xmmword [esi + 0x98], xmm0
mov dword [esi + 0xa4], eax
mov eax, dword [0x4ebb20]
mov ecx, dword [0x4ebb24]
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 + 0x60], edi
mov dword [esi + 0xb8], 0x4ec8f8
mov dword [esi + 0x24], eax
mov dword [esi + 0x1b4], edi
mov dword [esi + 0x1b0], edi
mov dword [esi + 0x1ac], edi
mov dword [esi + 0x1b8], edi
mov dword [esi + 0x188], edi
mov dword [esi + 0x184], edi
mov dword [esi + 0x180], edi
mov dword [esi + 0x18c], edi
call fcn.004b1a50
push 0
push fcn.004af8a0
push 0
push 3
mov edx, str.BINARY
mov ecx, esi
call fcn.004b1a50
push 0
push fcn.004af8a0
push 0
push 2
mov edx, str.BINARY
mov ecx, esi
call fcn.004b1a50
push 0
push 0x4af970
push 0
push 1
mov edx, str.NOCASE
mov ecx, esi
call fcn.004b1a50
add esp, 0x40
mov edx, str.RTRIM
mov ecx, esi
push 0
push 0x4af920
push 0
push 1
call fcn.004b1a50
add esp, 0x10
mov ebx, esi
cmp byte [esi + 0x53], 0
jne 0x4b2a8f
mov ecx, dword [esp + 0x24]
mov eax, 1
mov dword [esi + 0x3c], ecx
and ecx, 7
shl eax, cl
test al, 0x46
jne 0x4b2534
push 0x4e1734
push 0x297de
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.004072e0
add esp, 0x14
mov ecx, 0x15
jmp 0x4b25a8
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [ebp + 8]
push esi
push eax
call fcn.004b1c50
mov ecx, eax
add esp, 0x10
test ecx, ecx
je 0x4b262f
cmp ecx, 7
jne 0x4b25a4
cmp byte [esi + 0x53], 0
jne 0x4b25a4
cmp byte [esi + 0x54], 0
jne 0x4b25a4
mov byte [esi + 0x53], 1
cmp dword [esi + 0xc8], edi
jle 0x4b2584
mov dword [esi + 0x128], 1
inc dword [esi + 0x130]
xor eax, eax
mov word [esi + 0x134], ax
mov eax, dword [esi + 0x10c]
test eax, eax
je 0x4b25a4
mov dword [eax + 0xc], 7
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x14]
xor edx, edx
test ebx, ebx
mov eax, 0x4dc1cc
push ebx
cmove eax, edx
push eax
push ecx
push esi
call fcn.00407da0
add esp, 0x10
test ebx, ebx
je 0x4b2628
cmp dword [0x4eba78], 0
je 0x4b261e
mov eax, dword [0x4ee110]
test eax, eax
je 0x4b25e4
push eax
call dword [0x4ebac8]
add esp, 4
push ebx
call dword [0x4ebaa4]
sub dword [0x4edf18], eax
add esp, 4
dec dword [0x4edf3c]
push ebx
call dword [0x4eba9c]
mov eax, dword [0x4ee110]
add esp, 4
test eax, eax
je 0x4b2628
push eax
call dword [0x4ebad0]
add esp, 4
mov ebx, esi
jmp 0x4b2a8f
push ebx
call dword [0x4eba9c]
add esp, 4
mov ebx, esi
jmp 0x4b2a8f
mov eax, dword [ebp + 8]
mov edi, dword [esp + 0x30]
or eax, 0x100
mov ecx, dword [esi]
mov edx, edi
push eax
mov eax, dword [esi + 0x10]
push 0
add eax, 4
mov dword [esp + 0x20], edi
push eax
push esi
call fcn.0041c4d0
add esp, 0x10
test eax, eax
je 0x4b2679
cmp eax, 0xc0a
jne 0x4b2666
mov eax, 7
mov ecx, eax
mov edx, eax
mov dword [esi + 0x40], ecx
mov ecx, esi
call fcn.00407cf0
jmp 0x4b2a8f
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + 9], 0
je 0x4b2693
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x4b2693
call fcn.0041a4e0
mov edx, dword [esi + 0x10]
mov ecx, esi
mov edx, dword [edx + 4]
call fcn.0045f870
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0xc], eax
cmp byte [esi + 0x53], 0
jne 0x4b26e3
mov eax, dword [esi + 0x10]
lea ecx, [esi + 0x1ac]
push 0
mov edx, str.BINARY
mov eax, dword [eax + 0xc]
mov bl, byte [eax + 0x4d]
mov byte [esi + 0x50], bl
call fcn.004095f0
add esp, 4
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4b26e0
movzx eax, bl
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 0x4b26fa
add dword [ecx + 0xc], 0xffffffff
jne 0x4b26fa
call fcn.0041a4c0
xor edx, edx
mov ecx, esi
call fcn.0045f870
mov ecx, dword [esi + 0x10]
mov ebx, esi
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 + 0x53], 0
mov byte [esi + 0x5d], 0x76
jne 0x4b2a8f
cmp dword [esi + 0x124], 0
mov dword [esi + 0x40], 0
je 0x4b2753
xor edx, edx
mov ecx, esi
call fcn.00407cf0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4b2764
push eax
call dword [0x4ebac8]
add esp, 4
push 0
push 1
push 2
mov edx, str.MATCH
mov ecx, esi
call fcn.0045f460
mov ecx, dword [esi + 0xc]
add esp, 0xc
mov edi, eax
test ecx, ecx
je 0x4b278c
push ecx
call dword [0x4ebad0]
add esp, 4
test edi, edi
jne 0x4b280b
push str.MATCH
call fcn.00407040
add esp, 4
test eax, eax
je 0x4b27c8
push fcn.004045c0
push edi
push edi
push edi
push edi
push 0x4b0cf0
push eax
push 1
push 2
mov edx, str.MATCH
mov ecx, esi
call fcn.004b0750
add esp, 0x24
cmp eax, 7
jne 0x4b280b
cmp byte [esi + 0x53], 0
jne 0x4b280b
cmp byte [esi + 0x54], 0
jne 0x4b280b
cmp dword [esi + 0xc8], 0
mov byte [esi + 0x53], 1
jle 0x4b27eb
mov dword [esi + 0x128], 1
inc dword [esi + 0x130]
xor eax, eax
mov word [esi + 0x134], ax
mov eax, dword [esi + 0x10c]
test eax, eax
je 0x4b280b
mov dword [eax + 0xc], 7
mov al, byte [esi + 0x5d]
cmp al, 0xba
je 0x4b285a
cmp al, 0x76
je 0x4b285a
cmp al, 0x6d
je 0x4b285a
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.004072e0
add esp, 0xc
push 0x4e1734
push 0x29515
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.004072e0
add esp, 0x14
mov dword [esp + 0x10], esi
mov eax, 0x15
jmp 0x4b2a31
cmp byte [esi + 0x53], 0
mov ecx, ebx
mov dword [esp + 0x10], ecx
jne 0x4b2a2c
mov eax, dword [esi + 0x44]
and eax, dword [esi + 0x40]
jne 0x4b2a31
mov edi, 0x4e188c
mov dword [esp + 0x10], ecx
nop
mov eax, ecx
mov edx, ebx
cmp edi, str.rank
jge 0x4b28a2
mov eax, dword [edi]
push esi
call eax
add esp, 4
add edi, 4
mov ecx, ebx
test eax, eax
je 0x4b2880
jmp 0x4b2a31
cmp dword [0x4ede78], 0
mov ecx, eax
mov dword [esp + 0x10], ecx
je 0x4b29ca
xor ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
lea ebx, [ecx + 1]
cmp byte [0x4eba7c], 0
jne 0x4b28cf
xor edi, edi
jmp 0x4b28ee
push 2
call dword [0x4ebac0]
mov edi, eax
add esp, 4
test edi, edi
je 0x4b28ea
push edi
call dword [0x4ebac8]
add esp, 4
mov ecx, dword [esp + 0x14]
cmp ecx, dword [0x4ede78]
jb 0x4b2902
mov dword [esp + 0x20], 0
xor ebx, ebx
jmp 0x4b290e
mov eax, dword [0x4ede7c]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x20], eax
test edi, edi
je 0x4b291c
push edi
call dword [0x4ebad0]
add esp, 4
mov eax, dword [esp + 0x20]
xor edi, edi
mov dword [esp + 0x30], edi
test eax, eax
je 0x4b2957
push 0x4e2fb8
lea ecx, [esp + 0x34]
push ecx
push esi
call eax
add esp, 0xc
test eax, eax
je 0x4b2953
push dword [esp + 0x30]
push str.automatic_extension_loading_failed:__s
push eax
push esi
call fcn.00407da0
add esp, 0x10
xor ebx, ebx
mov edi, dword [esp + 0x30]
test edi, edi
je 0x4b29b3
cmp dword [0x4eba78], 0
je 0x4b29a9
mov eax, dword [0x4ee110]
test eax, eax
je 0x4b2977
push eax
call dword [0x4ebac8]
add esp, 4
push edi
call dword [0x4ebaa4]
sub dword [0x4edf18], eax
add esp, 4
dec dword [0x4edf3c]
push edi
call dword [0x4eba9c]
mov eax, dword [0x4ee110]
add esp, 4
test eax, eax
je 0x4b29b3
push eax
call dword [0x4ebad0]
jmp 0x4b29b0
push edi
call dword [0x4eba9c]
add esp, 4
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
test ebx, ebx
jne 0x4b28c2
mov ecx, dword [esp + 0x10]
mov ebx, esi
mov al, byte [esi + 0x5d]
mov edx, ebx
cmp al, 0xba
je 0x4b2a12
cmp al, 0x76
je 0x4b2a12
cmp al, 0x6d
je 0x4b2a12
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.004072e0
add esp, 0xc
push 0x4e1734
push 0x29515
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.004072e0
add esp, 0x14
jmp 0x4b2a8b
cmp byte [esi + 0x53], 0
mov ebx, edx
mov dword [esp + 0x10], ecx
jne 0x4b2a8b
mov eax, dword [esi + 0x44]
and eax, dword [esi + 0x40]
jne 0x4b2a8b
mov dword [esp + 0x10], ecx
jmp 0x4b2a3d
mov eax, 7
mov edx, eax
mov dword [esi + 0x40], eax
mov ecx, esi
call fcn.00407cf0
push dword [0x4eba90]
xor edx, edx
mov ecx, esi
push dword [0x4eba8c]
call fcn.004af300
mov eax, dword [esi + 0xc]
add esp, 8
test eax, eax
je 0x4b2a66
push eax
call dword [0x4ebac8]
add esp, 4
mov eax, dword [esi + 0xc]
mov dword [esi + 0x110], 0x4b1180
mov dword [esi + 0x114], 0x3e8
test eax, eax
je 0x4b2a8b
push eax
call dword [0x4ebad0]
add esp, 4
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4b2aa0
push eax
call dword [0x4ebad0]
add esp, 4
mov al, byte [esi + 0x5d]
cmp al, 0xba
je 0x4b2aef
cmp al, 0x76
je 0x4b2aef
cmp al, 0x6d
je 0x4b2aef
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.004072e0
add esp, 0xc
push 0x4e1734
push 0x29515
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.004072e0
add esp, 0x14
mov dword [esp + 0x14], 0x15
mov byte [ebx + 0x5d], 0xba
jmp 0x4b2b2d
cmp byte [esi + 0x53], 0
jne 0x4b2b1a
mov ecx, dword [esi + 0x44]
and ecx, dword [esi + 0x40]
mov ebx, dword [esp + 0x10]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp cl, 7
je 0x4b2b22
mov dword [esp + 0x14], eax
test eax, eax
je 0x4b2b2d
mov byte [ebx + 0x5d], 0xba
jmp 0x4b2b2d
mov ebx, esi
mov dword [esp + 0x14], 7
xor edx, edx
mov ecx, ebx
call fcn.004afb00
xor ebx, ebx
mov eax, dword [esp + 0x2c]
mov dword [eax], ebx
test edi, edi
je 0x4b2bbc
nop dword [eax + eax]
lea eax, [edi]
cmp byte [eax - 1], 0
lea edi, [eax - 1]
jne 0x4b2b40
cmp byte [eax - 2], 0
jne 0x4b2b40
cmp byte [eax - 3], 0
jne 0x4b2b40
cmp byte [eax - 4], 0
lea esi, [eax - 4]
jne 0x4b2b40
test esi, esi
je 0x4b2bbc
cmp dword [0x4eba78], 0
je 0x4b2bb2
mov eax, dword [0x4ee110]
test eax, eax
je 0x4b2b80
push eax
call dword [0x4ebac8]
add esp, 4
push esi
call dword [0x4ebaa4]
sub dword [0x4edf18], eax
add esp, 4
dec dword [0x4edf3c]
push esi
call dword [0x4eba9c]
mov eax, dword [0x4ee110]
add esp, 4
test eax, eax
je 0x4b2bbc
push eax
call dword [0x4ebad0]
jmp 0x4b2bb9
push esi
call dword [0x4eba9c]
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bf1a3
mov esp, ebp
pop ebp
ret