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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x90
mov esi, ecx
mov ebp, dword [esp + 0xa4]
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.006eb73c
lea ecx, [esp + 0x10]
call fcn.00701de0
mov byte [esi + 0x18], 0
lea ecx, [esp + 0x14]
push 0x87361c
call fcn.00701780
lea ecx, [esp + 0x10]
push eax
call fcn.00701cc0
movzx eax, al
xor ebx, ebx
test eax, eax
lea ecx, [esp + 0x14]
sete bl
call fcn.00701810
test ebx, ebx
je 0x6ca17e
lea ecx, [esp + 0x10]
call fcn.00701810
mov eax, 5
add esp, 0x90
pop ebx
pop ebp
pop esi
pop edi
ret 8
mov dword [esp + 0x1c], 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], 0x86c068
call fcn.006ebda8
mov dword [esp + 0x1c], 1
xor eax, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov byte [esp + 0x3c], al
mov dword [esp + 0x30], 2
push 0x58585858
push eax
push eax
push eax
push ebp
call fcn.006e8368
test eax, eax
je 0x6ca23d
mov dword [esp + 0x18], fcn.006e8368
lea ecx, [esp + 0x18]
call fcn.006e8608
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x6ca201
mov dword [esp + 0x34], 0
je 0x6ca201
push 1
call fcn.00433260
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x6ca21a
mov dword [esp + 0x38], 0
je 0x6ca21a
push 1
call fcn.00433290
mov dword [esp + 0x18], 0x86c040
lea ecx, [esp + 0x10]
call fcn.00701810
mov eax, 1
add esp, 0x90
pop ebx
pop ebp
pop esi
pop edi
ret 8
lea ecx, [esp + 0x18]
lea eax, [esp + 0x40]
push 0
push 0x2a
push eax
call fcn.006e8688
cmp eax, 0x2a
je 0x6ca2ba
mov dword [esp + 0x18], fcn.006e8368
lea ecx, [esp + 0x18]
call fcn.006e8608
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x6ca27e
mov dword [esp + 0x34], 0
je 0x6ca27e
push 1
call fcn.00433260
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x6ca297
mov dword [esp + 0x38], 0
je 0x6ca297
push 1
call fcn.00433290
mov dword [esp + 0x18], 0x86c040
lea ecx, [esp + 0x10]
call fcn.00701810
mov eax, 2
add esp, 0x90
pop ebx
pop ebp
pop esi
pop edi
ret 8
lea ecx, [esi + 0x60]
mov eax, dword [esi + 0x60]
mov dword [esp + 0x84], ecx
call dword [eax + 0x24]
mov dword [esi + 0x5c], 0
lea edi, [esi + 0x98]
mov eax, dword [esi + 0x98]
mov ecx, edi
call dword [eax + 0x24]
mov dword [esi + 0x94], 0
lea ebp, [esi + 0xd0]
mov eax, dword [esi + 0xd0]
mov ecx, ebp
call dword [eax + 0x24]
mov dword [esi + 0xcc], 0
lea ebx, [esi + 0x108]
mov eax, dword [esi + 0x108]
mov ecx, ebx
call dword [eax + 0x24]
mov dword [esi + 0x104], 0
lea ecx, [esi + 0x140]
mov eax, dword [esi + 0x140]
mov dword [esp + 0x88], ecx
call dword [eax + 0x24]
mov dword [esi + 0x13c], 0
lea ecx, [esi + 0x178]
mov eax, dword [esi + 0x178]
mov dword [esp + 0x8c], ecx
call dword [eax + 0x24]
xor eax, eax
mov dword [esi + 0x174], eax
mov dword [esi + 0x234], eax
movsx edx, byte [esp + 0x54]
fld qword [0x889fc8]
fstp qword [esp]
mov dword [esp + 0x78], edx
fild dword [esp + 0x78]
fmul qword [0x889fc0]
fstp qword [esp + 8]
call sub.MSVCRT.dll_pow
mov eax, dword [esp + 0x56]
mov edx, dword [esp + 0x5e]
fmul qword [esi + 0x368]
sub edx, eax
fstp qword [esi + 0x368]
mov dword [esi + 0x35c], edx
movzx edx, byte [esp + 0x55]
inc edx
cmp edx, 1
mov dword [esi + 0x360], edx
je 0x6ca423
cmp edx, 2
je 0x6ca423
mov dword [esp + 0x18], fcn.006e8368
lea ecx, [esp + 0x18]
call fcn.006e8608
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x6ca3e7
mov dword [esp + 0x34], 0
je 0x6ca3e7
push 1
call fcn.00433260
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x6ca400
mov dword [esp + 0x38], 0
je 0x6ca400
push 1
call fcn.00433290
mov dword [esp + 0x18], 0x86c040
lea ecx, [esp + 0x10]
call fcn.00701810
mov eax, 2
add esp, 0x90
pop ebx
pop ebp
pop esi
pop edi
ret 8
movzx edx, word [esp + 0x68]
lea ecx, [esp + 0x18]
add eax, eax
mov dword [esi + 0x340], edx
mov dword [esi + 0x33c], 0x10
push 1
push eax
call fcn.006e85a8
fld qword [0x889fb8]
mov eax, 1
lea ecx, [esp + 0x18]
fstp qword [esi + 0x350]
mov dword [esp + 0x80], eax
call fcn.006e8598
mov dword [esi + 0x54], eax
mov al, byte [esp + 0xa8]
test al, al
mov dword [esi + 0x14], 0
je 0x6ca4ac
lea ecx, [esp + 0x18]
mov edx, dword [esi + 0x35c]
add edx, edx
imul edx, dword [esi + 0x360]
xor eax, eax
push eax
push eax
push edx
push ecx
mov ecx, esi
call fcn.006cc308
xor edx, edx
test eax, eax
mov eax, edx
sete al
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x6ca5b8
mov eax, dword [esi + 0x60]
mov ecx, dword [esp + 0x84]
call dword [eax + 0x24]
mov dword [esi + 0x5c], 0
mov eax, dword [esi + 0x98]
mov ecx, edi
call dword [eax + 0x24]
mov dword [esi + 0x94], 0
mov eax, dword [esi + 0xd0]
mov ecx, ebp
call dword [eax + 0x24]
mov dword [esi + 0xcc], 0
mov eax, dword [esi + 0x108]
mov ecx, ebx
call dword [eax + 0x24]
mov dword [esi + 0x104], 0
mov eax, dword [esi + 0x140]
mov ecx, dword [esp + 0x88]
call dword [eax + 0x24]
mov dword [esi + 0x13c], 0
mov eax, dword [esi + 0x178]
mov ecx, dword [esp + 0x8c]
call dword [eax + 0x24]
xor eax, eax
lea ecx, [esp + 0x18]
mov dword [esi + 0x174], eax
mov dword [esi + 0x234], eax
mov dword [esi + 0x35c], eax
mov dword [esi + 0x360], eax
mov dword [esp + 0x18], 0x86c068
call fcn.006e8608
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x6ca57c
mov dword [esp + 0x34], 0
je 0x6ca57c
push 1
call fcn.00433260
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x6ca595
mov dword [esp + 0x38], 0
je 0x6ca595
push 1
call fcn.00433290
mov dword [esp + 0x18], 0x86c040
lea ecx, [esp + 0x10]
call fcn.00701810
mov eax, 4
add esp, 0x90
pop ebx
pop ebp
pop esi
pop edi
ret 8
fld qword [0x889fb8]
mov edx, dword [esp + 0x62]
fdiv qword [esi + 0x350]
mov eax, dword [esp + 0x5a]
sub eax, edx
mov dword [esp + 0x78], eax
shr eax, 0x1f
fild dword [esp + 0x78]
fadd dword [eax*4 + 0x889fd8]
fmul st(1)
fstp qword [esp + 0x70]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
mov ecx, ebp
shr ecx, 0x14
and ecx, 0x7ff
cmp ecx, 0x3fe
jle 0x6ca61e
mov eax, ebp
neg ecx
add ecx, 0x41e
shld eax, ebx, 0xb
or eax, 0x80000000
shr eax, cl
test ebp, ebp
jge 0x6ca620
neg eax
jmp 0x6ca620
xor eax, eax
mov dword [esp + 0x78], edx
shr edx, 0x1f
fild dword [esp + 0x78]
fadd dword [edx*4 + 0x889fd8]
fmulp st(1)
fstp qword [esp + 0x70]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov ecx, ebx
shr ecx, 0x14
and ecx, 0x7ff
cmp ecx, 0x3fe
jle 0x6ca671
mov ebp, ebx
neg ecx
add ecx, 0x41e
shld ebp, edx, 0xb
or ebp, 0x80000000
shr ebp, cl
test ebx, ebx
jge 0x6ca673
neg ebp
jmp 0x6ca673
xor ebp, ebp
mov dword [esi + 0x238], eax
xor eax, eax
mov dword [esi + 0x23c], ebp
mov dword [esi + 0x240], eax
mov byte [esi + 0x244], al
mov dword [esi + 0x248], 0x3f800000
mov byte [esi + 0x245], 3
mov dl, byte [esp + 0x66]
cmp dl, 1
je 0x6ca6ae
mov byte [esi + 0x245], 0
mov dword [esi + 8], 5
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0x86c068
call fcn.006e8608
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x6ca6df
mov dword [esp + 0x34], 0
je 0x6ca6df
push 1
call fcn.00433260
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x6ca6f8
mov dword [esp + 0x38], 0
je 0x6ca6f8
push 1
call fcn.00433290
mov dword [esp + 0x18], 0x86c040
lea ecx, [esp + 0x10]
call fcn.00701810
xor eax, eax
add esp, 0x90
pop ebx
pop ebp
pop esi
pop edi
ret 8