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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b2ff5
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x4e52f4]
xor eax, esp
mov dword [esp + 0x154], eax
push esi
push edi
mov eax, dword [0x4e52f4]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
cmp dword [ebx + 0x144], 0
je 0x480ef9
lea esi, [ebx + 0x128]
mov eax, esi
call fcn.00481e32
lea ecx, [esp + 0xf4]
push ecx
mov edi, eax
call fcn.0046dca1
xor edi, edi
mov dword [esp + 0x170], edi
cmp dword [esi + 0x1c], edi
je 0x480bfc
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x10]
push dword [ecx + eax*4]
call fcn.00405102
inc dword [esi + 0x18]
mov eax, dword [esi + 0x18]
cmp dword [esi + 0x14], eax
ja 0x480bf4
mov dword [esi + 0x18], edi
dec dword [esi + 0x1c]
jne 0x480bfc
mov dword [esi + 0x18], edi
mov eax, dword [esp + 0x134]
mov byte [esp + 0x13], 1
cmp eax, 0x7d8
jne 0x480c41
lea eax, [esp + 0xf8]
mov ecx, ebx
call fcn.00480a1c
test al, al
jne 0x480e93
or dword [esp + 0x170], 0xffffffff
lea eax, [esp + 0xf4]
push eax
call fcn.00405102
xor al, al
jmp 0x480efb
cmp eax, 0x1398
jne 0x480c67
push dword [esp + 0x13c]
mov ecx, dword [ebx + 0xc4]
mov eax, dword [ecx]
lea edx, [esp + 0xfc]
push edx
call dword [eax + 0x1c]
jmp 0x480e93
cmp eax, 0x7da
jne 0x480c85
mov ecx, dword [ebx + 0xc4]
push dword [esp + 0x13c]
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x480e93
cmp eax, 0x13a0
jne 0x480cc1
push edi
sub esp, 0x1c
push 7
pop ecx
mov edi, esp
push dword [esp + 0x158]
lea esi, [esp + 0x11c]
push dword [esp + 0x160]
rep movsd dword es:[edi], dword [esi]
push dword [ebx + 0xb4]
call fcn.0044dcb3
add esp, 0x2c
xor edi, edi
jmp 0x480e93
cmp eax, 0x7d9
jne 0x480e93
push 7
pop esi
push edi
lea ecx, [esp + 0x148]
mov dword [esp + 0x160], esi
call fcn.00404389
mov byte [esp + 0x170], 1
push edi
lea ecx, [esp + 0xdc]
mov dword [esp + 0xf4], esi
call fcn.00404389
mov byte [esp + 0x170], 2
cmp dword [esp + 0x10c], edi
je 0x480dec
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xfc]
call fcn.00432b52
mov ecx, eax
call fcn.004039f2
cmp word [eax], 0x5b
jne 0x480dec
mov eax, dword [esp + 0x10c]
add eax, 0xfffffffe
push eax
xor esi, esi
inc esi
push esi
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x104]
push eax
call fcn.00403ec3
mov byte [esp + 0x170], 3
mov ecx, dword [ebx + 0xc4]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x20]
push eax
call dword [edx]
mov byte [esp + 0x170], 4
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0xe4]
call fcn.00404072
mov byte [esp + 0x170], 3
push edi
push esi
lea ecx, [esp + 0x24]
call fcn.004043a7
mov byte [esp + 0x170], 2
push edi
push esi
lea ecx, [esp + 0x5c]
call fcn.004043a7
mov ecx, dword [ebx + 0xc4]
mov eax, dword [ecx]
lea edx, [esp + 0xd8]
push edx
lea edx, [esp + 0x3c]
push edx
call dword [eax]
mov byte [esp + 0x170], 5
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x150]
call fcn.00404072
mov byte [esp + 0x170], 2
push edi
push esi
lea ecx, [esp + 0x40]
jmp 0x480e41
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x100]
push eax
lea ecx, [esp + 0xe4]
call fcn.00404072
mov ecx, dword [ebx + 0xc4]
mov eax, dword [ecx]
lea edx, [esp + 0xf8]
push edx
lea edx, [esp + 0x74]
push edx
call dword [eax]
mov byte [esp + 0x170], 6
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x150]
call fcn.00404072
mov byte [esp + 0x170], 2
push edi
push 1
lea ecx, [esp + 0x78]
call fcn.004043a7
mov ecx, dword [ebx + 0xc4]
mov eax, dword [ecx]
lea edx, [esp + 0x144]
push edx
lea edx, [esp + 0xdc]
push edx
call dword [eax + 0x20]
mov byte [esp + 0x13], al
mov byte [esp + 0x170], 1
push edi
push 1
lea ecx, [esp + 0xe0]
call fcn.004043a7
mov byte [esp + 0x170], 0
push edi
push 1
lea ecx, [esp + 0x14c]
call fcn.004043a7
xor eax, eax
cmp byte [esp + 0x13], al
setne al
push eax
push 0x13ad
lea eax, [esp + 0x94]
push eax
call fcn.0046abaf
mov byte [esp + 0x170], 7
mov ecx, dword [ebx + 0xc8]
mov edx, dword [ecx]
push eax
call dword [edx + 8]
mov byte [esp + 0x170], 0
lea eax, [esp + 0x8c]
push eax
call fcn.00405102
or dword [esp + 0x170], 0xffffffff
lea eax, [esp + 0xf4]
push eax
call fcn.00405102
cmp dword [ebx + 0x144], edi
jne 0x480bae
mov al, 1
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.00489b1b
mov esp, ebp
pop ebp
ret