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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x1029912c]
xor eax, esp
mov dword [esp + 0xb4], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x3c], edx
mov esi, ecx
push 0
push 1
xor edx, edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], 0
call fcn.10181420
mov ecx, eax
xor edx, edx
add esp, 0xc
mov dword [esp + 0x28], edx
test ecx, ecx
jne 0x10183980
mov edi, dword [esp + 0x18]
nop dword [eax]
mov eax, dword [esi + 0x1c]
sub eax, dword [ebp + 8]
cmp edx, eax
jge 0x10183964
mov eax, dword [edi + 0x18]
xorps xmm0, xmm0
xor esi, esi
movlpd qword [esp + 0x18], xmm0
xorps xmm1, xmm1
movsd qword [esp + 0x40], xmm0
movsd qword [esp + 0x48], xmm1
movzx ecx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl ecx, 8
add eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
je 0x101838e2
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x50]
push eax
push esi
mov edx, edi
call fcn.101818f0
movaps xmm0, xmmword [esp + 0x58]
lea edx, [esp + 0x88]
mov ecx, dword [esp + 0x1c]
movaps xmmword [esp + 0x88], xmm0
movaps xmm0, xmmword [esp + 0x68]
movaps xmmword [esp + 0x98], xmm0
movaps xmm0, xmmword [esp + 0x78]
movaps xmmword [esp + 0xa8], xmm0
call fcn.10183420
push dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x8c]
movsd qword [esp + 0x3c], xmm0
call fcn.10183590
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x8c]
add esp, 0xc
call fcn.10183420
subsd xmm0, qword [esp + 0x30]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x50]
movsd qword [esp + 0x30], xmm0
call fcn.10183420
movaps xmm2, xmm0
movsd xmm0, qword [esp + 0x30]
test esi, esi
je 0x101838af
movsd xmm1, qword [esp + 0x40]
comisd xmm1, xmm0
ja 0x101838af
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jp 0x101838cd
movsd xmm1, qword [esp + 0x48]
comisd xmm1, xmm2
jbe 0x101838cd
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
movsd qword [esp + 0x40], xmm0
movsd qword [esp + 0x48], xmm2
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
jmp 0x101838d5
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
inc esi
cmp esi, dword [esp + 0x24]
jl 0x101837f2
jmp 0x101838e6
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x3c]
push edx
push eax
push ecx
mov edx, edi
mov ecx, esi
call fcn.10181420
add esp, 0xc
mov ecx, eax
add dword [edi + 0x10], 0xffffffff
mov dword [esp + 0x24], ecx
jne 0x1018394f
dec dword [esi + 0x3c]
cmp dword [edi + 8], 1
jne 0x1018391f
cmp dword [edi + 0xc], 0
jne 0x1018391f
mov dword [esi + 0x1c], 0xffffffff
mov edx, dword [edi]
test edx, edx
je 0x10183930
mov ecx, esi
call fcn.10181880
test eax, eax
jne 0x10183939
mov edx, edi
mov ecx, esi
call fcn.10181780
mov edx, edi
mov ecx, esi
call fcn.10181360
push edi
call fcn.100dfd40
mov ecx, dword [esp + 0x28]
add esp, 4
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x3c]
inc edx
mov dword [esp + 0x28], edx
test ecx, ecx
je 0x101837a0
mov eax, dword [esp + 0x2c]
mov dword [eax], edi
mov eax, ecx
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.101d506b
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
mov dword [edi], eax
mov eax, ecx
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
xor ecx, esp
call fcn.101d506b
mov esp, ebp
pop ebp
ret