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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x57906c]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
mov dword [esp + 0x18], edx
push edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], ebx
mov dword [edx], ebx
call fcn.004ba080
test eax, eax
jne 0x4bd769
mov edi, dword [ebp + 8]
cmp byte [0x589ff4], bl
jne 0x4bd154
mov dword [esp + 0x20], ebx
jmp 0x4bd17f
test edi, 0x8000
je 0x4bd162
mov dword [esp + 0x20], ebx
jmp 0x4bd17f
test edi, 0x10000
je 0x4bd174
mov dword [esp + 0x20], 1
jmp 0x4bd17f
movzx eax, byte [0x589ff5]
mov dword [esp + 0x20], eax
test edi, 0x40000
je 0x4bd18f
and edi, 0xfffdffff
jmp 0x4bd19d
cmp dword [0x58a0b8], ebx
je 0x4bd19d
or edi, 0x20000
push 0
and edi, 0xfff600e7
push 0x218
mov dword [ebp + 8], edi
call fcn.0042bfc0
mov esi, eax
add esp, 8
test esi, esi
je 0x4bd5f4
push 0x218
push 0
push esi
call fcn.00516f30
add esp, 0xc
test esi, esi
je 0x4bd5f4
cmp dword [esp + 0x20], ebx
je 0x4bd20b
cmp byte [0x589ff4], bl
jne 0x4bd1e9
xor eax, eax
jmp 0x4bd1f4
push 1
call dword [0x58a038]
add esp, 4
mov dword [esi + 0xc], eax
test eax, eax
jne 0x4bd20b
push esi
call fcn.0042c1f0
add esp, 4
xor esi, esi
jmp 0x4bd5f4
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4bd21c
push eax
call dword [0x58a040]
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, 0x56133c
and eax, 0xffffff00
mov ecx, esi
add eax, 0xff
mov dword [esi + 0x48], eax
lea eax, [esi + 0x1c8]
mov dword [esi + 0x10], eax
xor eax, eax
mov word [esi + 0x134], ax
movups xmm0, xmmword [0x560dac]
push fcn.004bad10
push 0
movups xmmword [esi + 0x78], xmm0
push 1
movups xmm0, xmmword [0x560dbc]
movups xmmword [esi + 0x88], xmm0
movups xmm0, xmmword [0x560dcc]
movups xmmword [esi + 0x98], xmm0
mov dword [esi + 0xa4], eax
mov byte [esi + 0x55], 1
mov byte [esi + 0x5a], 0xff
mov eax, dword [0x58a098]
mov dword [esi + 0x30], eax
mov eax, dword [0x58a09c]
or dword [esi + 0x20], 0xe00480e0
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x64], ebx
mov dword [esi + 0xb8], 0x58aee8
mov dword [esi + 0x24], eax
mov dword [esi + 0x1b4], ebx
mov dword [esi + 0x1b0], ebx
mov dword [esi + 0x1ac], ebx
mov dword [esi + 0x1b8], ebx
mov dword [esi + 0x188], ebx
mov dword [esi + 0x184], ebx
mov dword [esi + 0x180], ebx
mov dword [esi + 0x18c], ebx
call fcn.004bc920
push 0
push fcn.004bad10
push 0
push 3
mov edx, 0x56133c
mov ecx, esi
call fcn.004bc920
push 0
push fcn.004bad10
push 0
push 2
mov edx, 0x56133c
mov ecx, esi
call fcn.004bc920
push 0
push 0x4bade0
push 0
push 1
mov edx, str.NOCASE
mov ecx, esi
call fcn.004bc920
add esp, 0x40
mov edx, str.RTRIM
mov ecx, esi
push 0
push 0x4bad90
push 0
push 1
call fcn.004bc920
add esp, 0x10
cmp byte [esi + 0x57], bl
jne 0x4bd5e3
mov dword [esi + 0x3c], edi
mov eax, 1
and edi, 7
mov ecx, edi
shl eax, cl
test al, 0x46
jne 0x4bd3a4
push 0x570134
push 0x2a6b9
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.0042ee60
add esp, 0x14
mov edi, 0x15
jmp 0x4bd3d9
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
mov ecx, dword [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [ebp + 8]
push esi
push eax
call fcn.004bcb10
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4bd3fc
cmp edi, 7
jne 0x4bd3d5
mov ecx, esi
call fcn.0042c9b0
mov ebx, dword [esp + 0xc]
xor ecx, ecx
mov eax, 0x56a978
test ebx, ebx
push ebx
cmove eax, ecx
push eax
push edi
push esi
call fcn.0042f8f0
push ebx
call fcn.0042c1f0
add esp, 0x14
jmp 0x4bd5e3
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x14]
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.00441630
add esp, 0x10
test eax, eax
je 0x4bd43c
cmp eax, 0xc0a
mov ecx, 7
cmove eax, ecx
mov ecx, esi
mov edx, eax
call fcn.0042f890
jmp 0x4bd5e3
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 4]
call fcn.0043f6c0
mov edx, dword [esi + 0x10]
mov ecx, esi
mov edx, dword [edx + 4]
call fcn.0047b220
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0xc], eax
cmp byte [esi + 0x57], bl
jne 0x4bd46f
mov eax, dword [esi + 0x10]
mov ecx, esi
mov eax, dword [eax + 0xc]
mov dl, byte [eax + 0x4d]
call fcn.0047aa80
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 4]
cmp byte [ecx + 9], bl
je 0x4bd485
add dword [ecx + 0xc], 0xffffffff
jne 0x4bd485
call fcn.0043f6a0
xor edx, edx
mov ecx, esi
call fcn.0047b220
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
mov byte [esi + 0x61], 0x76
cmp byte [esi + 0x57], bl
jne 0x4bd5e3
mov dword [esi + 0x40], ebx
cmp dword [esi + 0x124], ebx
je 0x4bd4d8
xor edx, edx
mov ecx, esi
call fcn.0042f820
jmp 0x4bd4df
mov dword [esi + 0x44], 0xffffffff
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4bd4f0
push eax
call dword [0x58a040]
add esp, 4
push 0
push 1
push 2
mov edx, str.MATCH
mov ecx, esi
call fcn.0047ae60
add esp, 0xc
neg eax
sbb edi, edi
mov eax, dword [esi + 0xc]
neg edi
test eax, eax
je 0x4bd51c
push eax
call dword [0x58a048]
add esp, 4
test edi, edi
jne 0x4bd55f
push str.MATCH
call fcn.0042ec80
add esp, 4
test eax, eax
je 0x4bd558
push fcn.0042c1f0
push edi
push edi
push edi
push edi
push 0x4bbcf0
push eax
push 1
push 2
mov edx, str.MATCH
mov ecx, esi
call fcn.004bbaf0
add esp, 0x24
cmp eax, 7
jne 0x4bd55f
mov ecx, esi
call fcn.0042c9b0
push esi
call fcn.004bc7d0
add esp, 4
test eax, eax
jne 0x4bd58c
mov edi, 0x55fc50
cmp edi, str.rank
jge 0x4bd618
mov eax, dword [edi]
push esi
call eax
add esp, 4
add edi, 4
test eax, eax
je 0x4bd571
mov edx, eax
mov ecx, esi
call fcn.0042f890
push dword [0x58a008]
xor edx, edx
mov ecx, esi
push dword [0x58a004]
call fcn.004ba850
mov eax, dword [esi + 0xc]
add esp, 8
test eax, eax
je 0x4bd5c1
push eax
call dword [0x58a040]
mov eax, dword [esi + 0xc]
add esp, 4
mov dword [esi + 0x110], 0x4bc050
mov dword [esi + 0x114], 0x3e8
test eax, eax
je 0x4bd5e3
push eax
call dword [0x58a048]
add esp, 4
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4bd5f4
push eax
call dword [0x58a048]
add esp, 4
push esi
call fcn.004bc7d0
mov ebx, eax
add esp, 4
cmp bl, 7
jne 0x4bd74d
xor edx, edx
mov ecx, esi
call fcn.004baf60
xor esi, esi
jmp 0x4bd755
test eax, eax
jne 0x4bd58c
mov dword [esp + 0xc], 1
cmp dword [0x6320a4], ebx
je 0x4bd737
xor ebx, ebx
mov dword [esp + 0x10], ebx
nop word [eax + eax]
cmp byte [0x589ff4], 0
jne 0x4bd64d
xor edi, edi
jmp 0x4bd668
push 2
call dword [0x58a038]
mov edi, eax
add esp, 4
test edi, edi
je 0x4bd668
push edi
call dword [0x58a040]
add esp, 4
cmp ebx, dword [0x6320a4]
jb 0x4bd678
xor ebx, ebx
mov dword [esp + 0xc], ebx
jmp 0x4bd680
mov eax, dword [0x6320a8]
mov ebx, dword [eax + ebx*4]
test edi, edi
je 0x4bd68e
push edi
call dword [0x58a048]
add esp, 4
xor edi, edi
mov dword [esp + 0x20], edi
test ebx, ebx
je 0x4bd6c7
push 0x5614c8
lea eax, [esp + 0x24]
push eax
push esi
call ebx
add esp, 0xc
test eax, eax
je 0x4bd6c3
push dword [esp + 0x20]
push str.automatic_extension_loading_failed:__s
push eax
push esi
call fcn.0042f8f0
add esp, 0x10
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x20]
test edi, edi
je 0x4bd723
cmp dword [0x589ff0], 0
je 0x4bd719
mov eax, dword [0x632340]
test eax, eax
je 0x4bd6e7
push eax
call dword [0x58a040]
add esp, 4
push edi
call dword [0x58a01c]
sub dword [0x632148], eax
add esp, 4
dec dword [0x63216c]
push edi
call dword [0x58a014]
mov eax, dword [0x632340]
add esp, 4
test eax, eax
je 0x4bd723
push eax
call dword [0x58a048]
jmp 0x4bd720
push edi
call dword [0x58a014]
add esp, 4
mov ebx, dword [esp + 0x10]
inc ebx
cmp dword [esp + 0xc], 0
mov dword [esp + 0x10], ebx
jne 0x4bd640
push esi
call fcn.004bc7d0
add esp, 4
test eax, eax
jne 0x4bd5e3
jmp 0x4bd595
test ebx, ebx
je 0x4bd755
mov byte [esi + 0x61], 0xba
mov eax, dword [esp + 0x1c]
push dword [esp + 0x14]
mov dword [eax], esi
call fcn.004be530
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c61ad
mov esp, ebp
pop ebp
ret