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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100f9400
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x12c]
mov dword [esp + 0x38], ecx
call fcn.1000b690
test eax, eax
je 0x1000cec6
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x1000c985
cmp ebx, 0xffffffff
mov dword [esp + 0x28], 1
jne 0x1000c98d
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x54]
call fcn.1000b3d0
add esi, 0x30
xor edi, edi
push esi
lea ecx, [esp + 0x58]
mov dword [esp + 0xc4], edi
call fcn.1000b4c0
lea ecx, [esp + 0x54]
call fcn.1000b6c0
test eax, eax
jne 0x1000cc85
lea eax, [esp + 0x40]
lea ecx, [esp + 0x54]
push eax
call fcn.1000b700
push eax
call dword [0x1010a44c]
test eax, eax
je 0x1000cea4
mov ecx, dword [esp + 0x50]
push ecx
call fcn.100f6cf4
push eax
push edi
lea ecx, [esp + 0x80]
call fcn.10003f50
mov edx, dword [esp + 0x4c]
mov byte [esp + 0xc0], 1
push edx
call fcn.100f6cf4
push eax
push edi
lea ecx, [esp + 0xac]
call fcn.10003f50
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x8c]
push eax
push 0x18
push ecx
call dword [0x1010917c]
mov eax, dword [esp + 0x90]
test eax, eax
jle 0x1000cc3a
mov eax, dword [esp + 0x94]
xor esi, esi
test eax, eax
jle 0x1000cc2a
mov edx, dword [esp + 0xa8]
push esi
push edi
push edx
call dword [0x10109188]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x7c]
push esi
push edi
push eax
call dword [0x10109188]
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x1000cc1a
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x1000cb8e
xor ecx, ecx
mov edx, eax
mov cl, ah
and eax, 0xff
and ecx, 0xff
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 8]
fild dword [esp + 0x10]
shr edx, 0x10
and edx, 0xff
fmul qword [0x1010b4e0]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, ebx
shr eax, 0x10
fmul qword [0x1010b4d8]
and eax, 0xff
shr ecx, 0x10
faddp st(1)
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
and ecx, 0xff
fmul qword [0x1010b4d0]
faddp st(1)
fmul qword [0x1010ac20]
fld qword [0x1010ac08]
fsub st(1)
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
fmul st(1)
fild dword [esp + 0x10]
fmul st(3)
faddp st(1)
call fcn.100f838a
xor edx, edx
xor ecx, ecx
mov dh, al
xor eax, eax
mov cl, byte [ebp + 9]
mov al, bh
and eax, 0xff
and ecx, 0xff
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
fmul st(1)
fild dword [esp + 0x10]
mov ebx, edx
fmul st(3)
faddp st(1)
call fcn.100f838a
mov edx, dword [ebp + 0xc]
and edx, 0xff
mov bl, al
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
and eax, 0xff
mov dword [esp + 0x10], eax
fmul st(1)
fild dword [esp + 0x10]
shl ebx, 8
fmul st(3)
faddp st(1)
call fcn.100f838a
mov ecx, dword [esp + 0x7c]
and eax, 0xff
or eax, ebx
push eax
push esi
fstp st(0)
push edi
push ecx
fstp st(0)
call dword [0x10109148]
mov ebx, dword [ebp + 0xc]
jmp 0x1000cc1a
xor edx, edx
mov ecx, eax
mov dl, ah
and eax, 0xff
and edx, 0xff
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
shr ecx, 0x10
and ecx, 0xff
fmul qword [0x1010b4e0]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fmul qword [0x1010b4d8]
faddp st(1)
fild dword [esp + 0x10]
fmul qword [0x1010b4d0]
faddp st(1)
fst qword [esp + 0x2c]
fmul qword [0x1010ac20]
fld qword [0x10146668]
call fcn.100f8384
fmul qword [0x1010ac40]
call fcn.100f838a
and eax, 0xff
and eax, 0xff
mov edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
mov eax, dword [esp + 0x7c]
push edx
push esi
push edi
push eax
call dword [0x10109148]
mov eax, dword [esp + 0x94]
inc esi
cmp esi, eax
jl 0x1000ca47
mov ecx, dword [esp + 0x90]
inc edi
cmp edi, ecx
jl 0x1000ca3d
lea ecx, [esp + 0xa4]
call fcn.10004080
lea ecx, [esp + 0x78]
mov byte [esp + 0xc0], 0
call fcn.10004080
lea ecx, [esp + 0x40]
push ecx
call dword [0x1010a444]
push eax
lea ecx, [esp + 0x58]
call fcn.1000b600
mov edx, dword [esp + 0x4c]
mov esi, dword [0x1010915c]
push edx
call esi
mov eax, dword [esp + 0x50]
push eax
call esi
jmp 0x1000cea4
lea ecx, [esp + 0x54]
call fcn.1000bc30
test eax, eax
je 0x1000cea4
lea ecx, [esp + 0x54]
call fcn.1000bc30
lea ecx, [esp + 0x2c]
mov edi, eax
push ecx
lea ecx, [esp + 0x58]
call fcn.1000b760
mov eax, dword [esp + 0x30]
imul eax, dword [esp + 0x2c]
test eax, eax
jbe 0x1000cea4
mov dword [esp + 0x10], eax
xor edx, edx
mov dl, byte [edi + 3]
mov esi, edx
test esi, esi
mov dword [esp + 0x3c], esi
je 0x1000ce92
xor ecx, ecx
mov cl, byte [edi]
mov eax, ecx
shl eax, 8
sub eax, ecx
xor ecx, ecx
cdq
idiv esi
mov cl, byte [edi + 1]
mov dword [esp + 0x24], eax
mov eax, ecx
shl eax, 8
sub eax, ecx
xor ecx, ecx
cdq
idiv esi
mov cl, byte [edi + 2]
mov dword [esp + 0x20], eax
mov eax, ecx
shl eax, 8
sub eax, ecx
cdq
fild dword [esp + 0x20]
idiv esi
fmul qword [0x1010b4e0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
fild dword [esp + 0x14]
test eax, eax
fmul qword [0x1010b4d0]
faddp st(1)
fild dword [esp + 0x24]
fmul qword [0x1010b4d8]
faddp st(1)
je 0x1000cdf4
mov ecx, dword [ebp + 8]
mov eax, ebx
fmul qword [0x1010ac20]
fld qword [0x1010ac08]
shr eax, 0x10
and eax, 0xff
fsub st(1)
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
shr ecx, 0x10
and ecx, 0xff
fmul st(1)
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fmul st(3)
faddp st(1)
call fcn.100f838a
xor edx, edx
and eax, 0xff
mov dl, bh
mov dword [esp + 0x24], eax
and edx, 0xff
xor eax, eax
mov al, byte [ebp + 9]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
and eax, 0xff
mov dword [esp + 0x14], eax
fmul st(1)
fild dword [esp + 0x14]
fmul st(3)
faddp st(1)
call fcn.100f838a
mov ecx, dword [ebp + 8]
and ebx, 0xff
mov dword [esp + 0x14], ebx
and ecx, 0xff
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
and eax, 0xff
mov dword [esp + 0x20], eax
fmul st(1)
fild dword [esp + 0x14]
fmul st(3)
faddp st(1)
call fcn.100f838a
fstp st(0)
and eax, 0xff
fstp st(0)
mov ebx, eax
jmp 0x1000ce39
fst qword [esp + 0x14]
fmul qword [0x1010ac20]
fld qword [0x10146668]
call fcn.100f8384
fmul qword [0x1010ac40]
call fcn.100f838a
fild dword [esp + 0x3c]
and eax, 0xff
mov ebx, eax
fdiv qword [0x10146660]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.100f838a
and eax, 0xff
mov esi, eax
mov eax, dword [esp + 0x24]
imul ebx, esi
imul eax, esi
mov ecx, eax
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x20]
imul eax, esi
mov ecx, eax
mov eax, 0x80808081
mov byte [edi], dl
imul ecx
add edx, ecx
mov eax, 0x80808081
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov byte [edi + 1], dl
imul ebx
add edx, ebx
mov ebx, dword [ebp + 0xc]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov byte [edi + 2], dl
mov eax, dword [esp + 0x10]
add edi, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x1000ccc4
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x3c]
call fcn.1000b4c0
lea ecx, [esp + 0x54]
mov dword [esp + 0xc0], 0xffffffff
call fcn.1000b680
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8