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

Disassembly:
push ebp
push ebx
push esi
push edi
add esp, 0xffffff70
mov dword [esp + 4], 0
mov edi, dword [esp + 0xa4]
mov ecx, dword [edi + 4]
mov ebx, dword [ecx + 4]
mov dword [esp], ebx
mov dword [esp + 4], 0
fild qword [esp]
fdiv dword [edi + 0x14]
push ecx
push 0x7fffffff
push 0x80000000
sub esp, 8
fstp qword [esp]
call fcn.00460570
add esp, 0x10
pop ecx
sub ebx, eax
mov dword [esp + 0x18], ebx
mov eax, dword [ecx + 0xc]
dec eax
mov dword [esp + 0x8c], eax
jl 0x42fad6
cmp esp, 0
fld dword [edi + 0x14]
fidivr dword [esp + 0x8c]
fstp dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.00402540
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
mov dword [esp + 4], 0
fild qword [esp]
fsubr dword [esp + 0x30]
fmul dword [0x46c268]
push 0x7fffffff
push 0x80000000
sub esp, 8
fstp qword [esp]
call fcn.00460570
add esp, 0x10
mov dword [esp + 0x64], eax
mov eax, 0x100
sub eax, dword [esp + 0x64]
mov dword [esp + 0x60], eax
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 4]
dec edx
mov dword [esp + 0x5c], edx
cmp edx, dword [esp + 0x18]
jl 0x42fac0
mov ebx, edx
sub ebx, dword [esp + 0x18]
inc ebx
mov eax, dword [ecx]
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x38]
inc edx
mov dword [esp + 0x48], edx
mov ecx, dword [ecx + 8]
mov eax, dword [esp + 0x48]
imul eax, ecx
mov edx, dword [esp + 0x38]
imul edx, ecx
imul ecx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x5c]
lea ebp, [ebp + esi*2]
lea esi, [ebp*2]
mov dword [esp + 0x78], esi
jmp 0x42fa26
mov ebx, ebp
mov ebp, dword [esp + 0x4c]
add ebp, dword [esp + 0x78]
movzx esi, word [eax + ebp]
imul esi, dword [esp + 0x64]
mov dword [esp + 0x44], esi
movzx esi, word [eax + ebp + 2]
imul esi, dword [esp + 0x64]
mov dword [esp + 0x40], esi
movzx esi, word [eax + ebp + 4]
imul esi, dword [esp + 0x64]
mov dword [esp + 0x3c], esi
movzx esi, word [edx + ebp]
imul esi, dword [esp + 0x60]
add esi, dword [esp + 0x44]
mov dword [esp + 0x50], esi
movzx esi, word [edx + ebp + 2]
imul esi, dword [esp + 0x60]
add esi, dword [esp + 0x40]
mov dword [esp + 0x54], esi
movzx esi, word [edx + ebp + 4]
imul esi, dword [esp + 0x60]
add esi, dword [esp + 0x3c]
mov dword [esp + 0x58], esi
mov esi, dword [esp + 0x50]
sar esi, 8
mov word [ecx + ebp], si
mov esi, dword [esp + 0x54]
sar esi, 8
mov word [ecx + ebp + 2], si
mov esi, dword [esp + 0x58]
sar esi, 8
mov word [ecx + ebp + 4], si
sub dword [esp + 0x78], 6
lea ebp, [ebx - 1]
cmp ebx, 1
jne 0x42fa24
dec dword [esp + 0x8c]
mov eax, dword [esp + 0x8c]
test eax, eax
jge 0x42f964
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
dec ecx
mov dword [esp + 0x34], ecx
jl 0x42fc8a
mov dword [esp + 0x88], 0
xor esi, esi
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
dec ecx
sub ecx, dword [esp + 0x88]
mov dword [esp], ecx
fild dword [esp]
fdiv dword [edi + 0x14]
fstp dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.00402540
mov edx, dword [edi + 4]
mov ecx, dword [edx + 4]
dec ecx
sub ecx, eax
mov dword [esp + 0x2c], ecx
mov dword [esp], eax
mov dword [esp + 4], 0
fild qword [esp]
fsubr dword [esp + 0x30]
fmul dword [0x46c268]
push edx
push 0x7fffffff
push 0x80000000
sub esp, 8
fstp qword [esp]
call fcn.00460570
add esp, 0x10
mov dword [esp + 0x2c], eax
pop edx
mov eax, 0x100
sub eax, dword [esp + 0x28]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jle 0x42fb7a
dec ecx
mov dword [esp + 0x84], ecx
jmp 0x42fb85
mov dword [esp + 0x84], 0
mov ecx, dword [edx + 0xc]
dec ecx
mov dword [esp + 0x20], ecx
jl 0x42fc6f
mov ebx, dword [edx]
mov dword [esp + 0x1c], ebx
mov edx, dword [edx + 8]
mov dword [esp + 0x14], edx
mov ebp, dword [esp + 0x84]
mov eax, dword [esp + 0x84]
lea ecx, [ebp + eax*2]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
lea eax, [eax + edx*2]
mov dword [esp + 0x8c], 0
xor edx, edx
test esp, esp
mov ebx, dword [esp + 0x1c]
add ebx, edx
movzx ebp, word [ebx + ecx*2]
imul ebp, dword [esp + 0x28]
mov dword [esp + 0x10], ebp
movzx ebp, word [ebx + ecx*2 + 2]
imul ebp, dword [esp + 0x28]
mov dword [esp + 0xc], ebp
movzx ebp, word [ebx + ecx*2 + 4]
imul ebp, dword [esp + 0x28]
mov dword [esp + 8], ebp
movzx ebp, word [ebx + eax*2]
imul ebp, dword [esp + 0x24]
add ebp, dword [esp + 0x10]
mov dword [esp + 0x6c], ebp
movzx ebp, word [ebx + eax*2 + 2]
imul ebp, dword [esp + 0x24]
add ebp, dword [esp + 0xc]
mov dword [esp + 0x70], ebp
movzx ebp, word [ebx + eax*2 + 4]
imul ebp, dword [esp + 0x24]
add ebp, dword [esp + 8]
mov dword [esp + 0x74], ebp
mov ebp, dword [esp + 0x6c]
sar ebp, 8
mov word [ebx + esi], bp
mov ebp, dword [esp + 0x70]
sar ebp, 8
mov word [ebx + esi + 2], bp
mov ebp, dword [esp + 0x74]
sar ebp, 8
mov word [ebx + esi + 4], bp
inc dword [esp + 0x8c]
add edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x8c]
cmp dword [esp + 0x20], ebx
jae 0x42fbcc
inc dword [esp + 0x88]
add esi, 6
mov eax, dword [esp + 0x88]
cmp dword [esp + 0x34], eax
jae 0x42faf4
sub esp, 0xffffff70
pop edi
pop esi
pop ebx
pop ebp
ret 4