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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov eax, edx
mov dword [esp + 0x10], ecx
xor ebx, ebx
mov dword [esp + 0x14], eax
push esi
push edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [eax], ebx
call fcn.004b94a4
test eax, eax
jne 0x4bbcd7
mov esi, dword [ebp + 8]
cmp byte [0x8d8aec], bl
je 0x4bb8a8
test esi, 0x8000
je 0x4bb8ac
mov edi, ebx
jmp 0x4bb8c0
test esi, 0x10000
je 0x4bb8b9
xor edi, edi
inc edi
jmp 0x4bb8c0
movzx edi, byte [0x8d8aed]
test esi, 0x40000
je 0x4bb8d0
and esi, 0xfffdffff
jmp 0x4bb8de
cmp dword [0x8d8bb0], ebx
je 0x4bb8de
or esi, 0x20000
and esi, 0xfff600e7
push ebx
push 0x218
mov dword [esp + 0x1c], esi
mov dword [ebp + 8], esi
call fcn.00450f94
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4bbc7c
test edi, edi
je 0x4bb922
xor ecx, ecx
inc ecx
call fcn.00450585
mov dword [ebx + 0xc], eax
test eax, eax
jne 0x4bb922
push ebx
call fcn.00450ca0
xor ebx, ebx
jmp 0x4bbc7b
push dword [ebx + 0xc]
call fcn.004505e0
and esi, 0x2000000
mov dword [ebx + 0x14], 2
neg esi
mov byte [ebx + 0x61], 0x6d
mov dword [ebx + 0x130], 1
lea edi, [ebx + 0x78]
sbb eax, eax
mov esi, 0x85a3b4
and eax, 0xffffff00
xor edx, edx
add eax, 0xff
mov dword [ebx + 0x48], eax
lea eax, [ebx + 0x1cc]
mov dword [ebx + 0x10], eax
xor eax, eax
mov word [ebx + 0x134], ax
pop ecx
push 0xc
pop ecx
rep movsd dword es:[edi], dword [esi]
push edx
mov dword [ebx + 0xa4], edx
mov edi, fcn.004b9e90
mov byte [ebx + 0x55], 1
mov esi, 0x85a914
mov byte [ebx + 0x5a], 0xff
mov eax, dword [0x8d8b90]
mov ecx, dword [0x8d8b94]
or dword [ebx + 0x20], 0xe00480e0
push edi
push edx
mov dword [ebx + 0x30], eax
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x34], ecx
mov ecx, ebx
mov dword [ebx + 0x64], edx
mov dword [ebx + 0x1b8], edx
mov dword [ebx + 0x1b4], edx
mov dword [ebx + 0x1b0], edx
mov dword [ebx + 0x1bc], edx
mov dword [ebx + 0x18c], edx
mov dword [ebx + 0x188], edx
mov dword [ebx + 0x184], edx
mov dword [ebx + 0x190], edx
mov edx, esi
push 1
mov dword [ebx + 0xb8], 0x8d9a90
mov dword [ebx + 0x24], eax
call fcn.004bb25c
push 0
push edi
push 0
push 3
mov edx, esi
mov ecx, ebx
call fcn.004bb25c
push 0
push edi
push 0
push 2
mov edx, esi
mov ecx, ebx
call fcn.004bb25c
push 0
push 0x4b9f10
push 0
push 1
mov edx, str.NOCASE
mov ecx, ebx
call fcn.004bb25c
add esp, 0x40
mov edx, str.RTRIM
mov ecx, ebx
push 0
push 0x4b9ec0
push 0
push 1
call fcn.004bb25c
add esp, 0x10
cmp byte [ebx + 0x57], 0
jne 0x4bbc73
mov esi, dword [esp + 0x14]
mov ecx, esi
push 7
pop eax
and ecx, eax
mov dword [ebx + 0x3c], esi
xor eax, eax
inc eax
shl eax, cl
test al, 0x46
jne 0x4bba7a
mov ecx, 0x2aeb9
call fcn.004bbf8e
jmp 0x4bba9b
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [ebp + 8]
push ebx
push eax
call fcn.004bb3d5
mov esi, dword [ebp + 8]
add esp, 0x10
mov edi, eax
test edi, edi
je 0x4bbb35
push 7
pop ecx
cmp edi, ecx
jne 0x4bbab3
mov ecx, ebx
call fcn.004512ff
mov esi, dword [esp + 0x10]
xor ecx, ecx
test esi, esi
mov eax, 0x860490
push esi
cmove eax, ecx
push eax
push edi
push ebx
call fcn.00453b1f
add esp, 0x10
test esi, esi
je 0x4bbc73
cmp dword [0x8d8ae8], 0
je 0x4bbb1e
push dword [0x8f4228]
call fcn.004505e0
pop ecx
mov ecx, esi
call fcn.00450c0f
sub dword [0x8f40c8], eax
dec dword [0x8f40ec]
push esi
mov esi, dword [0x8d8b0c]
mov ecx, esi
call dword [0x7f07dc]
call esi
pop ecx
push dword [0x8f4228]
call fcn.00450640
jmp 0x4bbb2f
push esi
mov esi, dword [0x8d8b0c]
mov ecx, esi
call dword [0x7f07dc]
call esi
pop ecx
jmp 0x4bbc73
mov eax, dword [ebx + 0x10]
or esi, 0x100
mov edx, dword [esp + 0xc]
add eax, 4
mov ecx, dword [ebx]
push esi
push 0
push eax
push ebx
call fcn.00461fd4
add esp, 0x10
test eax, eax
je 0x4bbb71
cmp eax, 0xc0a
push 7
pop ecx
cmove eax, ecx
mov ecx, ebx
mov edx, eax
call fcn.00453ac4
jmp 0x4bbc73
mov ecx, dword [ebx + 0x10]
mov ecx, dword [ecx + 4]
call fcn.004606c4
mov edx, dword [ebx + 0x10]
mov ecx, ebx
mov edx, dword [edx + 4]
call fcn.0048cc05
mov ecx, dword [ebx + 0x10]
mov dword [ecx + 0xc], eax
cmp byte [ebx + 0x57], 0
jne 0x4bbba5
mov eax, dword [ebx + 0x10]
mov ecx, ebx
mov eax, dword [eax + 0xc]
mov dl, byte [eax + 0x4d]
call fcn.0048c7b5
mov ecx, dword [ebx + 0x10]
mov ecx, dword [ecx + 4]
call fcn.00460736
xor edx, edx
mov ecx, ebx
call fcn.0048cc05
mov ecx, dword [ebx + 0x10]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebx + 0x10]
mov dword [eax], str.main
mov eax, dword [ebx + 0x10]
mov byte [eax + 8], 3
mov eax, dword [ebx + 0x10]
mov dword [eax + 0x10], str.temp
mov eax, dword [ebx + 0x10]
mov byte [eax + 0x18], 1
cmp byte [ebx + 0x57], 0
mov byte [ebx + 0x61], 0x76
jne 0x4bbc73
xor edx, edx
mov ecx, ebx
call fcn.00453ac4
push 2
push str.MATCH
push ebx
call fcn.004bab60
add esp, 0xc
push 7
pop ecx
cmp eax, ecx
jne 0x4bbc15
mov ecx, ebx
call fcn.004512ff
push ebx
call fcn.004bb1b0
pop ecx
test eax, eax
jne 0x4bbc42
mov edi, 0x859244
cmp edi, str.rank
jge 0x4bbc98
mov esi, dword [edi]
mov ecx, esi
push ebx
call dword [0x7f07dc]
call esi
add edi, 4
pop ecx
test eax, eax
je 0x4bbc25
mov edx, eax
mov ecx, ebx
call fcn.00453ac4
push dword [0x8d8b00]
xor edx, edx
mov ecx, ebx
push dword [0x8d8afc]
call fcn.004b99aa
push 0x3e8
push 0x4badf0
push ebx
call fcn.004bae50
add esp, 0x14
push dword [ebx + 0xc]
call fcn.00450640
pop ecx
push ebx
call fcn.004bb1b0
mov dword [esp + 0x1c], eax
pop ecx
cmp al, 7
jne 0x4bbcac
xor edx, edx
mov ecx, ebx
call fcn.004ba110
xor ebx, ebx
jmp 0x4bbcb4
mov ecx, ebx
call fcn.004954ae
push ebx
call fcn.004bb1b0
pop ecx
test eax, eax
jne 0x4bbc73
jmp 0x4bbc4b
test eax, eax
je 0x4bbcb4
mov byte [ebx + 0x61], 0xba
mov eax, dword [esp + 0x1c]
mov dword [eax], ebx
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4bbcd3
mov ecx, eax
call fcn.004bc644
add eax, 0xfffffffc
push eax
call fcn.00450ca0
pop ecx
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret