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

Disassembly:
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov ebx, ecx
xor edi, edi
mov eax, dword [ebx + 0x13c]
test eax, eax
je 0x100685d7
mov ecx, dword [ebx + 0x140]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x100685d7
mov edx, eax
mov esi, dword [edx + edi*4]
test esi, esi
je 0x100685d4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
test al, al
je 0x100685c7
mov ebp, dword [esi]
lea ecx, [ebx + 0x12c]
push ecx
mov ecx, ebx
call fcn.10069780
add eax, 0x24
push eax
mov ecx, esi
call dword [ebp + 0x18]
inc edi
jmp 0x1006857e
mov edx, dword [ebx + 0x13c]
mov dword [edx + edi*4], 0
inc edi
jmp 0x1006857e
fld dword [esp + 0x9c]
fcomp dword [0x101004b8]
fnstsw ax
test ah, 0x40
jne 0x1006887d
mov al, byte [ebx + 0x104]
test al, al
je 0x1006887d
mov ecx, ebx
call fcn.1006ae70
fld dword [eax]
fsub dword [ebx + 0x148]
mov ecx, ebx
fld dword [eax + 4]
fsub dword [ebx + 0x14c]
fstp dword [esp + 0x1c]
fld dword [eax + 8]
fsub dword [ebx + 0x150]
fstp dword [esp + 0x20]
fmul dword [esp + 0x9c]
fld dword [esp + 0x1c]
fmul dword [esp + 0x9c]
fstp dword [esp + 0x3c]
fld dword [esp + 0x20]
fmul dword [esp + 0x9c]
fstp dword [esp + 0x40]
fadd dword [ebx + 0x148]
fstp dword [esp + 0x18]
fld dword [esp + 0x3c]
fadd dword [ebx + 0x14c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x40]
fadd dword [ebx + 0x150]
fstp dword [esp + 0x20]
call fcn.1006ae80
fld dword [eax]
fsub dword [ebx + 0x154]
push ecx
fld dword [eax + 4]
fsub dword [ebx + 0x158]
fld dword [eax + 8]
fsub dword [ebx + 0x15c]
fmul dword [esp + 0xa0]
fstp dword [esp]
push ecx
fmul dword [esp + 0xa4]
fstp dword [esp]
push ecx
lea ecx, [esp + 0x44]
fmul dword [esp + 0xa8]
fstp dword [esp]
call fcn.1000d0e0
fld dword [esp + 0x40]
push ecx
fadd dword [ebx + 0x15c]
fstp dword [esp]
push ecx
fld dword [esp + 0x44]
fadd dword [ebx + 0x158]
fstp dword [esp]
push ecx
fld dword [esp + 0x44]
lea ecx, [esp + 0x54]
fadd dword [ebx + 0x154]
fstp dword [esp]
call fcn.1000d0e0
mov eax, dword [esp + 0x9c]
mov ecx, ebx
mov dword [esp + 0x24], eax
call fcn.1006ae90
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x2c], edx
mov edx, dword [ecx + 8]
lea esi, [ebx + 0x160]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x34], ecx
push eax
mov ecx, esi
mov dword [esp + 0x34], edx
call fcn.10068980
fstp dword [esp + 0x10]
fld dword [0x101004b8]
fsub dword [esp + 0x9c]
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fcomp dword [0x10100498]
fnstsw ax
test ah, 1
je 0x10068788
fld dword [esp + 0x28]
lea edx, [esp + 0x38]
fchs
push edx
lea ecx, [esp + 0x30]
fstp dword [esp + 0x2c]
call fcn.10011150
fld dword [esp + 0x10]
mov ecx, dword [eax]
fchs
mov dword [esp + 0x2c], ecx
fstp dword [esp + 0x10]
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x34], eax
fld dword [0x101004b8]
fsub dword [0x101006a8]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x100687d1
fld dword [esp + 0x10]
call fcn.1009ace0
fld st(0)
fsin
fstp dword [esp + 0x10]
fld st(0)
fmul dword [esp + 0x9c]
fsin
fdiv dword [esp + 0x10]
fstp dword [esp + 0x24]
fmul dword [esp + 0x14]
fsin
fdiv dword [esp + 0x10]
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x30]
call fcn.10068930
mov ecx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x58]
push eax
push ecx
lea edx, [esp + 0x70]
push edx
mov ecx, esi
call fcn.10068930
mov ecx, eax
call fcn.100688e0
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x78]
lea ebp, [ebx + 0x1d4]
call fcn.100689b0
mov esi, eax
mov ecx, 9
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x48]
push ecx
mov ecx, ebp
call fcn.100688b0
mov edx, dword [esp + 0x4c]
push edx
lea ecx, [ebx + 0x1e0]
call fcn.100688b0
mov eax, dword [esp + 0x50]
push eax
lea ecx, [ebx + 0x1ec]
call fcn.100688b0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea ecx, [ebx + 0x1f8]
pop edi
mov dword [ecx], edx
mov edx, dword [esp + 0x1c]
pop esi
mov dword [ecx + 4], eax
pop ebp
mov byte [ebx + 0x234], 0
mov dword [ecx + 8], edx
mov al, 1
pop ebx
add esp, 0x88
ret 4
mov ecx, ebx
call fcn.10069780
lea edi, [ebx + 0x204]
mov esi, eax
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov al, 1
pop ebp
mov byte [ebx + 0x234], al
pop ebx
add esp, 0x88
ret 4