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

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov edi, ecx
movss dword [esp + 0x34], xmm1
cmp dword [edi + 0x1c], 0
je 0x101c02b7
mov ecx, dword [esp + 0x74]
call fcn.101bf140
mov esi, dword [edi + 0x40]
mov dword [edi + 0x68], eax
mov ecx, dword [edi + 0x30]
mov edx, dword [edi + 0x34]
mov eax, dword [edi + 0x44]
mov dword [esp + 0x40], ecx
mov ecx, edi
mov dword [esp + 0x4c], eax
mov eax, dword [edi]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], esi
movdqu xmm0, xmmword [esp + 0x40]
mov byte [esp + 0x13], 0
mov byte [esp + 0x74], 0
movdqu xmmword [edi + 0x30], xmm0
call dword [eax + 0x50]
cmp eax, 1
je 0x101bfe1f
mov dword [esp + 0x14], 2
cmp eax, 4
jne 0x101bfe30
mov dword [esp + 0x14], 1
jmp 0x101bfe30
movss xmm0, dword [edi + 0x60]
mov ecx, edi
movss xmm1, dword [esp + 0x34]
mov ebx, dword [edi + 0x48]
movss dword [esp + 0x30], xmm0
call fcn.101bfca0
movss xmm1, dword [esp + 0x30]
xor ecx, ecx
xorps xmm0, xmm0
mov dword [esp + 0x28], ecx
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x101bfe89
ucomiss xmm1, dword [0x10588df0]
lahf
test ah, 0x44
jnp 0x101bfe89
movd xmm0, dword [edi + 0x30]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [edi + 0x60]
divss xmm0, xmm1
cvttss2si ecx, xmm0
mov dword [esp + 0x28], ecx
mov eax, dword [edi]
mov esi, 1
mov dword [edi + 0x30], ecx
xor ebp, ebp
xor ecx, ecx
mov dword [esp + 0x40], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ecx
mov ecx, edi
mov dword [esp + 0x44], 0
mov dword [esp + 0x1c], esi
call dword [eax + 4]
cmp eax, esi
jl 0x101c000d
push esi
mov ecx, edi
call fcn.101bf650
mov esi, eax
cmp byte [esi], 0
je 0x101bffe8
push ecx
push dword [esp + 0x20]
lea eax, [esp + 0x68]
mov ecx, edi
push eax
call fcn.101bf1b0
movss xmm1, dword [edi + 0x60]
cvtps2pd xmm0, xmm1
mov edx, dword [esp + 0x18]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], ebx
mulsd xmm0, qword [esp + 0x60]
addsd xmm0, qword [0x10588a70]
cvttsd2si ecx, xmm0
cvtps2pd xmm0, xmm1
mov dword [esp + 0x58], ecx
mulsd xmm0, qword [esp + 0x68]
addsd xmm0, qword [0x10588a70]
cvttsd2si eax, xmm0
cmp edx, eax
mov dword [esp + 0x5c], eax
cmovl edx, eax
cmp byte [esp + 0x74], 0
mov dword [esp + 0x18], edx
jne 0x101bff47
lea eax, [ebx + edx]
cmp dword [edi + 0x3c], eax
jl 0x101c0029
cmp dword [esp + ebp*4 + 0x40], ecx
jge 0x101bff51
mov dword [esp + ebp*4 + 0x40], ecx
cmp byte [esp + 0x13], 0
jne 0x101bff7f
cmp dword [esp + 0x14], 2
jne 0x101bff68
mov ecx, dword [edi + 0x58]
add ecx, dword [esp + 0x44]
jmp 0x101bff6a
xor ecx, ecx
mov eax, dword [edi + 0x54]
add eax, dword [edi + 0x4c]
add eax, ecx
add eax, dword [esp + 0x40]
cmp dword [edi + 0x38], eax
jl 0x101c0085
movdqu xmm0, xmmword [esp + 0x50]
mov ecx, dword [esp + 0x14]
inc ebp
movdqu xmmword [esi + 0x50], xmm0
cmp ebp, ecx
jne 0x101bffa4
mov eax, dword [edi + 0x5c]
add eax, edx
mov dword [esp + 0x18], 0
add ebx, eax
xor ebp, ebp
cmp ecx, 1
jne 0x101bffe8
cmp byte [edi + 0x14], 0
je 0x101bffe8
cmp dword [esi + 8], 0
lea eax, [esi + 8]
jl 0x101bffe8
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [edi + 0x70]
call fcn.100d5c30
mov eax, dword [esp + 0x38]
cmp eax, dword [edi + 0x70]
je 0x101bffe8
mov byte [eax + 0x14], 1
mov dword [eax + 0x28], ebx
mov ecx, dword [eax + 0x20]
mov dword [eax + 0x30], ecx
mov eax, dword [eax + 0x20]
add eax, dword [edi + 0x5c]
add ebx, eax
add dword [esp + 0x20], eax
mov esi, dword [esp + 0x1c]
mov ecx, edi
mov eax, dword [edi]
inc esi
mov dword [esp + 0x1c], esi
call dword [eax + 4]
cmp esi, eax
jle 0x101bfec0
test ebp, ebp
je 0x101c000d
mov eax, dword [edi + 0x5c]
add eax, dword [esp + 0x18]
add ebx, eax
mov eax, dword [edi + 0x50]
sub eax, dword [edi + 0x5c]
add eax, ebx
cmp byte [esp + 0x74], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
jne 0x101c003e
cmp eax, dword [edi + 0x3c]
jle 0x101c003e
push 2
mov byte [esp + 0x78], 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub dword [edi + 0x38], eax
jmp 0x101bfe30
cmp dword [esp + 0x14], 2
jne 0x101c0063
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [esp + 0x44]
cmp eax, 1
mov eax, dword [edi + 0x58]
cmove ecx, dword [esp + 0x40]
mov dword [esp + 0x44], ecx
add eax, ecx
jmp 0x101c0065
xor eax, eax
mov ebp, dword [edi + 0x54]
add ebp, dword [edi + 0x4c]
add ebp, eax
add ebp, dword [esp + 0x40]
cmp byte [esp + 0x13], 0
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
jne 0x101c009a
cmp ebp, dword [edi + 0x38]
jle 0x101c009a
push 3
mov byte [esp + 0x17], 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub dword [edi + 0x3c], eax
jmp 0x101bfe30
mov ecx, dword [edi + 0x38]
xor eax, eax
mov dword [esp + 0x1c], eax
cmp ebp, ecx
jge 0x101c00c1
mov dword [edi + 0x30], eax
mov eax, ecx
sub eax, ebp
mov ebp, ecx
cdq
sub eax, edx
mov dword [esp + 0x24], ebp
sar eax, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ebp
mov ecx, dword [edi + 0x54]
xor esi, esi
add ecx, eax
mov dword [esp + 0x74], esi
mov eax, dword [edi]
mov ebx, 1
mov dword [esp + 0x38], ecx
mov ecx, edi
mov dword [esp + 0x18], ebx
call dword [eax + 4]
cmp eax, ebx
jl 0x101c01d7
mov ebp, dword [esp + 0x38]
lea esp, [esp]
push ebx
mov ecx, edi
call fcn.101bf650
mov ebx, eax
cmp byte [ebx], 0
je 0x101c01b7
mov ecx, dword [esp + 0x14]
cmp ecx, 1
jne 0x101c011f
mov eax, dword [esp + 0x40]
sub eax, dword [ebx + 0x58]
cdq
sub eax, edx
sar eax, 1
add eax, ebp
mov dword [ebx + 0x50], eax
jmp 0x101c0134
test esi, esi
jne 0x101c0131
mov eax, ebp
sub eax, dword [ebx + 0x58]
add eax, dword [esp + 0x40]
mov dword [ebx + 0x50], eax
jmp 0x101c0134
mov dword [ebx + 0x50], ebp
mov eax, dword [esp + esi*4 + 0x40]
inc esi
add eax, dword [edi + 0x58]
add ebp, eax
mov dword [esp + 0x74], esi
cmp esi, ecx
jne 0x101c0155
mov ebp, dword [edi + 0x54]
add ebp, dword [esp + 0x1c]
mov dword [esp + 0x74], 0
cmp ecx, 1
jne 0x101c01b7
cmp byte [edi + 0x14], 0
je 0x101c01b7
cmp dword [ebx + 8], 0
lea eax, [ebx + 8]
jl 0x101c01b7
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [edi + 0x70]
call fcn.100d5c30
mov ecx, dword [esp + 0x38]
cmp ecx, dword [edi + 0x70]
je 0x101c01b7
mov eax, dword [ecx + 0x1c]
lea edx, [ecx + 0x1c]
lea esi, [ebx + 0x58]
mov dword [esp + 0x34], eax
cmp dword [esi], eax
jg 0x101c0196
mov eax, dword [ebx + 0x50]
jmp 0x101c01a8
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x34]
cdq
sub eax, edx
lea edx, [ecx + 0x1c]
sar eax, 1
add eax, ebp
mov dword [ecx + 0x24], eax
mov eax, dword [edx]
cmp eax, dword [esi]
cmovl esi, edx
mov eax, dword [esi]
mov dword [ecx + 0x2c], eax
mov ebx, dword [esp + 0x18]
mov ecx, edi
mov eax, dword [edi]
inc ebx
mov dword [esp + 0x18], ebx
call dword [eax + 4]
mov esi, dword [esp + 0x74]
cmp ebx, eax
jle 0x101c00f0
mov ebp, dword [esp + 0x24]
mov ecx, dword [edi + 0x38]
mov eax, ecx
sub eax, ebp
add eax, dword [esp + 0x28]
test eax, eax
jle 0x101c01ed
mov eax, ebp
sub eax, ecx
mov dword [edi + 0x30], eax
mov bl, byte [edi + 0x16]
xor eax, eax
mov esi, dword [esp + 0x20]
test bl, bl
mov ecx, dword [esp + 0x30]
mov edx, dword [edi + 0x3c]
cmovne esi, eax
mov eax, ecx
mov byte [edi + 0x15], 1
sub eax, esi
cmp eax, edx
jge 0x101c0288
test bl, bl
jne 0x101c0215
mov byte [edi + 0x15], bl
sub edx, ecx
mov ebx, 1
mov ecx, edi
lea eax, [esi + edx]
cdq
sub eax, edx
mov edx, dword [edi]
mov esi, eax
sar esi, 1
add esi, dword [edi + 0x48]
mov dword [esp + 0x74], esi
call dword [edx + 4]
cmp eax, ebx
jl 0x101c0290
push ebx
mov ecx, edi
call fcn.101bf650
cmp byte [eax], 0
je 0x101c027a
add dword [eax + 0x54], esi
add eax, 8
cmp dword [eax], 0
jl 0x101c027a
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [edi + 0x70]
call fcn.100d5c30
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x74]
cmp eax, dword [edi + 0x70]
je 0x101c027a
cmp byte [edi + 0x16], 0
jne 0x101c0277
mov byte [eax + 0x14], 0
jmp 0x101c027a
add dword [eax + 0x28], esi
mov eax, dword [edi]
mov ecx, edi
inc ebx
call dword [eax + 4]
cmp ebx, eax
jle 0x101c0238
jmp 0x101c0290
test esi, esi
jle 0x101c0290
mov byte [edi + 0x16], 1
cmp ebp, dword [edi + 0x38]
lea ecx, [edi + 0x38]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
cmovl eax, ecx
lea esi, [edi + 0x3c]
cmp edx, dword [esi]
mov ecx, dword [eax]
lea eax, [esp + 0x3c]
cmovl eax, esi
mov eax, dword [eax]
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 4