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

Disassembly:
mov eax, 0x12a0
call fcn.1026a090
mov eax, dword [0x10597da4]
xor eax, esp
mov dword [esp + 0x129c], eax
mov ecx, dword [esp + 0x12a4]
push esi
mov dword [esp + 0x6c], ecx
push edi
mov eax, dword [ecx + 0x2c]
lea edi, [ecx + 0xd58]
imul eax, dword [ecx + 0x28]
mov esi, dword [ecx]
mov dword [esp + 0x48], edi
mov edx, eax
sar edx, 3
mov dword [esp + 0x6c], edx
mov edx, dword [esi + 0x3c]
lea eax, [eax + eax*2]
mov dword [esp + 0x68], edx
mov edx, dword [ecx + 0x5884]
mov ecx, dword [ecx + 0x5874]
shl eax, 7
mov dword [esp + 0x10], edx
cdq
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x18], edx
cdq
mov dword [esp + 0x1c], ecx
mov ecx, eax
or ecx, edx
je 0x101ca9bc
mov edi, 1
jmp 0x101ca9be
xor edi, edi
movss xmm3, dword [esi + 4]
movss xmm1, dword [0x103f96e0]
movss xmm0, dword [esi + 0x14]
mov dword [esp + 0x44], edi
mov dword [esp + 0x34], 1
movss dword [esp + 0x60], xmm1
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x5c], xmm3
test edi, edi
je 0x101caa01
mov ecx, eax
call fcn.1026a400
movsd qword [esp + 0x20], xmm0
jmp 0x101caa1d
comiss xmm0, dword [0x103f929c]
jbe 0x101caa0f
cvtps2pd xmm0, xmm0
jmp 0x101caa17
movsd xmm0, qword [0x102f0b00]
movsd qword [esp + 0x20], xmm0
mov esi, dword [esp + 0x70]
xorps xmm2, xmm2
push esi
movsd qword [esp + 0xc], xmm2
call fcn.101cb820
add esp, 4
test eax, eax
jne 0x101caa4e
pop edi
pop esi
mov ecx, dword [esp + 0x129c]
xor ecx, esp
call fcn.1026a6d5
add esp, 0x12a0
ret
mov edx, dword [esp + 0x6c]
mov eax, 0x60
movss xmm1, dword [0x103f96e0]
cmp edx, eax
cmovl edx, eax
mov dword [esp + 0x6c], edx
mov ecx, dword [esp + 0x68]
nop dword [eax]
mov eax, ecx
mov dword [esp + 0x14], ecx
dec ecx
mov dword [esp + 0x68], ecx
test eax, eax
jle 0x101caebd
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x103f9458]
andps xmm0, xmmword [0x103f9bc0]
comisd xmm1, xmm0
jae 0x101caab0
test ecx, ecx
je 0x101caab0
cmp dword [esi + 0x5878], 0
mov dword [esp + 0x54], 0
jne 0x101caab8
mov dword [esp + 0x54], 1
lea eax, [esp + 0x74]
xorps xmm0, xmm0
push eax
push esi
movlpd qword [esp + 0x44], xmm0
mov edi, edx
movlpd qword [esp + 0x54], xmm0
call fcn.101e6e50
movss xmm0, dword [esp + 0x64]
add esp, 4
movss dword [esp], xmm0
push esi
call fcn.101cbf40
add esp, 8
cmp dword [esp + 0x54], 0
je 0x101cab15
push 0x1080
lea eax, [esi + 0x117c]
push 0
push eax
call fcn.1026e960
lea eax, [esp + 0x80]
push eax
call fcn.101ea520
add esp, 0x10
add esi, 0x158
push esi
mov dword [esp + 0x30], esi
call fcn.101c8e10
mov eax, dword [esp + 0x40]
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x50], eax
lea eax, [esp + 0x74]
push 0
push eax
call fcn.101e7010
add esp, 8
sub edi, 1
jns 0x101cab73
mov edi, dword [esp + 0x48]
push edi
call fcn.101cb2b0
push edi
call fcn.101eaf20
mov edi, dword [esp + 0x74]
add esp, 8
push dword [esp + 0x1c]
lea eax, [esp + 0xf38]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.101e7ee0
push esi
lea eax, [esp + 0xf44]
push eax
lea eax, [esp + 0x88]
push eax
call fcn.101cbce0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x101cae85
mov eax, dword [esp + 0x58]
add eax, dword [esp + 0xf44]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
adc eax, dword [esp + 0xf48]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x50]
add eax, dword [esp + 0xf34]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x40]
adc eax, dword [esp + 0xf38]
cmp dword [esp + 0x54], 0
mov dword [esp + 0x40], eax
je 0x101cac21
lea eax, [esp + 0x74]
push eax
call fcn.101cc5f0
lea eax, [esp + 0x78]
push eax
call fcn.101ea5c0
lea eax, [esp + 0x7c]
push eax
call fcn.101e7240
lea eax, [esp + 0x80]
push 0x14
push eax
call fcn.101e7540
add esp, 0x14
mov esi, eax
lea eax, [esp + 0x74]
push eax
call fcn.101e7370
add esp, 4
test esi, esi
je 0x101cae96
lea eax, [esp + 0x74]
push eax
call fcn.101e7310
mov esi, dword [esp + 0x30]
add esp, 4
test eax, eax
jne 0x101cab48
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0x64]
mov eax, dword [eax + 0x20]
cdq
add esi, eax
mov dword [esp + 0x58], esi
adc ecx, edx
cmp dword [esp + 0x44], 0
mov dword [esp + 0x64], ecx
je 0x101cacc5
push dword [esp + 0x48]
call fcn.101cb2b0
mov ecx, dword [esp + 0x4c]
add ecx, 4
cdq
push ecx
push dword [esp + 0x34]
mov esi, eax
mov edi, edx
call fcn.101c9890
xor edx, edx
add esp, 0xc
add eax, esi
mov esi, dword [esp + 0x58]
adc edx, edi
add eax, esi
adc edx, dword [esp + 0x64]
add eax, 0x400
adc edx, 0
shrd eax, edx, 0xb
shr edx, 0xb
add eax, 0x1e
mov ecx, eax
adc edx, 0
call fcn.1026a400
movaps xmm2, xmm0
jmp 0x101cad2a
mov edi, dword [esp + 0x40]
test edi, edi
jne 0x101cacd3
cmp dword [esp + 0x50], edi
jbe 0x101cace3
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
test edx, edx
jne 0x101caced
test eax, eax
jne 0x101caced
movsd xmm2, qword [0x102ee800]
jmp 0x101cad2e
mov ecx, eax
call fcn.1026a400
mulsd xmm0, qword [0x102ee808]
mov edx, edi
mov ecx, dword [esp + 0x50]
movsd qword [esp + 0x28], xmm0
call fcn.1026a400
movsd xmm1, qword [esp + 0x28]
divsd xmm1, xmm0
movaps xmm0, xmm1
call fcn.10282a00
movaps xmm2, xmm0
mulsd xmm2, qword [0x102ab578]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0x5878]
test eax, eax
jle 0x101cad83
test ecx, ecx
jne 0x101cad48
cmp esi, 0x3fc00000
jbe 0x101cad83
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x14]
movss xmm1, dword [esp + 0x60]
mov edx, dword [esp + 0x6c]
sar eax, 1
cmp dword [esp + 0x54], 0
mov dword [esp + 0x68], ecx
mov dword [esi + 0x5878], eax
je 0x101caa70
lea eax, [esp + 0x74]
push eax
call fcn.101cbec0
add esp, 4
jmp 0x101caa68
cmp dword [esp + 0x54], 0
mov esi, dword [esp + 0x70]
jne 0x101caebd
cmp dword [esp + 0x10], 0
movss xmm1, dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
je 0x101caa70
cmp dword [esp + 0x34], 0
je 0x101cadda
comisd xmm2, xmmword [esp + 0x20]
jbe 0x101cadcc
xorps xmm1, xmmword [0x103f9be0]
xor ecx, ecx
movaps xmm0, xmm1
mov dword [esp + 0x34], ecx
jmp 0x101cae13
movss xmm0, dword [esp + 0x60]
xor ecx, ecx
mov dword [esp + 0x34], ecx
jmp 0x101cae13
movsd xmm0, qword [esp + 8]
ucomisd xmm2, xmm0
lahf
test ah, 0x44
jnp 0x101cae22
movsd xmm1, qword [esp + 0x20]
subsd xmm0, xmm2
subsd xmm1, xmm2
divsd xmm1, xmm0
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [esp + 0x5c]
cvtps2pd xmm0, xmm0
mulsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss xmm1, dword [0x102f0b08]
comiss xmm1, xmm0
jbe 0x101cae25
jmp 0x101cae31
xorps xmm0, xmm0
movss xmm1, dword [0x102aa9d4]
minss xmm1, xmm0
movss xmm0, dword [esp + 0x5c]
movaps xmm3, xmm0
movsd qword [esp + 8], xmm2
addss xmm0, xmm1
movss dword [esp + 0x60], xmm1
xorps xmm2, xmm2
movss dword [esp + 0x30], xmm3
comiss xmm2, xmm0
movss dword [esp + 0x5c], xmm0
jbe 0x101cae69
movss dword [esp + 0x5c], xmm2
jmp 0x101caa68
movss xmm2, dword [0x103f9710]
comiss xmm0, xmm2
jbe 0x101caa68
movss dword [esp + 0x5c], xmm2
jmp 0x101caa68
mov eax, dword [esp + 0x70]
push 1
push dword [eax + 4]
call fcn.101b54e0
add esp, 8
xor eax, eax
push eax
lea eax, [esp + 0x78]
push eax
call fcn.101cb720
mov ecx, dword [esp + 0x12ac]
add esp, 8
pop edi
pop esi
xor ecx, esp
call fcn.1026a6d5
add esp, 0x12a0
ret
cmp dword [esp + 0x44], 0
lea edi, [esi + 0xd58]
jne 0x101caed3
push edi
call fcn.101cb2b0
add esp, 4
push 1
lea eax, [edi + 4]
push eax
lea eax, [esi + 0x58]
push eax
lea eax, [esi + 0x158]
push eax
call fcn.101c8e70
add esp, 0x10
test eax, eax
je 0x101cae96
lea eax, [esi + 0x170]
push eax
mov eax, dword [eax]
add eax, 0x14
push eax
push dword [esi + 4]
call fcn.101b54f0
add esp, 0xc
test eax, eax
je 0x101cae96
mov eax, 1
jmp 0x101cae98