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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b2fc5
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 0x481ba2
lea esi, [ebx + 0x128]
mov eax, esi
call fcn.00482adb
lea ecx, [esp + 0xf4]
push ecx
mov edi, eax
call fcn.0046e686
xor edi, edi
mov dword [esp + 0x170], edi
cmp dword [esi + 0x1c], edi
je 0x4818a5
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x10]
push dword [ecx + eax*4]
call fcn.00405d6a
inc dword [esi + 0x18]
mov eax, dword [esi + 0x18]
cmp dword [esi + 0x14], eax
ja 0x48189d
mov dword [esi + 0x18], edi
dec dword [esi + 0x1c]
jne 0x4818a5
mov dword [esi + 0x18], edi
mov eax, dword [esp + 0x134]
mov byte [esp + 0x13], 1
cmp eax, 0x7d8
jne 0x4818ea
lea eax, [esp + 0xf8]
mov ecx, ebx
call fcn.004816c5
test al, al
jne 0x481b3c
or dword [esp + 0x170], 0xffffffff
lea eax, [esp + 0xf4]
push eax
call fcn.00405d6a
xor al, al
jmp 0x481ba4
cmp eax, 0x1398
jne 0x481910
push dword [esp + 0x13c]
mov ecx, dword [ebx + 0xc4]
mov eax, dword [ecx]
lea edx, [esp + 0xfc]
push edx
call dword [eax + 0x1c]
jmp 0x481b3c
cmp eax, 0x7da
jne 0x48192e
mov ecx, dword [ebx + 0xc4]
push dword [esp + 0x13c]
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x481b3c
cmp eax, 0x13a0
jne 0x48196a
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.0044e4f3
add esp, 0x2c
xor edi, edi
jmp 0x481b3c
cmp eax, 0x7d9
jne 0x481b3c
push 7
pop esi
push edi
lea ecx, [esp + 0x148]
mov dword [esp + 0x160], esi
call fcn.00404f42
mov byte [esp + 0x170], 1
push edi
lea ecx, [esp + 0xdc]
mov dword [esp + 0xf4], esi
call fcn.00404f42
mov byte [esp + 0x170], 2
cmp dword [esp + 0x10c], edi
je 0x481a95
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xfc]
call fcn.00433433
mov ecx, eax
call fcn.00404531
cmp word [eax], 0x5b
jne 0x481a95
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.00404a7c
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.00404c2b
mov byte [esp + 0x170], 3
push edi
push esi
lea ecx, [esp + 0x24]
call fcn.00404f60
mov byte [esp + 0x170], 2
push edi
push esi
lea ecx, [esp + 0x5c]
call fcn.00404f60
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.00404c2b
mov byte [esp + 0x170], 2
push edi
push esi
lea ecx, [esp + 0x40]
jmp 0x481aea
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x100]
push eax
lea ecx, [esp + 0xe4]
call fcn.00404c2b
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.00404c2b
mov byte [esp + 0x170], 2
push edi
push 1
lea ecx, [esp + 0x78]
call fcn.00404f60
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.00404f60
mov byte [esp + 0x170], 0
push edi
push 1
lea ecx, [esp + 0x14c]
call fcn.00404f60
xor eax, eax
cmp byte [esp + 0x13], al
setne al
push eax
push 0x13ad
lea eax, [esp + 0x94]
push eax
call fcn.0046b671
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.00405d6a
or dword [esp + 0x170], 0xffffffff
lea eax, [esp + 0xf4]
push eax
call fcn.00405d6a
cmp dword [ebx + 0x144], edi
jne 0x481857
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.0048a70b
mov esp, ebp
pop ebp
ret