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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, edi
call fcn.004272dc
mov dword [ebx], eax
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx]
mov dword [ebx + 0x80], ecx
xor edx, edx
lea eax, [ebx + 0x84]
xor ecx, ecx
mov dword [eax], ecx
inc edx
add eax, 4
cmp edx, 0x3e8
jl 0x40773e
mov dword [ebx + 0x74], 0xa
mov dword [ebx + 0x70], 0x1e
mov eax, 0xf
mov dword [ebx + 0x78], eax
mov edx, dword [ebx + 0x70]
add edx, eax
mov dword [ebx + 0x1024], edx
mov ecx, dword [ebx + 0x70]
add ecx, dword [ebx + 0x78]
mov dword [ebx + 0x1028], ecx
mov eax, dword [ebx + 0x1024]
mov dword [ebx + 0x24], eax
mov edx, dword [ebx + 0x1028]
mov dword [ebx + 0x28], edx
fild dword [ebx + 0x78]
fmul qword [0x407a2c]
fild dword [ebx + 0x70]
faddp st(1)
call fcn.0044c268
mov dword [ebx + 0x2c], eax
add esp, 0xfffffff8
fld dword [esi]
fstp qword [esp]
call fcn.0044bfc0
fstp dword [ebx + 0x30]
add esp, 8
add esp, 0xfffffff8
fld dword [esi]
fstp qword [esp]
call fcn.0044c6ac
fstp dword [ebx + 0x34]
add esp, 8
lea esi, [ebx + 0x20]
mov dword [ebx + 0x38], 0xff
push edi
lea edi, [ebx + 0x3c]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x18]
pop edi
add esp, 0xfffffff8
fld dword [eax]
fstp qword [esp]
call fcn.0044bfc0
fstp dword [ebx + 0x4c]
mov edx, dword [ebp + 0x18]
add esp, 8
add esp, 0xfffffff8
fld dword [edx]
fstp qword [esp]
call fcn.0044c6ac
fstp dword [ebx + 0x50]
mov dword [ebx + 0x54], 0xff0000
xor ecx, ecx
add esp, 8
mov dword [ebx + 0x7c], ecx
mov eax, edi
mov edx, dword [ebx + 0x70]
add edx, dword [ebx + 0x78]
add edx, edx
call fcn.0042c2fc
mov edx, dword [ebx + 0x70]
mov eax, edi
add edx, dword [ebx + 0x78]
add edx, edx
call fcn.0042c2dc
mov ecx, dword [ebx + 0x38]
push ecx
push dword [ebx + 0x34]
push dword [ebx + 0x30]
mov ecx, dword [ebx]
push ecx
push ebx
call fcn.00407a3c
add esp, 0x14
mov eax, dword [ebx + 0x54]
push eax
push dword [ebx + 0x50]
push dword [ebx + 0x4c]
mov eax, dword [ebx]
push eax
push ebx
call fcn.00407a3c
add esp, 0x14
xor edx, edx
mov dword [ebp - 4], edx
xor esi, esi
jmp 0x407a0b
mov dword [ebp - 0x24], esi
add esp, 0xfffffffc
fild dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fdivp st(1)
fstp dword [esp]
mov eax, dword [ebp - 4]
push eax
push ebx
call fcn.00407b80
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, edi
call fcn.004272dc
mov eax, dword [eax + 0x14]
mov edx, dword [ebp - 8]
call fcn.004164d8
mov eax, edi
call fcn.004272dc
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
call fcn.004161f4
mov eax, edi
call fcn.004272dc
mov eax, dword [eax + 0x10]
mov edx, 2
call fcn.00416300
mov edx, dword [ebx + 0x74]
mov eax, edx
imul eax, dword [ebp - 4]
add eax, esi
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fmul qword [0x407a34]
mov ecx, edx
add ecx, ecx
inc eax
lea ecx, [ecx + ecx*2]
mov dword [ebp - 0x28], ecx
fild dword [ebp - 0x28]
fdivp st(1)
fstp dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fmul qword [0x407a34]
mov edx, dword [ebx + 0x74]
add edx, edx
add esp, 0xfffffff8
lea edx, [edx + edx*2]
mov dword [ebp - 0x28], edx
fild dword [ebp - 0x28]
fdivp st(1)
fstp dword [ebp - 0x10]
fld dword [ebp - 0xc]
fstp qword [esp]
call fcn.0044bfc0
fild dword [ebx + 0x70]
add esp, 8
fmulp st(1)
fild dword [ebx + 0x1024]
faddp st(1)
call fcn.0044c268
mov dword [ebp - 0x14], eax
add esp, 0xfffffff8
fld dword [ebp - 0x10]
fstp qword [esp]
call fcn.0044bfc0
fild dword [ebx + 0x70]
add esp, 8
fmulp st(1)
fild dword [ebx + 0x1024]
faddp st(1)
call fcn.0044c268
mov dword [ebp - 0x18], eax
add esp, 0xfffffff8
fld dword [ebp - 0xc]
fstp qword [esp]
call fcn.0044c6ac
fild dword [ebx + 0x70]
add esp, 8
fmulp st(1)
fild dword [ebx + 0x1028]
faddp st(1)
call fcn.0044c268
mov dword [ebp - 0x1c], eax
add esp, 0xfffffff8
fld dword [ebp - 0x10]
fstp qword [esp]
call fcn.0044c6ac
fild dword [ebx + 0x70]
add esp, 8
fmulp st(1)
fild dword [ebx + 0x1028]
faddp st(1)
call fcn.0044c268
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x14]
jne 0x4079ba
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x1c]
je 0x4079fc
mov eax, dword [ebx + 0x1024]
sub eax, dword [ebx + 0x70]
push eax
mov edx, dword [ebx + 0x1028]
add edx, dword [ebx + 0x70]
push edx
mov ecx, dword [ebp - 0x18]
push ecx
mov eax, dword [ebp - 0x20]
push eax
mov eax, edi
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004272dc
mov ecx, dword [ebx + 0x1028]
mov edx, dword [ebx + 0x1024]
sub ecx, dword [ebx + 0x70]
add edx, dword [ebx + 0x70]
call fcn.004169dc
push ebx
call fcn.00407c6c
pop ecx
push ebx
call fcn.00408140
pop ecx
inc esi
mov eax, dword [ebx + 0x74]
cmp esi, eax
jl 0x40786d
inc dword [ebp - 4]
cmp dword [ebp - 4], 6
jl 0x407866
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret