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

Disassembly:
sub esp, 0xe4
push ebx
push ebp
mov ebp, dword [esp + 0xf8]
push edi
mov edi, dword [esp + 0xf4]
mov eax, dword [edi + 0x18]
mov edx, dword [eax + 0x5c]
mov ebx, dword [edx + 0xb4]
mov dword [esp + 0x44], ecx
mov eax, ebp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp]
mov eax, dword [ebp + 4]
inc ecx
cmp ecx, eax
mov dword [esp + 0x70], ebx
jg 0x480849
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
inc edx
cmp edx, eax
jle 0x480857
pop edi
pop ebp
xor al, al
pop ebx
add esp, 0xe4
ret 0xc
push esi
lea esi, [edi + 0x28]
push esi
call fcn.00437c40
add esp, 4
test eax, eax
je 0x480cc2
lea eax, [esp + 0xb8]
push ebx
push eax
call fcn.00437740
lea ecx, [esp + 0x2c]
push ecx
call fcn.00436660
mov eax, dword [edi + 0x18]
add esp, 0xc
test eax, eax
mov ebx, 7
je 0x4808ac
cmp byte [eax + 0x6e], 2
jne 0x4808ac
push 1
lea edx, [esp + 0x28]
push edx
mov ecx, edi
call fcn.0047ff10
jmp 0x4809aa
mov ecx, edi
call fcn.004766e0
test eax, eax
je 0x4808ca
push 1
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.0047ff10
jmp 0x4809aa
mov eax, dword [edi + 0x18]
test eax, eax
je 0x480928
cmp byte [eax + 0x6e], bl
jne 0x4808f5
mov edx, dword [edi + 4]
lea ecx, [esp + 0x24]
push ecx
movzx ecx, word [edx + 0x56]
push ecx
lea edx, [eax + 0x10]
push edx
add eax, 0x34
push eax
call fcn.00447030
add esp, 0x10
jmp 0x480928
test eax, eax
je 0x480928
mov al, byte [eax + 0x6e]
cmp al, 9
je 0x480928
cmp al, 4
je 0x480928
push 0
mov ecx, edi
call fcn.004794f0
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x30], edx
mov edi, dword [edi + 0x10]
test edi, edi
je 0x4809aa
nop
mov eax, dword [edi + 0x18]
test eax, eax
je 0x48098e
cmp byte [eax + 0x6e], bl
jne 0x48095b
mov edx, dword [edi + 4]
lea ecx, [esp + 0x4c]
push ecx
movzx ecx, word [edx + 0x56]
push ecx
lea edx, [eax + 0x10]
push edx
add eax, 0x34
push eax
call fcn.00447030
add esp, 0x10
jmp 0x48098e
test eax, eax
je 0x48098e
mov al, byte [eax + 0x6e]
cmp al, 9
je 0x48098e
cmp al, 4
je 0x48098e
push 0
mov ecx, edi
call fcn.004794f0
mov ecx, dword [eax]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x50], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x58], edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x50]
push ecx
mov edx, eax
push edx
call fcn.00438540
mov edi, dword [edi + 0xc]
add esp, 0xc
test edi, edi
jne 0x480930
cmp dword [esp + 0x24], 0x7ffffff
je 0x480cc2
fld qword [0x53a690]
sub esp, 8
lea eax, [esp + 0x84]
fstp qword [esp]
mov ecx, ebx
lea edi, [esp + 0x84]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00436c30
add esp, 4
fld qword [0x53a690]
lea ecx, [esp + 0x84]
fstp qword [esp]
push ecx
call fcn.00436c60
mov edx, dword [ebp + 4]
mov esi, dword [ebp]
mov ebx, dword [ebp + 8]
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
sub ebx, ebp
mov ebp, dword [esp + 0x3c]
mov edi, ecx
sub edi, edx
mov edx, dword [esp + 0x10c]
sub ebp, dword [edx + 0xc]
sub esi, eax
add esp, 0xc
test esi, esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x78], ebx
mov dword [esp + 0x44], ebp
jle 0x480cc2
test edi, edi
jle 0x480cc2
test ebx, ebx
jle 0x480cc2
test ebp, ebp
jle 0x480cc2
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x14]
mov dword [esp + 0x40], eax
push edx
lea eax, [esp + 0x40]
mov dword [esp + 0x3c], ecx
push eax
lea ecx, [esp + 0x84]
push ecx
call fcn.00436d80
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x90]
push ecx
call fcn.00436d80
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x74], edx
add edx, ebx
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x38]
sub edx, ebp
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x64], eax
add eax, esi
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x68], eax
mov eax, ecx
sub eax, edi
add edx, esi
add esp, 0x18
inc edx
cmp edx, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
jle 0x480b32
lea eax, [edi + esi + 1]
mov edi, dword [esp + 0x14]
push eax
sub ecx, edi
push ecx
call fcn.004cd8a0
add esp, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
imul dword [esp + 0x70]
shrd eax, edx, 0x10
adc eax, 0
mov ecx, dword [esp + 0x14]
add eax, ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
imul dword [esp + 0x6c]
shrd eax, edx, 0x10
adc eax, 0
mov edx, dword [esp + 0x1c]
sub edx, eax
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, eax
sub edx, ebp
lea esi, [ecx + ebx + 1]
cmp esi, edx
jle 0x480b8c
lea edx, [ebx + ebp + 1]
push edx
sub eax, ecx
push eax
call fcn.004cd8a0
add esp, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
imul dword [esp + 0x78]
shrd eax, edx, 0x10
adc eax, 0
mov ecx, dword [esp + 0x18]
add eax, ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x10]
imul dword [esp + 0x44]
shrd eax, edx, 0x10
adc eax, 0
mov edx, dword [esp + 0x20]
sub edx, eax
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x48]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x100]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xb4], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x98], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x30]
mov dword [esp + 0xa4], eax
add edi, 0x10
xor eax, eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
mov dword [esp + 0x10], eax
jmp 0x480c00
mov eax, dword [esp + 0x10]
lea esp, [esp]
mov ecx, dword [esp + eax + 0x5c]
mov edx, dword [esp + eax + 0x60]
mov ebx, dword [esp + eax + 0x98]
mov ebp, dword [esp + eax + 0x9c]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], edx
xor esi, esi
mov eax, dword [esp + esi + 0xa8]
mov ecx, dword [esp + esi + 0xac]
mov edx, dword [esp + esi + 0x4c]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + esi + 0x50]
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x74]
push eax
mov dword [esp + 0xe8], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0xf0], ecx
push edi
lea ecx, [esp + 0xec]
mov dword [esp + 0xf8], edx
push ecx
lea edx, [esp + 0xe0]
push edx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebp
call fcn.00437ac0
add esi, 4
add esp, 0x10
add edi, 0x1c
cmp esi, 0xc
jl 0x480c20
mov eax, dword [esp + 0x10]
add eax, 4
cmp eax, 0xc
mov dword [esp + 0x10], eax
jl 0x480bf5
pop esi
pop edi
pop ebp
mov al, 1
pop ebx
add esp, 0xe4
ret 0xc
pop esi
pop edi
pop ebp
xor al, al
pop ebx
add esp, 0xe4
ret 0xc