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

Disassembly:
sub esp, 0x14
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 4], eax
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [eax], 0
call fcn.004ef2e0
test eax, eax
jne 0x493c7c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x30]
cmp byte [0x71301c], al
jne 0x49345b
xor ebx, ebx
jmp 0x49347b
test edi, 0x8000
je 0x493467
xor ebx, ebx
jmp 0x49347b
mov ebx, 1
test edi, 0x10000
jne 0x49347b
movzx ebx, byte [0x71301d]
test edi, 0x40000
je 0x49348b
and edi, 0xfffdffff
jmp 0x49349a
cmp dword [0x7130e0], 0
je 0x49349a
or edi, 0x20000
push 0
and edi, 0xfff600e7
push 0x230
mov dword [esp + 0x38], edi
call fcn.004c19b0
mov esi, eax
add esp, 8
test esi, esi
je 0x493bc6
push 0x230
push 0
push esi
call fcn.00656e20
add esp, 0xc
mov ebp, esi
test ebx, ebx
je 0x49351b
cmp byte [0x71301c], 0
jne 0x4934f6
push esi
mov dword [esi + 0xc], 0
call fcn.004699a0
add esp, 4
xor ebx, ebx
lea edi, [ebx + 7]
jmp 0x493bd3
push 1
call dword [0x713060]
add esp, 4
mov dword [esi + 0xc], eax
test eax, eax
jne 0x49351b
push esi
call fcn.004699a0
add esp, 4
xor ebx, ebx
lea edi, [ebx + 7]
jmp 0x493bd3
mov eax, dword [esi + 0xc]
test eax, eax
je 0x49352c
push eax
call dword [0x713068]
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
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 [0x6846f0]
push fcn.004715c0
push 0
movups xmmword [esi + 0x78], xmm0
push 1
movups xmm0, xmmword [0x684700]
push 0x684ec8
push esi
movups xmmword [esi + 0x88], xmm0
movups xmm0, xmmword [0x684710]
mov byte [esi + 0x55], 1
mov byte [esi + 0x5a], 0xff
movups xmmword [esi + 0x98], xmm0
mov dword [esi + 0xa4], eax
mov eax, dword [0x7130c0]
mov ecx, dword [0x7130c4]
or dword [esi + 0x20], 0xe00480e0
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x34], ecx
mov dword [esi + 0x64], 0
mov dword [esi + 0xb8], 0x71320c
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.00479e70
push 0
push fcn.004715c0
push 0
push 3
push 0x684ec8
push esi
call fcn.00479e70
push 0
push fcn.004715c0
push 0
push 2
push 0x684ec8
push esi
call fcn.00479e70
add esp, 0x48
push 0
push 0x493290
push 0
push 1
push str.NOCASE
push esi
call fcn.00479e70
push 0
push 0x49f150
push 0
push 1
push str.RTRIM
push esi
call fcn.00479e70
add esp, 0x30
mov ebx, esi
cmp byte [esi + 0x57], 0
jne 0x493b48
mov ecx, edi
mov dword [esi + 0x3c], edi
and ecx, 7
mov eax, 1
shl eax, cl
test al, 0x46
jne 0x4936c3
push 0x2cbc6
call fcn.004c2040
add esp, 4
xor ecx, ecx
jmp 0x4936ef
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push esi
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x38]
push dword [esp + 0x48]
call fcn.004c48f0
mov ecx, dword [esp + 0x2c]
add esp, 0x18
mov edi, dword [esp + 0x30]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
test eax, eax
je 0x493790
cmp eax, 7
jne 0x493709
push esi
call fcn.004c2710
add esp, 4
mov ebx, dword [esp + 0x10]
xor ecx, ecx
test ebx, ebx
mov eax, 0x688314
push ebx
cmove eax, ecx
push eax
push dword [esp + 0x20]
push esi
call fcn.004b0d30
add esp, 0x10
test ebx, ebx
je 0x493789
cmp dword [0x713018], 0
je 0x49377f
mov eax, dword [0x7181b8]
test eax, eax
je 0x493748
push eax
call dword [0x713068]
add esp, 4
push ebx
call dword [0x713044]
sub dword [0x718150], eax
dec dword [0x718174]
push ebx
call dword [0x71303c]
mov eax, dword [0x7181b8]
add esp, 8
test eax, eax
je 0x493789
push eax
call dword [0x713070]
add esp, 4
mov ebx, esi
jmp 0x493b48
push ebx
call dword [0x71303c]
add esp, 4
mov ebx, esi
jmp 0x493b48
mov eax, dword [esi + 0x10]
or edi, 0x100
push edi
push 0
add eax, 4
push eax
push esi
push ecx
push dword [esi]
call fcn.004a88b0
add esp, 0x18
test eax, eax
je 0x4937cc
cmp eax, 0xc0a
mov ecx, 7
cmove eax, ecx
push eax
push esi
call fcn.004b0c00
add esp, 8
jmp 0x493b48
mov eax, dword [esi + 0x10]
push dword [eax + 4]
call fcn.004a7680
mov eax, dword [esi + 0x10]
push dword [eax + 4]
push esi
call fcn.004cd960
mov ecx, dword [esi + 0x10]
add esp, 0xc
mov dword [ecx + 0xc], eax
cmp byte [esi + 0x57], 0
jne 0x493806
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0xc]
movzx eax, byte [eax + 0x4d]
push eax
push esi
call fcn.004d1330
add esp, 8
mov eax, dword [esi + 0x10]
push dword [eax + 4]
call fcn.004a87f0
push 0
push esi
call fcn.004cd960
mov ecx, dword [esi + 0x10]
add esp, 0xc
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 0x493b48
cmp dword [esi + 0x124], 0
mov dword [esi + 0x40], 0
je 0x49386e
push 0
push esi
call fcn.004b0c30
add esp, 8
jmp 0x493875
mov dword [esi + 0x44], 0xffffffff
mov eax, dword [esi + 0xc]
test eax, eax
je 0x493886
push eax
call dword [0x713068]
add esp, 4
push 0
push 1
push 2
push str.MATCH
push esi
call fcn.004b6960
mov ecx, dword [esi + 0xc]
add esp, 0x14
mov edi, eax
test ecx, ecx
je 0x4938ad
push ecx
call dword [0x713070]
add esp, 4
test edi, edi
jne 0x4938f6
push str.MATCH
push 0x688314
call fcn.00469670
add esp, 8
test eax, eax
je 0x4938ed
push fcn.004699a0
push edi
push edi
push edi
push edi
push 0x4c02b0
push eax
push 1
push 2
push str.MATCH
push esi
call fcn.0047a000
add esp, 0x2c
cmp eax, 7
jne 0x4938f6
push esi
call fcn.004c2710
add esp, 4
mov al, byte [esi + 0x61]
cmp al, 0xba
je 0x49393e
cmp al, 0x76
je 0x49393e
cmp al, 0x6d
je 0x49393e
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.00458bb0
push 0x68cf8c
push 0x2c8ed
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.00458bb0
add esp, 0x20
mov eax, 0x15
jmp 0x493af1
cmp byte [esi + 0x57], 0
jne 0x493aea
mov eax, dword [esi + 0x48]
mov ecx, ebx
and eax, dword [esi + 0x40]
jne 0x493af1
mov edi, 0x6844e8
nop dword [eax + eax]
mov ecx, ebp
mov edx, ebx
cmp edi, 0x6844f0
jge 0x493980
mov eax, dword [edi]
push esi
call eax
add esp, 4
add edi, 4
test eax, eax
je 0x493960
jmp 0x493af1
cmp dword [0x71839c], 0
mov dword [esp + 0x14], 1
je 0x493a92
xor ebx, ebx
cmp byte [0x71301c], 0
jne 0x4939a4
xor edi, edi
jmp 0x4939bf
push 2
call dword [0x713060]
mov edi, eax
add esp, 4
test edi, edi
je 0x4939bf
push edi
call dword [0x713068]
add esp, 4
cmp ebx, dword [0x71839c]
jb 0x4939d1
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x4939d9
mov eax, dword [0x7183a0]
mov ebp, dword [eax + ebx*4]
test edi, edi
je 0x4939e7
push edi
call dword [0x713070]
add esp, 4
xor edi, edi
mov dword [esp + 0x10], edi
test ebp, ebp
je 0x493a28
push 0x685000
lea eax, [esp + 0x14]
push eax
push esi
call ebp
add esp, 0xc
test eax, eax
je 0x493a24
push dword [esp + 0x10]
push str.automatic_extension_loading_failed:__s
push eax
push esi
call fcn.004b0d30
mov edi, dword [esp + 0x20]
add esp, 0x10
xor ebp, ebp
mov dword [esp + 0x14], ebp
jmp 0x493a2c
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test edi, edi
je 0x493a85
cmp dword [0x713018], 0
je 0x493a7b
mov eax, dword [0x7181b8]
test eax, eax
je 0x493a4c
push eax
call dword [0x713068]
add esp, 4
push edi
call dword [0x713044]
sub dword [0x718150], eax
dec dword [0x718174]
push edi
call dword [0x71303c]
mov eax, dword [0x7181b8]
add esp, 8
test eax, eax
je 0x493a85
push eax
call dword [0x713070]
jmp 0x493a82
push edi
call dword [0x71303c]
add esp, 4
inc ebx
test ebp, ebp
jne 0x493997
mov ebx, esi
mov ebp, ebx
mov al, byte [esi + 0x61]
mov ecx, ebp
mov edx, ebx
cmp al, 0xba
je 0x493ad6
cmp al, 0x76
je 0x493ad6
cmp al, 0x6d
je 0x493ad6
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.00458bb0
push 0x68cf8c
push 0x2c8ed
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.00458bb0
add esp, 0x20
jmp 0x493b48
cmp byte [esi + 0x57], 0
mov ebx, edx
mov ebp, ecx
jne 0x493b48
mov eax, dword [esi + 0x48]
and eax, dword [esi + 0x40]
jne 0x493b48
jmp 0x493afb
mov eax, 7
mov ebp, ebx
push eax
push esi
call fcn.004b0c00
add esp, 8
push dword [0x713030]
push dword [0x71302c]
push 0
push esi
call fcn.004a1970
mov eax, dword [esi + 0xc]
add esp, 0x10
test eax, eax
je 0x493b23
push eax
call dword [0x713068]
add esp, 4
mov eax, dword [esi + 0xc]
mov dword [esi + 0x110], 0x4e5ce0
mov dword [esi + 0x114], 0x3e8
test eax, eax
je 0x493b48
push eax
call dword [0x713070]
add esp, 4
mov eax, dword [esi + 0xc]
test eax, eax
je 0x493b59
push eax
call dword [0x713070]
add esp, 4
mov al, byte [esi + 0x61]
cmp al, 0xba
je 0x493ba2
cmp al, 0x76
je 0x493ba2
cmp al, 0x6d
je 0x493ba2
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.00458bb0
push 0x68cf8c
push 0x2c8ed
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.00458bb0
add esp, 0x20
mov byte [ebx + 0x61], 0xba
mov edi, 0x15
jmp 0x493be0
cmp byte [esi + 0x57], 0
jne 0x493bc8
mov eax, dword [esi + 0x48]
mov ebx, ebp
and eax, dword [esi + 0x40]
mov dword [esp + 0x18], eax
mov ecx, eax
cmp al, 7
je 0x493bcf
mov edi, ecx
test ecx, ecx
je 0x493be0
mov byte [ebx + 0x61], 0xba
jmp 0x493be0
mov ebx, esi
mov edi, 7
jmp 0x493bd3
mov edi, dword [esp + 0x18]
push 0
push ebx
call fcn.004aa830
add esp, 8
xor ebx, ebx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov dword [eax], ebx
test ecx, ecx
je 0x493c76
lea eax, [ecx]
cmp byte [eax - 1], 0
lea ecx, [eax - 1]
jne 0x493bf2
cmp byte [eax - 2], 0
jne 0x493bf2
cmp byte [eax - 3], 0
jne 0x493bf2
cmp byte [eax - 4], 0
lea esi, [eax - 4]
jne 0x493bf2
test esi, esi
je 0x493c76
cmp dword [0x713018], 0
je 0x493c6c
mov eax, dword [0x7181b8]
test eax, eax
je 0x493c32
push eax
call dword [0x713068]
add esp, 4
push esi
call dword [0x713044]
sub dword [0x718150], eax
dec dword [0x718174]
push esi
call dword [0x71303c]
mov eax, dword [0x7181b8]
add esp, 8
test eax, eax
je 0x493c76
push eax
call dword [0x713070]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push esi
call dword [0x71303c]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret