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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x4fc040]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, edx
mov dword [esp + 0x14], ecx
xor edx, edx
mov dword [esp + 0x1c], ebx
push esi
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], edx
mov dword [ebx], edx
call fcn.004d5940
test eax, eax
jne 0x4d97de
mov edi, dword [ebp + 8]
cmp byte [0x4fc184], al
jne 0x4d8f14
xor ebx, ebx
jmp 0x4d8f34
test edi, 0x8000
je 0x4d8f20
xor ebx, ebx
jmp 0x4d8f34
mov ebx, 1
test edi, 0x10000
jne 0x4d8f34
movzx ebx, byte [0x4fc185]
test edi, 0x40000
je 0x4d8f44
and edi, 0xfffdffff
jmp 0x4d8f53
cmp dword [0x4fc248], 0
je 0x4d8f53
or edi, 0x20000
push 0
and edi, 0xfff600e7
push 0x218
mov dword [ebp + 8], edi
call fcn.00427700
mov esi, eax
add esp, 8
test esi, esi
je 0x4d972f
push 0x218
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test ebx, ebx
je 0x4d901e
cmp byte [0x4fc184], 0
jne 0x4d8f9f
mov dword [esi + 0xc], 0
jmp 0x4d8fb1
push 1
call dword [0x4fc1c8]
add esp, 4
mov dword [esi + 0xc], eax
test eax, eax
jne 0x4d901e
cmp dword [0x4fc180], 0
je 0x4d900a
mov eax, dword [0x4fed70]
test eax, eax
je 0x4d8fcd
push eax
call dword [0x4fc1d0]
add esp, 4
push esi
call dword [0x4fc1ac]
sub dword [0x4febf8], eax
add esp, 4
dec dword [0x4fec1c]
push esi
call dword [0x4fc1a4]
mov eax, dword [0x4fed70]
add esp, 4
test eax, eax
je 0x4d9014
push eax
call dword [0x4fc1d8]
add esp, 4
xor ebx, ebx
lea edi, [ebx + 7]
jmp 0x4d973c
push esi
call dword [0x4fc1a4]
add esp, 4
xor ebx, ebx
lea edi, [ebx + 7]
jmp 0x4d973c
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4d902f
push eax
call dword [0x4fc1d0]
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 [0x4f15ec]
push fcn.004d6740
push 0
movups xmmword [esi + 0x78], xmm0
push 1
movups xmm0, xmmword [0x4f15fc]
movups xmmword [esi + 0x88], xmm0
movups xmm0, xmmword [0x4f160c]
mov byte [esi + 0x55], 1
mov byte [esi + 0x5a], 0xff
movups xmmword [esi + 0x98], xmm0
mov dword [esi + 0xa4], eax
mov eax, dword [0x4fc228]
mov ecx, dword [0x4fc22c]
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], 0x4fd1e0
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.004d86c0
push 0
push fcn.004d6740
push 0
push 3
mov edx, str.BINARY
mov ecx, esi
call fcn.004d86c0
push 0
push fcn.004d6740
push 0
push 2
mov edx, str.BINARY
mov ecx, esi
call fcn.004d86c0
push 0
push 0x4d6810
push 0
push 1
mov edx, str.NOCASE
mov ecx, esi
call fcn.004d86c0
add esp, 0x40
mov edx, str.RTRIM
mov ecx, esi
push 0
push 0x4d67c0
push 0
push 1
call fcn.004d86c0
add esp, 0x10
mov ebx, esi
cmp byte [esi + 0x57], 0
jne 0x4d9296
mov dword [esi + 0x3c], edi
mov eax, 1
and edi, 7
mov ecx, edi
shl eax, cl
test al, 0x46
jne 0x4d91df
push 0x4f0354
push 0x2c856
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.0042a650
add esp, 0x14
mov edi, 0x15
jmp 0x4d921c
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [ebp + 8]
push esi
push eax
call fcn.004d88e0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4d9304
cmp edi, 7
jne 0x4d9214
mov ecx, esi
call fcn.00428130
mov edx, dword [esp + 0x28]
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x14]
xor ecx, ecx
test ebx, ebx
mov eax, 0x4ea9f0
push ebx
cmove eax, ecx
push eax
push edi
push esi
call fcn.0042b470
add esp, 0x10
test ebx, ebx
je 0x4d9294
cmp dword [0x4fc180], 0
je 0x4d928a
mov eax, dword [0x4fed70]
test eax, eax
je 0x4d9258
push eax
call dword [0x4fc1d0]
add esp, 4
push ebx
call dword [0x4fc1ac]
sub dword [0x4febf8], eax
add esp, 4
dec dword [0x4fec1c]
push ebx
call dword [0x4fc1a4]
mov eax, dword [0x4fed70]
add esp, 4
test eax, eax
je 0x4d9294
push eax
call dword [0x4fc1d8]
jmp 0x4d9291
push ebx
call dword [0x4fc1a4]
add esp, 4
mov ebx, esi
mov edi, esi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4d92a9
push eax
call dword [0x4fc1d8]
add esp, 4
mov al, byte [esi + 0x61]
cmp al, 0xba
je 0x4d970b
cmp al, 0x76
je 0x4d970b
cmp al, 0x6d
je 0x4d970b
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.0042a650
add esp, 0xc
push 0x4f0354
push 0x2c571
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.0042a650
add esp, 0x14
mov byte [ebx + 0x61], 0xba
mov edi, 0x15
jmp 0x4d9747
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.00440900
add esp, 0x10
test eax, eax
je 0x4d934c
cmp eax, 0xc0a
jne 0x4d9339
mov eax, 7
mov ecx, eax
mov edx, eax
mov dword [esi + 0x40], ecx
mov ecx, esi
call fcn.0042b3c0
jmp 0x4d9296
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + 9], 0
je 0x4d9366
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x4d9366
call fcn.0043e740
mov edx, dword [esi + 0x10]
mov ecx, esi
mov edx, dword [edx + 4]
call fcn.00484770
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0xc], eax
cmp byte [esi + 0x57], 0
jne 0x4d938f
mov eax, dword [esi + 0x10]
mov ecx, esi
mov edx, dword [eax + 0xc]
mov dl, byte [edx + 0x4d]
call fcn.00484000
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + 9], 0
je 0x4d93a6
add dword [ecx + 0xc], 0xffffffff
jne 0x4d93a6
call fcn.0043e720
xor edx, edx
mov ecx, esi
call fcn.00484770
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 0x4d9296
cmp dword [esi + 0x124], 0
mov dword [esi + 0x40], 0
je 0x4d93ff
xor edx, edx
mov ecx, esi
call fcn.0042b3c0
jmp 0x4d9406
mov dword [esi + 0x44], 0xffffffff
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4d9417
push eax
call dword [0x4fc1d0]
add esp, 4
push 0
push 1
push 2
mov edx, str.MATCH
mov ecx, esi
call fcn.004843b0
mov ecx, dword [esi + 0xc]
add esp, 0xc
mov edi, eax
test ecx, ecx
je 0x4d943f
push ecx
call dword [0x4fc1d8]
add esp, 4
test edi, edi
jne 0x4d9487
push str.MATCH
push 0x4ea9f0
call fcn.0042a470
add esp, 8
test eax, eax
je 0x4d9480
push fcn.00427910
push edi
push edi
push edi
push edi
push 0x4d78b0
push eax
push 1
push 2
mov edx, str.MATCH
mov ecx, esi
call fcn.004d7660
add esp, 0x24
cmp eax, 7
jne 0x4d9487
mov ecx, esi
call fcn.00428130
mov al, byte [esi + 0x61]
cmp al, 0xba
je 0x4d94d4
cmp al, 0x76
je 0x4d94d4
cmp al, 0x6d
je 0x4d94d4
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.0042a650
add esp, 0xc
push 0x4f0354
push 0x2c571
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.0042a650
add esp, 0x14
mov eax, 0x15
mov edi, esi
jmp 0x4d96a8
cmp byte [esi + 0x57], 0
jne 0x4d96a1
mov eax, dword [esi + 0x48]
mov ecx, ebx
mov edi, ebx
and eax, dword [esi + 0x40]
jne 0x4d96a8
mov edi, 0x4f0460
mov eax, ecx
mov edx, ebx
cmp edi, str.rank
jge 0x4d9517
mov eax, dword [edi]
push esi
call eax
add esp, 4
add edi, 4
mov ecx, ebx
test eax, eax
je 0x4d94f3
mov edi, ecx
jmp 0x4d96a8
cmp dword [0x4feb54], 0
mov edi, eax
je 0x4d963b
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
lea ebx, [ecx + 1]
cmp byte [0x4fc184], 0
jne 0x4d9540
xor edi, edi
jmp 0x4d955f
push 2
call dword [0x4fc1c8]
mov edi, eax
add esp, 4
test edi, edi
je 0x4d955b
push edi
call dword [0x4fc1d0]
add esp, 4
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [0x4feb54]
jb 0x4d9573
mov dword [esp + 0x18], 0
xor ebx, ebx
jmp 0x4d957f
mov eax, dword [0x4feb58]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x18], eax
test edi, edi
je 0x4d958d
push edi
call dword [0x4fc1d8]
add esp, 4
mov eax, dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0x28], edi
test eax, eax
je 0x4d95c8
push 0x4f1cf0
lea ecx, [esp + 0x2c]
push ecx
push esi
call eax
add esp, 0xc
test eax, eax
je 0x4d95c4
push dword [esp + 0x28]
push str.automatic_extension_loading_failed:__s
push eax
push esi
call fcn.0042b470
add esp, 0x10
xor ebx, ebx
mov edi, dword [esp + 0x28]
test edi, edi
je 0x4d9624
cmp dword [0x4fc180], 0
je 0x4d961a
mov eax, dword [0x4fed70]
test eax, eax
je 0x4d95e8
push eax
call dword [0x4fc1d0]
add esp, 4
push edi
call dword [0x4fc1ac]
sub dword [0x4febf8], eax
add esp, 4
dec dword [0x4fec1c]
push edi
call dword [0x4fc1a4]
mov eax, dword [0x4fed70]
add esp, 4
test eax, eax
je 0x4d9624
push eax
call dword [0x4fc1d8]
jmp 0x4d9621
push edi
call dword [0x4fc1a4]
add esp, 4
mov ecx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x1c], ecx
test ebx, ebx
jne 0x4d9533
mov edi, dword [esp + 0x14]
mov ebx, esi
mov al, byte [esi + 0x61]
mov ecx, edi
mov edx, ebx
cmp al, 0xba
je 0x4d9685
cmp al, 0x76
je 0x4d9685
cmp al, 0x6d
je 0x4d9685
push str.invalid
push str.API_call_with__s_database_connection_pointer
push 0x15
call fcn.0042a650
add esp, 0xc
push 0x4f0354
push 0x2c571
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.0042a650
add esp, 0x14
jmp 0x4d9298
cmp byte [esi + 0x57], 0
mov ebx, edx
mov edi, ecx
jne 0x4d9298
mov eax, dword [esi + 0x48]
and eax, dword [esi + 0x40]
jne 0x4d9298
jmp 0x4d96b4
mov eax, 7
mov edi, ebx
mov edx, eax
mov dword [esi + 0x40], eax
mov ecx, esi
call fcn.0042b3c0
push dword [0x4fc198]
xor edx, edx
mov ecx, esi
push dword [0x4fc194]
call fcn.004d61a0
mov eax, dword [esi + 0xc]
add esp, 8
test eax, eax
je 0x4d96dd
push eax
call dword [0x4fc1d0]
add esp, 4
mov eax, dword [esi + 0xc]
mov dword [esi + 0x110], 0x4d7c70
mov dword [esi + 0x114], 0x3e8
test eax, eax
je 0x4d9298
push eax
call dword [0x4fc1d8]
add esp, 4
jmp 0x4d9298
cmp byte [esi + 0x57], 0
jne 0x4d9731
mov eax, dword [esi + 0x48]
mov ebx, edi
and eax, dword [esi + 0x40]
mov dword [esp + 0x18], eax
mov ecx, eax
cmp al, 7
je 0x4d9738
mov edi, ecx
test ecx, ecx
je 0x4d9747
mov byte [ebx + 0x61], 0xba
jmp 0x4d9747
mov ebx, esi
mov edi, 7
jmp 0x4d973c
mov edi, dword [esp + 0x18]
xor edx, edx
mov ecx, ebx
call fcn.004d69a0
xor ebx, ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [eax], ebx
test ecx, ecx
je 0x4d97dc
nop dword [eax]
lea eax, [ecx]
cmp byte [eax - 1], 0
lea ecx, [eax - 1]
jne 0x4d9760
cmp byte [eax - 2], 0
jne 0x4d9760
cmp byte [eax - 3], 0
jne 0x4d9760
cmp byte [eax - 4], 0
lea esi, [eax - 4]
jne 0x4d9760
test esi, esi
je 0x4d97dc
cmp dword [0x4fc180], 0
je 0x4d97d2
mov eax, dword [0x4fed70]
test eax, eax
je 0x4d97a0
push eax
call dword [0x4fc1d0]
add esp, 4
push esi
call dword [0x4fc1ac]
sub dword [0x4febf8], eax
add esp, 4
dec dword [0x4fec1c]
push esi
call dword [0x4fc1a4]
mov eax, dword [0x4fed70]
add esp, 4
test eax, eax
je 0x4d97dc
push eax
call dword [0x4fc1d8]
jmp 0x4d97d9
push esi
call dword [0x4fc1a4]
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e3214
mov esp, ebp
pop ebp
ret