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

Disassembly:
sub esp, 0x48
push ebx
push ebp
push edi
mov edi, dword [esp + 0x58]
xor edx, edx
mov ebx, dword [edi]
mov eax, dword [ebx + 0xc8]
shl eax, 0x1e
add eax, dword [ebx + 0xcc]
div dword [ebx + 0xe4]
mov ebp, eax
mov eax, dword [ebx + 0xec]
mov dword [esp + 0x1c], ebp
test eax, eax
jne 0x101407ee
mov ecx, dword [ebx + 0xe8]
mov eax, 0x1000
test ecx, ecx
movd xmm0, ebp
cvtdq2pd xmm0, xmm0
cmove ecx, eax
mov eax, ebp
shr eax, 0x1f
movd xmm1, ecx
addsd xmm0, qword [eax*8 + 0x10258540]
cvtdq2pd xmm1, xmm1
shr ecx, 0x1f
addsd xmm1, qword [ecx*8 + 0x10258540]
mulsd xmm1, qword [0x10259240]
divsd xmm0, xmm1
call fcn.1021efa0
push eax
call fcn.1012e140
mov dword [esp + 0x18], eax
lea eax, [esp + 0x5c]
push eax
push 0x1c
push 1
push edi
call fcn.100dc7a0
add esp, 0x14
test eax, eax
jne 0x10140d06
mov eax, dword [esp + 0x58]
xorps xmm0, xmm0
cmp dword [esp + 0x5c], 0
push esi
push ebp
mov dword [eax + 8], 0
mov eax, dword [esp + 0x60]
mov dword [eax + 0xc], 0
mov ecx, dword [esp + 0x60]
lea eax, [ecx + 0xc]
mov dword [ecx + 0x10], eax
mov ecx, 6
mov eax, dword [esp + 0x60]
mov dword [eax + 0x14], edi
mov eax, 4
cmovne eax, ecx
movlpd qword [esp + 0x38], xmm0
mov dword [esp + 0x58], eax
lea eax, [esp + 0x2c]
push eax
push edi
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x58], xmm0
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], 4
mov dword [esp + 0x3c], 0
call fcn.100f2f50
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10140c88
test byte [esp + 0x54], 1
je 0x10140a6c
mov ecx, dword [edi]
xor edx, edx
mov eax, dword [ecx + 0xc8]
mov ebp, dword [ecx + 0xe4]
shl eax, 0x1e
add eax, dword [ecx + 0xcc]
div ebp
xor edx, edx
mov esi, eax
mov eax, dword [ecx + 0xd0]
shl eax, 0x1e
add eax, dword [ecx + 0xd4]
mov ecx, esi
shr ecx, 1
add eax, ecx
div esi
cmp eax, ebp
cmova ebp, eax
mov eax, dword [esp + 0x5c]
add eax, 0x18
mov dword [esp + 0x24], ebp
push eax
push 0x30
push ebp
push edi
call fcn.100dc7a0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10140c88
mov eax, dword [esp + 0x5c]
movups xmm0, xmmword [esp + 0x28]
mov eax, dword [eax + 0x18]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x38]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [esp + 0x48]
movups xmmword [eax + 0x20], xmm0
cmp ebp, 1
jbe 0x10140947
mov ecx, 0x30
lea edx, [ebp - 1]
nop
mov eax, dword [esp + 0x5c]
lea ecx, [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [eax + ecx - 0x28], 0
sub edx, 1
jne 0x10140930
push ebp
push dword [esp + 0x1c]
push 0
push dword [esp + 0x68]
push edi
call fcn.10140310
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x10140c88
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0x18]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov eax, dword [edx]
mov dword [esp + 0x10], ecx
test byte [eax + 0x9c], 0x40
je 0x10140986
mov ecx, dword [ecx + 0x2c]
jmp 0x10140993
add ecx, dword [edx + 0x14]
mov dword [esp + 0x10], ecx
mov ecx, dword [ecx + 0x2c]
add ecx, dword [edx + 0x14]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov eax, dword [ebx + 0xe4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], 1
cmp eax, 1
jbe 0x10140ba4
mov ebp, 0x30
nop dword [eax + eax]
mov eax, dword [esp + 0x5c]
push dword [esp + 0x20]
mov eax, dword [eax + 0x18]
mov dword [eax + ebp], edi
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x18]
mov dword [eax + ebp + 4], 4
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x18]
mov dword [eax + ebp + 8], 0
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x18]
mov dword [eax + ebp + 0x2c], 2
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x18]
add eax, ebp
push eax
push edi
call fcn.100f2f50
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10140c88
push dword [esp + 0x24]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x68]
push edi
call fcn.10140310
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x10140c88
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + ebp + 8]
add ebp, 0x30
mov dword [edx + ecx*4], eax
inc ecx
mov eax, dword [ebx + 0xe4]
mov dword [esp + 0x14], ecx
cmp ecx, eax
jb 0x101409c0
jmp 0x10140ba4
mov eax, dword [esp + 0x28]
test byte [eax + 0x9c], 0x40
mov eax, dword [esp + 0x34]
mov ebp, dword [eax + 0xc]
jne 0x10140a84
add ebp, dword [esp + 0x3c]
mov eax, dword [ebp + 0x24]
mov dword [ebx + 0xe4], eax
mov eax, dword [esp + 0x5c]
add eax, 0x18
mov dword [esp + 0x10], ebp
push eax
push 0x30
push dword [ebp + 0x10]
push edi
call fcn.100dc7a0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10140c88
xor ecx, ecx
cmp dword [ebx + 0xe4], ecx
jbe 0x10140adb
xor edx, edx
nop dword [eax]
mov eax, dword [esp + 0x5c]
lea edx, [edx + 0x30]
inc ecx
mov eax, dword [eax + 0x18]
mov dword [eax + edx - 0x28], 0
cmp ecx, dword [ebx + 0xe4]
jb 0x10140ac0
mov eax, dword [esp + 0x5c]
movups xmm0, xmmword [esp + 0x28]
mov eax, dword [eax + 0x18]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x38]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [esp + 0x48]
movups xmmword [eax + 0x20], xmm0
mov eax, dword [esp + 0x5c]
mov esi, dword [eax + 0x18]
mov eax, dword [esi]
test byte [eax + 0x9c], 0x40
je 0x10140b13
mov esi, dword [ebp + 0x2c]
jmp 0x10140b19
mov esi, dword [esi + 0x14]
add esi, dword [ebp + 0x2c]
mov eax, dword [ebx + 0xe4]
mov edx, 1
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edx
cmp eax, edx
jbe 0x10140ba8
mov ebp, 0x30
mov eax, dword [esp + 0x5c]
push 0
mov eax, dword [eax + 0x18]
mov dword [eax + ebp], edi
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x18]
mov dword [eax + ebp + 4], 4
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x18]
mov eax, dword [esi + edx*4]
mov dword [ecx + ebp + 8], eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x18]
mov dword [eax + ebp + 0x2c], 4
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 0x18]
add eax, ebp
push eax
push edi
call fcn.100f2f50
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10140c88
mov edx, dword [esp + 0x1c]
add ebp, 0x30
mov eax, dword [ebx + 0xe4]
inc edx
mov esi, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
cmp edx, eax
jb 0x10140b35
mov ebp, dword [esp + 0x10]
test eax, eax
je 0x10140be2
xor ecx, ecx
xor ebp, ebp
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0x18]
mov eax, dword [edx + ecx + 0xc]
mov esi, dword [eax + 0xc]
mov eax, dword [edx + ecx]
test byte [eax + 0x9c], 0x40
jne 0x10140bce
add esi, dword [edx + ecx + 0x14]
mov dword [edx + ecx + 0x18], esi
inc ebp
add ecx, 0x30
cmp ebp, dword [ebx + 0xe4]
jb 0x10140bb0
mov ebp, dword [esp + 0x10]
push dword [esp + 0x5c]
push 8
push 0x11
push edi
call fcn.101337a0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10140c88
mov eax, dword [esp + 0x5c]
mov esi, dword [edi]
mov dword [edi + 0x78], eax
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x10140c20
push eax
push edi
call fcn.100dbf50
add esp, 8
test eax, eax
jne 0x10140c71
mov eax, dword [esi + 0xd8]
test eax, eax
je 0x10140c2d
mov dword [ebp + 0x14], eax
mov eax, dword [esi + 0xdc]
test eax, eax
je 0x10140c3a
mov dword [ebp + 0x18], eax
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x10140c47
mov dword [ebp + 0x1c], eax
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x10140c54
mov dword [ebp + 0x20], eax
mov eax, dword [edi + 0x78]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x10140c7e
push eax
push edi
call fcn.100dc5b0
add esp, 8
test eax, eax
je 0x10140c7e
pop esi
pop edi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x48
ret
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x48
ret
mov edx, dword [esp + 0x5c]
mov dword [edi + 0x78], 0
mov eax, dword [edx + 0x18]
test eax, eax
je 0x10140cef
cmp dword [eax + 0x14], 0
je 0x10140cef
xor ebp, ebp
cmp dword [ebx + 0xe4], ebp
jbe 0x10140cdf
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov eax, dword [edx + 0x18]
add eax, ecx
cmp dword [eax + 8], 0
je 0x10140ccf
push 0
push eax
push edi
call fcn.100f3090
mov edx, dword [esp + 0x68]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
inc ebp
add ecx, 0x30
mov dword [esp + 0x1c], ecx
cmp ebp, dword [ebx + 0xe4]
jb 0x10140cb0
push dword [edx + 0x18]
push edi
call fcn.100dc7e0
mov edx, dword [esp + 0x64]
add esp, 8
push edx
push edi
call fcn.101339e0
push dword [esp + 0x64]
push edi
call fcn.100dc7e0
add esp, 0x10
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x48
ret