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

Disassembly:
mov eax, dword [0x784edc]
sub esp, 0x48
test eax, eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x5c]
jne 0x428616
lea eax, [edi + 0x2c8]
mov ecx, 5
mov edx, dword [eax - 0x3c]
mov dword [eax], edx
mov edx, dword [eax - 0x38]
mov dword [eax + 4], edx
mov edx, dword [eax - 0x34]
mov dword [eax + 8], edx
add eax, 0xc
dec ecx
jne 0x4285ff
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
mov edx, dword [edi + 0x38]
mov esi, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [edi + 0x28c], eax
mov dword [edi + 0x290], ecx
mov dword [edi + 0x294], edx
mov dword [esp + 0x5c], esi
fild dword [esp + 0x5c]
lea eax, [esi + esi*2]
fmul dword [0x4b00a8]
lea ebx, [edi + eax*4]
lea eax, [edi + 0x1d0]
lea ebp, [ebx + 0x28c]
push ebp
push ecx
fstp dword [esp]
push eax
lea eax, [edi + 0x100]
push eax
lea eax, [edi + 0x30]
push eax
call fcn.00443c70
fld dword [ebp]
fsub dword [esp + 0x24]
lea ecx, [esi + esi*2 + 0xa5]
add esp, 0x14
lea eax, [edi + ecx*4]
fst dword [esp + 0x40]
fld dword [ebx + 0x290]
fsub dword [esp + 0x14]
mov dword [esp + 0x5c], eax
fstp dword [esp + 0x44]
fld dword [eax]
fsub dword [esp + 0x18]
fstp dword [esp + 0x48]
fcom dword [0x4b0004]
fnstsw ax
test ah, 0x41
je 0x4286bb
fchs
fcomp dword [0x4b0020]
fnstsw ax
test ah, 1
je 0x428714
fld dword [esp + 0x44]
fcomp dword [0x4b0004]
fld dword [esp + 0x44]
fnstsw ax
test ah, 0x41
je 0x4286df
fchs
fcomp dword [0x4b0020]
fnstsw ax
test ah, 1
je 0x428714
fld dword [esp + 0x48]
fcomp dword [0x4b0004]
fld dword [esp + 0x48]
fnstsw ax
test ah, 0x41
je 0x428703
fchs
fcomp dword [0x4b0020]
fnstsw ax
test ah, 1
jne 0x4287e2
lea edx, [esp + 0x34]
push edx
call fcn.00443b60
fld dword [esp + 0x58]
fmul dword [esp + 0x58]
fld dword [esp + 0x54]
fmul dword [esp + 0x54]
mov al, byte [esp + 0x6c]
add esp, 4
cmp esi, 4
faddp st(1)
fld dword [esp + 0x4c]
fmul dword [esp + 0x4c]
faddp st(1)
fsqrt
fdivr dword [0x4b0018]
fld dword [esp + 0x4c]
fmul st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
fmul st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fmul st(1)
fstp dword [esp + 0x54]
fstp st(0)
je 0x428791
test al, 2
je 0x428780
mov eax, dword [esp + 0x60]
push ebp
push eax
call fcn.00450200
add esp, 8
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x60]
push ecx
lea edx, [esp + 0x38]
push ebp
push edx
jmp 0x4287be
test al, 2
je 0x4287a9
mov edx, dword [esp + 0x64]
lea ecx, [edi + 0x2bc]
push ecx
push edx
call fcn.00450200
add esp, 8
mov eax, dword [esp + 0x68]
lea ecx, [edi + 0x2bc]
push eax
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x38]
push ecx
push edx
push eax
call fcn.00460ce0
mov ecx, dword [ebp]
mov eax, dword [esp + 0x6c]
mov edx, dword [ebx + 0x290]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax]
add esp, 0x10
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
inc esi
cmp esi, 5
mov dword [esp + 0x5c], esi
jl 0x428646
mov eax, dword [edi + 0x304]
test eax, eax
jne 0x42880c
mov dword [edi + 0x304], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
mov eax, dword [0x765ebc]
test eax, eax
je 0x42882d
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
fild qword [esp + 0x10]
fdivr dword [0x4b001c]
jmp 0x428833
fld dword [0x4b0004]
fmul dword [0x4b0078]
lea esi, [edi + 0x2cc]
mov ebx, 3
fst dword [esp + 0x60]
fadd st(0), st(0)
fld dword [esi - 4]
fsub dword [esi - 0x40]
fld dword [esi]
fsub dword [esi - 0x3c]
lea eax, [esi - 0x40]
lea ecx, [esi - 0x34]
push 0
lea edx, [esp + 0x20]
push 0
push edx
fstp dword [esp + 0x2c]
fld dword [esi + 4]
fsub dword [esi - 0x38]
lea edx, [esp + 0x34]
push edx
push ecx
push eax
fstp dword [esp + 0x3c]
fmul st(1)
fld dword [esp + 0x38]
fmul st(2)
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fmul st(2)
fstp dword [esp + 0x3c]
fadd dword [eax]
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fadd dword [esi - 0x3c]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fadd dword [esi - 0x38]
fstp dword [esp + 0x3c]
fld dword [esi + 8]
fsub dword [ecx]
fstp dword [esp + 0x40]
fld dword [esi + 0xc]
fsub dword [esi - 0x30]
fstp dword [esp + 0x44]
fld dword [esi + 0x10]
fsub dword [esi - 0x2c]
fstp dword [esp + 0x48]
fadd dword [esp + 0x78]
fst dword [esp + 0x80]
fmul dword [esp + 0x40]
fld dword [esp + 0x80]
fmul dword [esp + 0x44]
fstp dword [esp + 0x44]
fld dword [esp + 0x80]
fmul dword [esp + 0x48]
fstp dword [esp + 0x48]
fadd dword [ecx]
fstp dword [esp + 0x40]
fld dword [esp + 0x44]
fadd dword [esi - 0x30]
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fadd dword [esi - 0x2c]
fstp dword [esp + 0x48]
call fcn.0042d960
fld dword [esp + 0x80]
add esp, 0x18
add esi, 0xc
dec ebx
jne 0x42884a
fld dword [edi + 0x2ec]
fsub dword [edi + 0x2b0]
fld dword [edi + 0x2f0]
fsub dword [edi + 0x2b4]
lea eax, [edi + 0x2b0]
lea ecx, [edi + 0x2bc]
push 0x800000
lea edx, [esp + 0x20]
push 0
push edx
fstp dword [esp + 0x2c]
fld dword [edi + 0x2f4]
fsub dword [edi + 0x2b8]
lea edx, [esp + 0x34]
push edx
push ecx
push eax
fstp dword [esp + 0x3c]
fmul st(1)
fld dword [esp + 0x38]
fmul st(2)
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fmul st(2)
fstp dword [esp + 0x3c]
fadd dword [eax]
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fadd dword [edi + 0x2b4]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fadd dword [edi + 0x2b8]
fstp dword [esp + 0x3c]
fld dword [edi + 0x2f8]
fsub dword [ecx]
fstp dword [esp + 0x40]
fld dword [edi + 0x2fc]
fsub dword [edi + 0x2c0]
fstp dword [esp + 0x44]
fld dword [edi + 0x300]
fsub dword [edi + 0x2c4]
fstp dword [esp + 0x48]
fadd dword [esp + 0x78]
fld st(0)
fmul dword [esp + 0x40]
fstp dword [esp + 0x40]
fld st(0)
fmul dword [esp + 0x44]
fstp dword [esp + 0x44]
fmul dword [esp + 0x48]
fld dword [esp + 0x40]
fadd dword [ecx]
fstp dword [esp + 0x40]
fld dword [esp + 0x44]
fadd dword [edi + 0x2c0]
fstp dword [esp + 0x44]
fadd dword [edi + 0x2c4]
fstp dword [esp + 0x48]
call fcn.0042d960
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret