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

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x1c]
push ebp
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0xc], ebp
mov dword [esp + 8], ebp
mov dword [eax], ebp
call fcn.00542b30
test eax, eax
jne 0x4e8cfb
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
cmp byte [0x78d01c], al
jne 0x4e84d8
xor ebx, ebx
jmp 0x4e84f8
test edi, 0x8000
je 0x4e84e4
xor ebx, ebx
jmp 0x4e84f8
mov ebx, 1
test edi, 0x10000
jne 0x4e84f8
movzx ebx, byte [0x78d01d]
test edi, 0x40000
je 0x4e8508
and edi, 0xfffdffff
jmp 0x4e8516
cmp dword [0x78d0e0], ebp
je 0x4e8516
or edi, 0x20000
push 0
and edi, 0xfff600e7
push 0x228
mov dword [esp + 0x38], edi
call fcn.00515c10
mov esi, eax
add esp, 8
test esi, esi
je 0x4e8c45
push 0x228
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test ebx, ebx
je 0x4e8591
cmp byte [0x78d01c], 0
jne 0x4e856c
push esi
mov dword [esi + 0xc], ebp
call fcn.004c1720
add esp, 4
xor ebx, ebx
lea esi, [ebx + 7]
jmp 0x4e8c52
push 1
call dword [0x78d060]
add esp, 4
mov dword [esi + 0xc], eax
test eax, eax
jne 0x4e8591
push esi
call fcn.004c1720
add esp, 4
xor ebx, ebx
lea esi, [ebx + 7]
jmp 0x4e8c52
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4e85a2
push eax
call dword [0x78d068]
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 [0x6e895c]
push fcn.004c97d0
push 0
movups xmmword [esi + 0x78], xmm0
push 1
movups xmm0, xmmword [0x6e896c]
push 0x6e921c
push esi
movups xmmword [esi + 0x88], xmm0
movups xmm0, xmmword [0x6e897c]
mov byte [esi + 0x55], 1
mov byte [esi + 0x5a], 0xff
movups xmmword [esi + 0x98], xmm0
mov dword [esi + 0xa4], eax
mov eax, dword [0x78d0c0]
mov ecx, dword [0x78d0c4]
or dword [esi + 0x20], 0xe00480e0
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x34], ecx
mov dword [esi + 0x64], ebp
mov dword [esi + 0xb8], 0x78d200
mov dword [esi + 0x24], eax
mov dword [esi + 0x1b8], ebp
mov dword [esi + 0x1b4], ebp
mov dword [esi + 0x1b0], ebp
mov dword [esi + 0x1bc], ebp
mov dword [esi + 0x18c], ebp
mov dword [esi + 0x188], ebp
mov dword [esi + 0x184], ebp
mov dword [esi + 0x190], ebp
call fcn.004d1a60
push 0
push fcn.004c97d0
push 0
push 3
push 0x6e921c
push esi
call fcn.004d1a60
push 0
push fcn.004c97d0
push 0
push 2
push 0x6e921c
push esi
call fcn.004d1a60
add esp, 0x48
push 0
push 0x4e8310
push 0
push 1
push str.NOCASE
push esi
call fcn.004d1a60
push 0
push 0x4f3ae0
push 0
push 1
push str.RTRIM
push esi
call fcn.004d1a60
add esp, 0x30
mov ebx, esi
cmp byte [esi + 0x57], 0
jne 0x4e87d3
mov ecx, edi
mov dword [esi + 0x3c], edi
and ecx, 7
mov eax, 1
shl eax, cl
test al, 0x46
jne 0x4e8713
push 0x2be5d
call fcn.00516230
add esp, 4
jmp 0x4e873f
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push esi
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x38]
push dword [esp + 0x48]
call fcn.00518970
mov ebp, dword [esp + 0x30]
add esp, 0x18
mov edi, dword [esp + 0x30]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x10], eax
test eax, eax
je 0x4e883e
cmp eax, 7
jne 0x4e8759
push esi
call fcn.00516600
add esp, 4
mov ebx, dword [esp + 0x14]
xor ecx, ecx
test ebx, ebx
mov eax, 0x6ec65c
push ebx
cmove eax, ecx
push eax
push dword [esp + 0x18]
push esi
call fcn.00505090
add esp, 0x10
test ebx, ebx
je 0x4e87d1
cmp dword [0x78d018], 0
je 0x4e87c7
mov eax, dword [0x7935d8]
test eax, eax
je 0x4e8798
push eax
call dword [0x78d068]
add esp, 4
push ebx
call dword [0x78d044]
sub dword [0x793570], eax
dec dword [0x793594]
push ebx
call dword [0x78d03c]
mov eax, dword [0x7935d8]
add esp, 8
test eax, eax
je 0x4e87d1
push eax
call dword [0x78d070]
jmp 0x4e87ce
push ebx
call dword [0x78d03c]
add esp, 4
mov ebx, esi
mov edi, esi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4e87e6
push eax
call dword [0x78d070]
add esp, 4
mov al, byte [esi + 0x61]
cmp al, 0xba
je 0x4e8c21
cmp al, 0x76
je 0x4e8c21
cmp al, 0x6d
je 0x4e8c21
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.004b1f90
push 0x6f10ac
push 0x2bb84
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.004b1f90
add esp, 0x20
mov byte [ebx + 0x61], 0xba
mov esi, 0x15
jmp 0x4e8c5f
mov eax, dword [esi + 0x10]
or edi, 0x100
push edi
push 0
add eax, 4
push eax
push esi
push ebp
push dword [esi]
call fcn.004fcef0
add esp, 0x18
test eax, eax
je 0x4e887a
cmp eax, 0xc0a
mov ecx, 7
cmove eax, ecx
push eax
push esi
call fcn.00504f40
add esp, 8
jmp 0x4e87d3
mov eax, dword [esi + 0x10]
push dword [eax + 4]
call fcn.004fbd10
mov eax, dword [esi + 0x10]
push dword [eax + 4]
push esi
call fcn.00521710
mov ecx, dword [esi + 0x10]
add esp, 0xc
mov dword [ecx + 0xc], eax
cmp byte [esi + 0x57], 0
jne 0x4e88b4
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0xc]
movzx eax, byte [eax + 0x4d]
push eax
push esi
call fcn.00524fd0
add esp, 8
mov eax, dword [esi + 0x10]
push dword [eax + 4]
call fcn.004fce30
push 0
push esi
call fcn.00521710
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 0x4e87d3
cmp dword [esi + 0x124], 0
mov dword [esi + 0x40], 0
je 0x4e891c
push 0
push esi
call fcn.00504f70
add esp, 8
jmp 0x4e8923
mov dword [esi + 0x44], 0xffffffff
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4e8934
push eax
call dword [0x78d068]
add esp, 4
push 0
push 1
push 2
push str.MATCH
push esi
call fcn.0050aaf0
mov ecx, dword [esi + 0xc]
add esp, 0x14
mov edi, eax
test ecx, ecx
je 0x4e895b
push ecx
call dword [0x78d070]
add esp, 4
test edi, edi
jne 0x4e89a4
push str.MATCH
push 0x6ec65c
call fcn.004c13f0
add esp, 8
test eax, eax
je 0x4e899b
push fcn.004c1720
push edi
push edi
push edi
push edi
push 0x5144e0
push eax
push 1
push 2
push str.MATCH
push esi
call fcn.004d1bf0
add esp, 0x2c
cmp eax, 7
jne 0x4e89a4
push esi
call fcn.00516600
add esp, 4
mov al, byte [esi + 0x61]
cmp al, 0xba
je 0x4e89ee
cmp al, 0x76
je 0x4e89ee
cmp al, 0x6d
je 0x4e89ee
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.004b1f90
push 0x6f10ac
push 0x2bb84
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.004b1f90
add esp, 0x20
mov eax, 0x15
mov edi, esi
jmp 0x4e8bc1
cmp byte [esi + 0x57], 0
jne 0x4e8bba
mov eax, dword [esi + 0x48]
mov ecx, ebx
mov edi, ebx
and eax, dword [esi + 0x40]
jne 0x4e8bc1
mov edi, 0x6e8758
nop dword [eax]
mov eax, ecx
mov edx, ebx
cmp edi, 0x6e8760
jge 0x4e8a34
mov eax, dword [edi]
push esi
call eax
add esp, 4
add edi, 4
mov ecx, ebx
test eax, eax
je 0x4e8a10
mov edi, ecx
jmp 0x4e8bc1
cmp dword [0x7937bc], 0
mov edi, eax
je 0x4e8b57
xor ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
lea ebp, [ecx + 1]
cmp byte [0x78d01c], 0
jne 0x4e8a5d
xor edi, edi
jmp 0x4e8a7c
push 2
call dword [0x78d060]
mov edi, eax
add esp, 4
test edi, edi
je 0x4e8a78
push edi
call dword [0x78d068]
add esp, 4
mov ecx, dword [esp + 0x14]
cmp ecx, dword [0x7937bc]
jb 0x4e8a90
mov dword [esp + 0x1c], 0
xor ebp, ebp
jmp 0x4e8a9c
mov eax, dword [0x7937c0]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x1c], eax
test edi, edi
je 0x4e8aaa
push edi
call dword [0x78d070]
add esp, 4
mov eax, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x10], edi
test eax, eax
je 0x4e8ae5
push 0x6e9290
lea ecx, [esp + 0x14]
push ecx
push esi
call eax
add esp, 0xc
test eax, eax
je 0x4e8ae1
push dword [esp + 0x10]
push str.automatic_extension_loading_failed:__s
push eax
push esi
call fcn.00505090
add esp, 0x10
xor ebp, ebp
mov edi, dword [esp + 0x10]
test edi, edi
je 0x4e8b3e
cmp dword [0x78d018], 0
je 0x4e8b34
mov eax, dword [0x7935d8]
test eax, eax
je 0x4e8b05
push eax
call dword [0x78d068]
add esp, 4
push edi
call dword [0x78d044]
sub dword [0x793570], eax
dec dword [0x793594]
push edi
call dword [0x78d03c]
mov eax, dword [0x7935d8]
add esp, 8
test eax, eax
je 0x4e8b3e
push eax
call dword [0x78d070]
jmp 0x4e8b3b
push edi
call dword [0x78d03c]
add esp, 4
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
test ebp, ebp
jne 0x4e8a50
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov al, byte [esi + 0x61]
mov ecx, edi
mov edx, ebx
cmp al, 0xba
je 0x4e8b9e
cmp al, 0x76
je 0x4e8b9e
cmp al, 0x6d
je 0x4e8b9e
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.004b1f90
push 0x6f10ac
push 0x2bb84
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.004b1f90
add esp, 0x20
jmp 0x4e87d5
cmp byte [esi + 0x57], 0
mov ebx, edx
mov edi, ecx
jne 0x4e87d5
mov eax, dword [esi + 0x48]
and eax, dword [esi + 0x40]
jne 0x4e87d5
jmp 0x4e8bcb
mov eax, 7
mov edi, ebx
push eax
push esi
call fcn.00504f40
add esp, 8
push dword [0x78d030]
push dword [0x78d02c]
push 0
push esi
call fcn.004f6070
mov eax, dword [esi + 0xc]
add esp, 0x10
test eax, eax
je 0x4e8bf3
push eax
call dword [0x78d068]
add esp, 4
mov eax, dword [esi + 0xc]
mov dword [esi + 0x110], 0x539cb0
mov dword [esi + 0x114], 0x3e8
test eax, eax
je 0x4e87d5
push eax
call dword [0x78d070]
add esp, 4
jmp 0x4e87d5
cmp byte [esi + 0x57], 0
jne 0x4e8c47
mov eax, dword [esi + 0x48]
mov ebx, edi
and eax, dword [esi + 0x40]
mov dword [esp + 0x1c], eax
mov ecx, eax
cmp al, 7
je 0x4e8c4e
mov esi, ecx
test ecx, ecx
je 0x4e8c5f
mov byte [ebx + 0x61], 0xba
jmp 0x4e8c5f
mov ebx, esi
mov esi, 7
jmp 0x4e8c52
mov esi, dword [esp + 0x1c]
push 0
push ebx
call fcn.004fee40
add esp, 8
xor ebx, ebx
mov eax, dword [esp + 0x2c]
mov dword [eax], ebx
test ebp, ebp
je 0x4e8cf6
nop dword [eax]
cmp byte [ebp - 1], 0
lea eax, [ebp - 1]
jne 0x4e8c8e
cmp byte [ebp - 2], 0
jne 0x4e8c8e
cmp byte [ebp - 3], 0
jne 0x4e8c8e
add ebp, 0xfffffffc
cmp byte [ebp], 0
je 0x4e8c92
mov ebp, eax
jmp 0x4e8c70
test ebp, ebp
je 0x4e8cf6
cmp dword [0x78d018], 0
je 0x4e8cec
mov eax, dword [0x7935d8]
test eax, eax
je 0x4e8cb2
push eax
call dword [0x78d068]
add esp, 4
push ebp
call dword [0x78d044]
sub dword [0x793570], eax
dec dword [0x793594]
push ebp
call dword [0x78d03c]
mov eax, dword [0x7935d8]
add esp, 8
test eax, eax
je 0x4e8cf6
push eax
call dword [0x78d070]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x14
ret
push ebp
call dword [0x78d03c]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
add esp, 0x14
ret