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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, edx
mov dword [esp + 0x10], ecx
push ebx
push esi
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [eax], 0
call fcn.004b5db0
test eax, eax
jne 0x4b9888
mov edi, dword [ebp + 8]
cmp byte [0x513104], al
jne 0x4b9218
xor ebx, ebx
jmp 0x4b9238
test edi, 0x8000
je 0x4b9224
xor ebx, ebx
jmp 0x4b9238
mov ebx, 1
test edi, 0x10000
jne 0x4b9238
movzx ebx, byte [0x513105]
test edi, 0x40000
je 0x4b9248
and edi, 0xfffdffff
jmp 0x4b9257
cmp dword [0x5131c8], 0
je 0x4b9257
or edi, 0x20000
push 0
and edi, 0xfff600e7
push 0x218
mov dword [ebp + 8], edi
call fcn.00413230
mov esi, eax
add esp, 8
test esi, esi
je 0x4b984a
push 0x218
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test ebx, ebx
je 0x4b92cf
cmp byte [0x513104], 0
jne 0x4b92ad
push esi
mov dword [esi + 0xc], 0
call fcn.00413450
add esp, 4
xor ebx, ebx
jmp 0x4b984c
push 1
call dword [0x513148]
add esp, 4
mov dword [esi + 0xc], eax
test eax, eax
jne 0x4b92cf
push esi
call fcn.00413450
add esp, 4
xor ebx, ebx
jmp 0x4b984c
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4b92e0
push eax
call dword [0x513150]
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, 0x4f9ed8
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 [0x4f9978]
push fcn.004b6ab0
push 0
movups xmmword [esi + 0x78], xmm0
push 1
movups xmm0, xmmword [0x4f9988]
movups xmmword [esi + 0x88], xmm0
movups xmm0, xmmword [0x4f9998]
mov byte [esi + 0x55], 1
mov byte [esi + 0x5a], 0xff
movups xmmword [esi + 0x98], xmm0
mov dword [esi + 0xa4], eax
mov eax, dword [0x5131a8]
mov ecx, dword [0x5131ac]
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], 0x514178
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.004b89d0
push 0
push fcn.004b6ab0
push 0
push 3
mov edx, 0x4f9ed8
mov ecx, esi
call fcn.004b89d0
push 0
push fcn.004b6ab0
push 0
push 2
mov edx, 0x4f9ed8
mov ecx, esi
call fcn.004b89d0
push 0
push 0x4b6b80
push 0
push 1
mov edx, str.NOCASE
mov ecx, esi
call fcn.004b89d0
add esp, 0x40
mov edx, str.RTRIM
mov ecx, esi
push 0
push 0x4b6b30
push 0
push 1
call fcn.004b89d0
add esp, 0x10
mov ebx, esi
cmp byte [esi + 0x57], 0
jne 0x4b96f9
mov dword [esi + 0x3c], edi
mov eax, 1
and edi, 7
mov ecx, edi
shl eax, cl
test al, 0x46
jne 0x4b9490
push 0x506874
push 0x2b88c
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.00416bb0
add esp, 0x14
mov ebx, 0x15
jmp 0x4b94c0
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
mov ecx, dword [ebp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [ebp + 8]
push esi
push eax
call fcn.004b8bf0
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x4b94e9
cmp ebx, 7
jne 0x4b94c0
mov ecx, esi
call fcn.00413c70
mov edi, dword [esp + 0x14]
xor ecx, ecx
test edi, edi
mov eax, 0x500ef4
push edi
cmove eax, ecx
push eax
push ebx
push esi
call fcn.00417770
push edi
call fcn.00413450
add esp, 0x14
mov ebx, esi
jmp 0x4b96f9
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x18]
or eax, 0x100
mov ecx, dword [esi]
push eax
mov eax, dword [esi + 0x10]
push 0
add eax, 4
push eax
push esi
call fcn.00429680
add esp, 0x10
test eax, eax
je 0x4b952f
cmp eax, 0xc0a
jne 0x4b951a
mov eax, 7
mov ecx, eax
mov edx, eax
mov dword [esi + 0x40], ecx
mov ecx, esi
call fcn.004176c0
mov ebx, esi
jmp 0x4b96f9
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + 9], 0
je 0x4b9549
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x4b9549
call fcn.004277e0
mov edx, dword [esi + 0x10]
mov ecx, esi
mov edx, dword [edx + 4]
call fcn.00469b50
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0xc], eax
cmp byte [esi + 0x57], 0
jne 0x4b9572
mov eax, dword [esi + 0x10]
mov ecx, esi
mov eax, dword [eax + 0xc]
mov dl, byte [eax + 0x4d]
call fcn.004693c0
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + 9], 0
je 0x4b9589
add dword [ecx + 0xc], 0xffffffff
jne 0x4b9589
call fcn.004277c0
xor edx, edx
mov ecx, esi
call fcn.00469b50
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 + 0x57], 0
mov byte [esi + 0x61], 0x76
jne 0x4b96f9
cmp dword [esi + 0x124], 0
mov dword [esi + 0x40], 0
je 0x4b95e4
xor edx, edx
mov ecx, esi
call fcn.004176c0
jmp 0x4b95eb
mov dword [esi + 0x44], 0xffffffff
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4b95fc
push eax
call dword [0x513150]
add esp, 4
push 0
push 1
push 2
mov edx, str.MATCH
mov ecx, esi
call fcn.00469740
add esp, 0xc
neg eax
sbb edi, edi
mov eax, dword [esi + 0xc]
neg edi
test eax, eax
je 0x4b9628
push eax
call dword [0x513158]
add esp, 4
test edi, edi
jne 0x4b9670
push str.MATCH
push 0x500ef4
call fcn.00416930
add esp, 8
test eax, eax
je 0x4b9669
push fcn.00413450
push edi
push edi
push edi
push edi
push 0x4b7cf0
push eax
push 1
push 2
mov edx, str.MATCH
mov ecx, esi
call fcn.004b7af0
add esp, 0x24
cmp eax, 7
jne 0x4b9670
mov ecx, esi
call fcn.00413c70
push esi
call fcn.004b8880
add esp, 4
test eax, eax
jne 0x4b969f
mov edi, 0x4f8818
mov eax, ebx
cmp edi, str.rank
jge 0x4b9713
mov eax, dword [edi]
push esi
call eax
add esp, 4
add edi, 4
test eax, eax
je 0x4b9682
mov edx, eax
mov dword [esi + 0x40], eax
mov ecx, esi
call fcn.004176c0
push dword [0x513118]
xor edx, edx
mov ecx, esi
push dword [0x513114]
call fcn.004b65b0
mov eax, dword [esi + 0xc]
add esp, 8
test eax, eax
je 0x4b96d7
push eax
call dword [0x513150]
mov eax, dword [esi + 0xc]
add esp, 4
mov dword [esi + 0x110], 0x4b8050
mov dword [esi + 0x114], 0x3e8
test eax, eax
je 0x4b96f9
push eax
call dword [0x513158]
add esp, 4
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4b984c
push eax
call dword [0x513158]
add esp, 4
jmp 0x4b984c
cmp dword [0x515fe4], 0
je 0x4b9834
xor ecx, ecx
mov dword [esp + 0x14], ecx
lea ebx, [ecx + 1]
nop dword [eax]
cmp byte [0x513104], 0
jne 0x4b973d
xor edi, edi
jmp 0x4b975c
push 2
call dword [0x513148]
mov edi, eax
add esp, 4
test edi, edi
je 0x4b9758
push edi
call dword [0x513150]
add esp, 4
mov ecx, dword [esp + 0x14]
cmp ecx, dword [0x515fe4]
jb 0x4b9770
mov dword [esp + 0x1c], 0
xor ebx, ebx
jmp 0x4b977c
mov eax, dword [0x515fe8]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x1c], eax
test edi, edi
je 0x4b978a
push edi
call dword [0x513158]
add esp, 4
mov eax, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x10], edi
test eax, eax
je 0x4b97c5
push 0x4fa098
lea ecx, [esp + 0x14]
push ecx
push esi
call eax
add esp, 0xc
test eax, eax
je 0x4b97c1
push dword [esp + 0x10]
push str.automatic_extension_loading_failed:__s
push eax
push esi
call fcn.00417770
add esp, 0x10
xor ebx, ebx
mov edi, dword [esp + 0x10]
test edi, edi
je 0x4b9821
cmp dword [0x513100], 0
je 0x4b9817
mov eax, dword [0x516200]
test eax, eax
je 0x4b97e5
push eax
call dword [0x513150]
add esp, 4
push edi
call dword [0x51312c]
sub dword [0x516088], eax
add esp, 4
dec dword [0x5160ac]
push edi
call dword [0x513124]
mov eax, dword [0x516200]
add esp, 4
test eax, eax
je 0x4b9821
push eax
call dword [0x513158]
jmp 0x4b981e
push edi
call dword [0x513124]
add esp, 4
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
test ebx, ebx
jne 0x4b9730
mov ebx, esi
push esi
call fcn.004b8880
add esp, 4
test eax, eax
jne 0x4b96f9
jmp 0x4b96ab
mov ebx, esi
push ebx
call fcn.004b8880
add esp, 4
mov dword [esp + 0x20], eax
cmp al, 7
jne 0x4b986a
xor edx, edx
mov ecx, ebx
call fcn.004b6ce0
xor ebx, ebx
jmp 0x4b9872
test eax, eax
je 0x4b9872
mov byte [ebx + 0x61], 0xba
mov eax, dword [esp + 0x24]
push dword [esp + 0x18]
mov dword [eax], ebx
call fcn.004ba820
mov eax, dword [esp + 0x24]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret