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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
push edi
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
mov eax, ecx
mov dword [ebp - 0x14], ecx
push 8
mov dword [ebp - 0xc], eax
mov edi, ecx
mov dword [ebp - 4], ecx
mov eax, ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], ecx
pop ecx
mov dword [ebp - 0x20], edx
mul ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], edi
push edx
push eax
call fcn.00411b5d
mov esi, eax
test esi, esi
js 0x4806a1
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0x38]
cmp ecx, eax
jb 0x480697
cmp ecx, 0xffff
ja 0x480697
movzx eax, cx
xor esi, esi
mov dword [ebp - 0xc], eax
jmp 0x4806a4
mov esi, 0xc0000095
jmp 0x480868
mov eax, dword [ebp - 0xc]
test esi, esi
js 0x480868
movzx eax, ax
add eax, 0x5c
cmp eax, 0x5c
jb 0x4806bb
mov ecx, eax
jmp 0x4806be
or ecx, 0xffffffff
cmp eax, 0x5c
mov dword [ebp + 0x1c], ecx
sbb esi, esi
and esi, 0xc0000095
cmp eax, 0x5c
jb 0x480868
lea eax, [ebp + 0x1c]
push eax
push 8
pop edx
call fcn.00482dfe
mov esi, eax
test esi, esi
js 0x480868
push 4
pop ecx
mov eax, ebx
mul ecx
lea ecx, [ebp - 4]
push edx
push eax
call fcn.00411b5d
mov esi, eax
test esi, esi
js 0x480868
mov eax, ecx
mov ecx, dword [ebp - 4]
push eax
push 8
pop edx
call fcn.00482dfe
mov esi, eax
test esi, esi
js 0x480868
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp + 0x1c]
push eax
call fcn.00411b83
mov esi, eax
test esi, esi
js 0x480868
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 8]
push eax
xor edx, edx
call fcn.00411b83
mov esi, eax
test esi, esi
js 0x480868
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x10]
xor edx, edx
push eax
inc edx
call fcn.00482d22
mov edi, dword [ebp - 0x10]
mov esi, eax
test esi, esi
js 0x480868
mov eax, dword [ebp - 8]
xor ecx, ecx
mov dword [edi], ecx
or edx, 0xffffffff
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x1c]
add eax, edi
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], edx
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], ecx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x30], edx
mov dword [edi + 0x34], edx
mov dword [edi + 0x38], ecx
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x40], ecx
mov dword [edi + 0x44], ecx
mov dword [edi + 0x48], 0x4704bd
mov dword [edi + 0x4c], fcn.00470522
mov dword [edi + 0x50], ecx
mov dword [edi + 0x54], ecx
mov dword [edi + 0x58], 0x470561
mov dword [edi + 0x5c], 0x2d455646
mov dword [edi + 0x60], 0x574f45
push 0x38
pop eax
mov word [edi + 0x64], ax
mov eax, dword [ebp - 0xc]
mov word [edi + 0x66], ax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x68], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x6c], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x74], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x78], eax
mov dword [edi + 0x7c], ebx
mov dword [edi + 0x84], edx
mov dword [edi + 0x88], edx
mov edx, ecx
mov eax, dword [edi + 0x84]
mov dword [edi + 0x8c], eax
mov eax, dword [edi + 0x88]
mov dword [edi + 0x90], eax
test ebx, ebx
je 0x480850
lea ecx, [edi + 0x94]
or dword [ecx], 0xffffffff
lea ecx, [ecx + 8]
or dword [ecx - 4], 0xffffffff
mov eax, dword [edi + 8]
and dword [eax + edx*4], 0
inc edx
cmp edx, ebx
jb 0x480838
xor ecx, ecx
mov eax, dword [edi + 0x40]
test eax, eax
je 0x480861
push ecx
push edi
call eax
mov esi, eax
test esi, esi
js 0x480868
mov eax, dword [ebp + 0x44]
mov dword [eax], edi
xor edi, edi
mov ecx, edi
call fcn.00480460
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x40