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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [0x4859a8]
push esi
fld qword [0x485998]
fadd qword [0x485990]
fimul dword [0x47e2f4]
lea ecx, [eax + 1]
push edi
mov dword [esp + 8], ecx
mov edi, 1
cmp eax, edi
mov dword [esp + 0x30], 0
fild dword [esp + 8]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
fmul qword [0x47e2e0]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
faddp st(1)
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
fadd qword [0x485998]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
fstp qword [esp + 8]
fld qword [0x485988]
fadd qword [0x485980]
fstp qword [esp + 0x10]
jne 0x42c314
fld qword [0x47e2e0]
fchs
fstp qword [esp + 0x50]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
lea edx, [esp + 0x60]
push edx
push eax
push ecx
push 0xbff921fb
lea edx, [esp + 0x40]
push 0x54442d18
push edx
call fcn.00454100
lea eax, [esp + 0x78]
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.00447680
mov edx, dword [0x47e2e8]
mov eax, dword [0x47e2ec]
mov dword [esp + 0x80], edx
mov ecx, edx
mov dword [esp + 0x84], eax
mov edx, eax
mov dword [esp + 0x68], ecx
mov eax, ecx
mov dword [esp + 0x6c], edx
mov ecx, edx
mov dword [esp + 0x50], eax
lea edx, [esp + 0x80]
lea eax, [esp + 0x50]
push edx
push eax
mov dword [esp + 0x5c], ecx
call fcn.00447680
mov eax, dword [0x47e2f0]
add esp, 0x28
mov esi, edi
cmp eax, edi
mov dword [esp + 8], esi
jle 0x42c3dd
fild dword [esp + 8]
cmp dword [0x4859ac], edi
fmul qword [esp + 0x10]
fadd qword [0x47e2e8]
fst qword [esp + 0x60]
fst qword [esp + 0x48]
fstp qword [esp + 0x30]
jne 0x42c3cf
lea ecx, [esp + 0x60]
lea edx, [esp + 0x48]
push ecx
push edx
call fcn.00447680
add esp, 8
mov eax, dword [0x47e2f0]
inc esi
cmp esi, eax
mov dword [esp + 8], esi
jl 0x42c39b
fild dword [esp + 8]
lea eax, [esp + 0x60]
lea ecx, [esp + 0x30]
push eax
push ecx
fmul qword [esp + 0x18]
fadd qword [0x47e2e8]
fadd qword [0x485988]
fst qword [esp + 0x68]
fst qword [esp + 0x50]
fstp qword [esp + 0x38]
call fcn.00447680
mov eax, dword [0x4859a8]
add esp, 8
cmp eax, edi
jne 0x42c4bb
mov eax, dword [0x47e2f8]
mov esi, edi
cmp eax, edi
jle 0x42c479
mov edx, dword [0x47e2f0]
mov ecx, dword [0x4859ac]
add edx, esi
cmp ecx, edi
mov dword [esp + 8], edx
fild dword [esp + 8]
fmul qword [esp + 0x10]
fadd qword [0x47e2e8]
fadd qword [0x485988]
fst qword [esp + 0x60]
fst qword [esp + 0x48]
fstp qword [esp + 0x30]
jne 0x42c474
lea eax, [esp + 0x60]
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.00447680
mov eax, dword [0x47e2f8]
add esp, 8
inc esi
cmp esi, eax
jl 0x42c427
mov edx, dword [0x47e2f0]
lea ecx, [esp + 0x30]
add eax, edx
mov dword [esp + 8], eax
lea eax, [esp + 0x60]
fild dword [esp + 8]
push eax
push ecx
fmul qword [esp + 0x18]
fld qword [0x485988]
fadd st(0), st(0)
faddp st(1)
fadd qword [0x47e2e8]
fst qword [esp + 0x68]
fst qword [esp + 0x50]
fstp qword [esp + 0x38]
call fcn.00447680
add esp, 8
mov eax, dword [0x4859a8]
mov dword [esp + 0x40], 0
cmp eax, edi
mov dword [esp + 0x44], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
jne 0x42c533
mov eax, dword [0x47e2f0]
mov ecx, dword [0x47e2f8]
add ecx, eax
lea edx, [esp + 0x48]
mov dword [esp + 8], ecx
push edx
fild dword [esp + 0xc]
sub esp, 8
lea edx, [esp + 0x3c]
fmul qword [esp + 0x1c]
fld qword [0x485988]
fadd st(0), st(0)
faddp st(1)
fadd qword [0x47e2e8]
fstp qword [esp]
push 0
push 0
push edx
jmp 0x42c55d
fild dword [0x47e2f0]
lea eax, [esp + 0x48]
lea ecx, [esp + 0x30]
push eax
fmul qword [esp + 0x14]
sub esp, 8
fadd qword [0x47e2e8]
fadd qword [0x485988]
fstp qword [esp]
push 0
push 0
push ecx
call fcn.00454100
add esp, 0x18
lea edx, [esp + 0x48]
lea eax, [esp + 0x30]
push edx
push eax
call fcn.00447680
fld qword [0x47e2e0]
lea ecx, [esp + 0x50]
lea edx, [esp + 0x38]
fchs
fst qword [esp + 0x58]
fstp qword [esp + 0x40]
push ecx
push edx
call fcn.00447680
mov eax, dword [0x4859a8]
add esp, 0x10
cmp eax, edi
jne 0x42c5c5
fld qword [0x47e2e0]
fmul qword [0x472488]
lea eax, [esp + 0x48]
lea ecx, [esp + 0x30]
push eax
push ecx
fst qword [esp + 0x58]
fstp qword [esp + 0x40]
call fcn.00447680
add esp, 8
mov eax, dword [0x47e2f4]
mov esi, edi
cmp eax, edi
jl 0x42c61b
fld qword [0x485998]
fadd st(0), st(0)
fadd qword [0x485990]
fsubr qword [esp + 0x38]
fstp qword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x54], eax
mov eax, dword [0x4859b0]
cmp eax, edi
mov dword [esp + 0x50], edx
jne 0x42c611
lea ecx, [esp + 0x48]
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.00447680
add esp, 8
mov eax, dword [0x47e2f4]
inc esi
cmp esi, eax
jle 0x42c5d0
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x50], eax
mov edx, eax
mov dword [esp + 0x54], ecx
mov eax, ecx
mov dword [esp + 0x38], edx
lea ecx, [esp + 0x48]
lea edx, [esp + 0x30]
push ecx
push edx
mov dword [esp + 0x44], eax
call fcn.00447680
mov eax, dword [0x4859a8]
add esp, 8
cmp eax, edi
jne 0x42c72e
fld qword [0x485988]
fadd qword [0x485980]
fimul dword [0x47e2f0]
push 0x3ff00000
push 0
push 2
push edi
push 0x47d734
push 0
push 0
push 0x40080000
lea eax, [esp + 0x50]
push 0
push eax
fadd qword [0x485988]
fmul qword [0x472060]
fadd qword [0x47e2e8]
fstp qword [esp + 0x58]
fld qword [0x47e2e0]
fmul qword [0x472398]
fstp qword [esp + 0x60]
call fcn.00401019
fld qword [0x485988]
fadd qword [0x485980]
fimul dword [0x47e2f0]
push 0x3ff00000
push 0
push 2
push edi
push 0x47d730
push 0
push 0
push 0x40080000
lea ecx, [esp + 0x78]
push 0
push ecx
fadd qword [0x485988]
fmul qword [0x4723a8]
fadd qword [0x47e2e8]
fstp qword [esp + 0x80]
fld qword [0x47e2e0]
fmul qword [0x472398]
fstp qword [esp + 0x88]
call fcn.00401019
mov eax, dword [0x4859a8]
add esp, 0x50
cmp eax, edi
jne 0x42c72e
fld qword [0x47e2e0]
fmul qword [0x472478]
jmp 0x42c73a
fld qword [0x47e2e0]
fmul qword [0x472398]
mov eax, dword [0x47e2f0]
mov esi, edi
fstp qword [esp + 0x38]
cmp eax, edi
jl 0x42c7c1
fld qword [0x485988]
fadd qword [0x485980]
lea edx, [esi - 1]
push esi
mov dword [esp + 0xc], edx
lea eax, [esp + 0x20]
fild dword [esp + 0xc]
push 0x47e6c4
push eax
fmulp st(1)
fld qword [0x485980]
fmul qword [0x472060]
faddp st(1)
fadd qword [0x47e2e8]
fadd qword [0x485988]
fstp qword [esp + 0x3c]
call fcn.00457100
push 0x3ff00000
push 0
push 2
lea ecx, [esp + 0x34]
push edi
push ecx
push 0
push 0
push 0x40080000
lea edx, [esp + 0x5c]
push 0
push edx
call fcn.00401019
mov eax, dword [0x47e2f0]
add esp, 0x34
inc esi
cmp esi, eax
jle 0x42c749
cmp dword [0x4859a8], edi
jne 0x42c862
mov eax, dword [0x47e2f8]
mov esi, edi
cmp eax, edi
jl 0x42c862
mov eax, dword [0x47e2f0]
push esi
lea edx, [esp + 0x20]
push 0x47e6c4
lea ecx, [eax + esi - 1]
push edx
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fld qword [0x485988]
fadd qword [0x485980]
fmulp st(1)
fld qword [0x485988]
fadd st(0), st(0)
faddp st(1)
fld qword [0x485980]
fmul qword [0x472060]
faddp st(1)
fadd qword [0x47e2e8]
fstp qword [esp + 0x3c]
call fcn.00457100
push 0x3ff00000
push 0
push 2
lea eax, [esp + 0x34]
push edi
push eax
push 0
push 0
push 0x40080000
lea ecx, [esp + 0x5c]
push 0
push ecx
call fcn.00401019
mov eax, dword [0x47e2f8]
add esp, 0x34
inc esi
cmp esi, eax
jle 0x42c7dc
fld qword [0x47e2e8]
fmul qword [0x472060]
mov eax, dword [0x47e2f4]
mov esi, edi
cmp eax, edi
fstp qword [esp + 0x30]
jl 0x42c911
mov eax, dword [0x4859a8]
or edx, 0xffffffff
sub edx, eax
lea eax, [esi - 1]
mov dword [esp + 8], edx
push esi
fild dword [esp + 0xc]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x20]
push 0x474f00
push ecx
fmul qword [0x47e2e0]
fld qword [0x485998]
fadd qword [0x485990]
fild dword [esp + 0x14]
fmulp st(1)
fld qword [0x485990]
fmul qword [0x472060]
faddp st(1)
fadd qword [0x485998]
fsubp st(1)
fstp qword [esp + 0x44]
call fcn.00457100
push 0x3ff00000
push 0
push 2
lea edx, [esp + 0x34]
push edi
push edx
push 0
push 0
push 0x40080000
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.00401019
mov eax, dword [0x47e2f4]
add esp, 0x34
inc esi
cmp esi, eax
jle 0x42c881
pop edi
mov eax, 0x13ec
pop esi
mov esp, ebp
pop ebp
ret