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

Disassembly:
push 0xffffffffffffffff
push 0x4a42db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x444]
push edi
push eax
call dword [0x4010b0]
mov edx, dword [esi + 0x444]
lea ecx, [esp + 0x40]
push ecx
push edx
mov ebx, eax
call dword [0x401088]
mov eax, dword [esi + 0x444]
push 6
push eax
mov dword [esp + 0x20], 1
call dword [0x4010a0]
mov ecx, dword [0x4b18c0]
mov edi, dword [ecx + 8]
mov edx, dword [edi]
cmp edx, edi
je 0x1006e732
cmp dword [edx + 0x150], eax
je 0x1006e724
mov edx, dword [edx]
jmp 0x1006e714
mov ebp, dword [edx + 0x154]
test ebp, ebp
mov dword [esp + 0x10], ebp
jne 0x1006e74d
mov edx, dword [esi + 0x444]
push eax
push edx
call fcn.1006e310
test eax, eax
mov dword [esp + 0x10], eax
mov ebp, eax
jne 0x1006e74d
xor edi, edi
jmp 0x1006e751
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 0x444]
push eax
call dword [0x4010ac]
cmp ebx, 1
jne 0x1006ebe3
mov cl, byte [esi + 0x87c]
test cl, cl
je 0x1006ebe3
mov cl, byte [ebp + 0x9c]
test cl, cl
je 0x1006ebe3
mov ecx, dword [esp + 0x140]
push ecx
push eax
lea edx, [esp + 0x48]
push edx
mov ecx, ebp
call fcn.1006dc70
test al, al
je 0x1006ebe3
xor ebx, ebx
cmp edi, ebx
je 0x1006ebc6
fld dword [esp + 0x40]
lea eax, [esp + 0x7c]
fmul dword [0x4039d0]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x144]
cmp eax, ebx
fstp dword [esp + 0x64]
mov dword [esp + 0x68], ebx
fld dword [esp + 0x4c]
mov dword [esp + 0x6c], ebx
fmul dword [0x4039d0]
fstp dword [esp + 0x70]
fld dword [esp + 0x50]
fmul dword [0x4039d0]
fstp dword [esp + 0x74]
fld dword [esp + 0x54]
fmul dword [0x4039d0]
fstp dword [esp + 0x78]
je 0x1006e832
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x7c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x80], edx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x7c]
mov dword [esp + 0x84], ecx
push eax
lea ecx, [esp + 0x68]
push ecx
mov dword [esp + 0x90], edx
call 0x100a9e10
jmp 0x1006e836
mov dword [esp + 0x34], ebx
fild dword [esp + 0x138]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x68]
fstp dword [esp + 0x20]
push eax
fild dword [esp + 0x144]
fstp dword [esp + 0x28]
call fcn.1006da00
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10067300
mov edx, dword [esp + 0x20]
push edx
mov dword [esp + 0x3c], eax
call fcn.10067300
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x2f]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x150]
push ecx
push ebx
lea ecx, [esp + 0x98]
call 0x10068410
mov ecx, dword [esp + 0x150]
xor edi, edi
cmp ecx, edi
mov dword [esp + 0x130], edi
mov dword [esp + 0x18], edi
jne 0x1006e8ba
mov dword [esp + 0x18], edi
jmp 0x1006e993
cmp ebx, edi
jbe 0x1006e993
mov edi, dword [esp + 0x90]
fld dword [esp + 0x1c]
mov ebp, dword [esp + 0x38]
fstp qword [esp + 0x1c]
mov eax, dword [esp + 0x138]
sub ecx, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x60], ecx
mov dword [esp + 0x14], ebx
jmp 0x1006e8f0
mov ecx, dword [esp + 0x60]
mov ebx, dword [ecx + edi]
add ebx, eax
mov dword [esp + 0x30], ebx
fild dword [esp + 0x30]
fmul dword [esp + 0x64]
fadd dword [esp + 0x74]
fld qword [esp + 0x1c]
fsubr st(1)
fst qword [esp + 0x58]
fld st(1)
call fcn.10043e50
mov ecx, eax
sub ecx, ebp
mov dword [esp + 0x30], ecx
fisubr dword [esp + 0x30]
lea edx, [ecx + 1]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fsub qword [esp + 0x58]
fstp qword [esp + 0x58]
fcom qword [0x402190]
fnstsw ax
test ah, 1
je 0x1006e944
fchs
fld qword [esp + 0x58]
fcom qword [0x402190]
fnstsw ax
test ah, 1
je 0x1006e957
fchs
fxch st(1)
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x1006e968
mov dword [edi], edx
jmp 0x1006e96a
mov dword [edi], ecx
mov eax, dword [edi]
fstp qword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add ebp, eax
add edi, 4
dec ecx
mov eax, ebx
mov dword [esp + 0x14], ecx
jne 0x1006e8ec
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x14c]
xor edi, edi
mov eax, dword [esi + 0x444]
lea edx, [esp + 0x24]
push edx
push eax
call dword [0x4010a8]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.1006d9a0
mov eax, dword [esi + 0x444]
push 0x406c2c
push eax
call dword [0x401084]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 0x444]
push edi
push ecx
push edx
push eax
call dword [0x4010a4]
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
call fcn.1006da50
test al, al
je 0x1006eac4
mov edx, dword [esi + 0x444]
push 6
push edx
call dword [0x4010a0]
lea ecx, [esp + 0x9c]
push ecx
push 0x5c
push eax
mov dword [esp + 0x1c], eax
call dword [0x401058]
fild dword [esp + 0x9c]
push ecx
fmul dword [esp + 0x50]
fstp dword [esp]
call fcn.10067300
mov dword [esp + 0x9c], eax
cmp dword [esp + 0xa0], edi
je 0x1006ea5d
fild dword [esp + 0xa0]
push ecx
fmul dword [esp + 0x44]
fstp dword [esp]
call fcn.10067300
mov dword [esp + 0xa0], eax
mov cl, byte [esp + 0xb4]
mov al, 7
cmp cl, al
je 0x1006ea71
mov byte [esp + 0xb4], al
lea edx, [esp + 0x9c]
push edx
call dword [0x40108c]
push eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x444]
push eax
call dword [0x4010d0]
mov ecx, dword [esi + 0x444]
push ecx
call fcn.10071b40
test al, al
jne 0x1006eaa6
mov edi, 2
mov edx, dword [esi + 0x444]
push edi
push edx
call 0x1008f7a2
test eax, eax
je 0x1006eafd
lea ecx, [esp + 0x40]
push ecx
push eax
mov ecx, ebp
call fcn.1006df70
mov edx, dword [esi + 0x444]
mov eax, dword [ebp + 0xa0]
push edx
push eax
call 0x1008f92a
mov edi, eax
test edi, edi
je 0x1006eb34
mov edi, dword [esp + 0x148]
mov eax, dword [ebp + 0xa0]
push 0x400
push 0
push ebx
push edi
push eax
call 0x1008f9d4
cmp ebx, eax
je 0x1006eb01
xor edi, edi
jmp 0x1006eb34
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
mov eax, dword [ebp + 0xa0]
push ecx
mov ecx, dword [esp + 0x144]
push ebx
push edi
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esi + 0x444]
push ecx
push edx
push eax
call 0x1008fa82
mov edi, eax
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x1006eb55
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x444]
push eax
push ecx
call dword [0x4010d0]
push ebx
call dword [0x4010c8]
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0xfc]
call 0x100aa080
mov ecx, dword [esi + 0x444]
lea eax, [esp + 0x24]
push eax
push ecx
call dword [0x4010a8]
push 1
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x100]
call 0x100a9e70
mov ecx, dword [esi + 0x444]
lea eax, [esp + 0x40]
push eax
push ecx
call dword [0x401084]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x444]
push 0
push edx
push eax
push ecx
call dword [0x4010a4]
mov edx, dword [esp + 0x90]
push edx
call fcn.10043d58
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret 0x1c
xor eax, eax
jmp 0x1006ebc8