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

Disassembly:
mov r11, rsp
push rbx
push rbp
push rdi
sub rsp, 0xa0
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
mov rax, qword [0x1401f2308]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [r11 - 0x20], rsi
mov rbx, rdx
mov qword [r11 - 0x28], r14
mov rsi, rcx
mov qword [r11 - 0x30], r15
xor r10d, r10d
mov r15d, r8d
mov edi, r9d
mov r8d, dword [rsp + 0xe0]
lea rcx, [rbx + 0x40]
mov edx, r15d
mov ebp, r10d
xorps xmm2, xmm2
xorps xmm6, xmm6
call fcn.14006efd0
mov ecx, dword [rbx + 0x44]
mov r11d, ecx
movss xmm3, dword [0x1401b4dc8]
and r11d, 0x70000000
movss xmm7, dword [0x1401b4dd8]
cvttss2si eax, xmm0
mov dword [rbx + 4], eax
mov eax, ecx
cmp r11d, 0x30000000
jne 0x14006fa6f
shl eax, 4
lea ebp, [r10 + 1]
sar eax, 4
movd xmm6, eax
cvtdq2ps xmm6, xmm6
test ecx, ecx
jns 0x14006fa66
divss xmm6, xmm7
addss xmm6, xmm2
jmp 0x14006faf1
shr eax, 0x1c
and eax, 7
je 0x14006fac3
sub eax, 1
je 0x14006faaa
cmp eax, 1
je 0x14006fa86
xorps xmm0, xmm0
jmp 0x14006faea
mov eax, ecx
shl eax, 4
sar eax, 4
movd xmm1, eax
cvtdq2ps xmm1, xmm1
test ecx, ecx
jns 0x14006fa9d
divss xmm1, xmm7
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
jmp 0x14006faea
mov eax, ecx
shl eax, 4
sar eax, 4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
test ecx, ecx
jns 0x14006faea
divss xmm0, xmm7
jmp 0x14006faea
mov eax, ecx
shl eax, 4
sar eax, 4
movd xmm1, eax
cvtdq2ps xmm1, xmm1
test ecx, ecx
jns 0x14006fada
divss xmm1, xmm7
movd xmm0, r8d
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
mov dword [rbx + 8], eax
lea rcx, [rbx + 0x54]
call fcn.14006efd0
cvttss2si eax, xmm0
lea rcx, [rbx + 0x4c]
mov dword [rbx + 0xc], eax
call fcn.14006efd0
mov ecx, dword [rbx + 0x48]
cvttss2si eax, xmm0
mov dword [rbx + 0x14], eax
mov eax, ecx
and eax, 0x70000000
cmp eax, 0x30000000
mov eax, ecx
jne 0x14006fb44
shl eax, 4
inc ebp
sar eax, 4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
test ecx, ecx
jns 0x14006fb3b
divss xmm0, xmm7
addss xmm6, xmm0
jmp 0x14006fbc6
shr eax, 0x1c
and eax, 7
je 0x14006fb98
sub eax, 1
je 0x14006fb7f
cmp eax, 1
je 0x14006fb5b
xorps xmm0, xmm0
jmp 0x14006fbbf
mov eax, ecx
shl eax, 4
sar eax, 4
movd xmm1, eax
cvtdq2ps xmm1, xmm1
test ecx, ecx
jns 0x14006fb72
divss xmm1, xmm7
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
jmp 0x14006fbbf
mov eax, ecx
shl eax, 4
sar eax, 4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
test ecx, ecx
jns 0x14006fbbf
divss xmm0, xmm7
jmp 0x14006fbbf
mov eax, ecx
shl eax, 4
sar eax, 4
movd xmm1, eax
cvtdq2ps xmm1, xmm1
test ecx, ecx
jns 0x14006fbaf
divss xmm1, xmm7
movd xmm0, r8d
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
divss xmm0, xmm3
cvttss2si eax, xmm0
mov dword [rbx + 0x10], eax
mov ecx, dword [rbx + 0x50]
mov eax, ecx
and eax, 0x70000000
cmp eax, 0x30000000
mov eax, ecx
jne 0x14006fbf6
shl eax, 4
inc ebp
sar eax, 4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
test ecx, ecx
jns 0x14006fbf0
divss xmm0, xmm7
addss xmm6, xmm0
jmp 0x14006fc73
shr eax, 0x1c
and eax, 7
je 0x14006fc45
sub eax, 1
je 0x14006fc2c
cmp eax, 1
jne 0x14006fc6c
mov eax, ecx
shl eax, 4
sar eax, 4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
test ecx, ecx
jns 0x14006fc1f
divss xmm0, xmm7
movd xmm2, edi
cvtdq2ps xmm2, xmm2
mulss xmm2, xmm0
jmp 0x14006fc6c
mov eax, ecx
shl eax, 4
sar eax, 4
movd xmm2, eax
cvtdq2ps xmm2, xmm2
test ecx, ecx
jns 0x14006fc6c
divss xmm2, xmm7
jmp 0x14006fc6c
mov eax, ecx
shl eax, 4
sar eax, 4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
test ecx, ecx
jns 0x14006fc5c
divss xmm0, xmm7
movd xmm2, r8d
cvtdq2ps xmm2, xmm2
mulss xmm2, xmm0
divss xmm2, xmm3
cvttss2si eax, xmm2
mov dword [rbx + 0x18], eax
mov eax, dword [rbx + 0x40]
and eax, 0x70000000
cmp eax, 0x40000000
je 0x14006fc8f
cmp r11d, 0x40000000
jne 0x14006fe97
mov ecx, dword [rbx]
cmp ecx, 1
jne 0x14006fd57
cmp eax, 0x40000000
je 0x14006fcad
mov eax, dword [rsp + 0xe8]
jmp 0x14006fe94
mov eax, dword [rbx + 0x1c]
mov qword [rsp + 0x38], r10
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x44], edi
cmp dword [rbx + 0x20], eax
jle 0x14006fd26
mov rdx, qword [rbx + 0x38]
test rdx, rdx
je 0x14006fcd6
mov rcx, qword [rsi + 8]
call qword [sym.imp.GDI32.dll_SelectObject]
movsxd rax, dword [rbx + 0x1c]
lea r9, [rsp + 0x38]
mov r8d, dword [rbx + 0x20]
mov rcx, rax
sub r8d, eax
mov dword [rsp + 0x20], 0xc20
mov rax, qword [rsi + 0x90]
lea rdx, [rax + rcx*2]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_DrawTextW]
cmp qword [rbx + 0x38], 0
je 0x14006fd1b
mov rdx, qword [rsi + 0x10]
mov rcx, qword [rsi + 8]
call qword [sym.imp.GDI32.dll_SelectObject]
mov r10d, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
jmp 0x14006fd29
mov ecx, r10d
mov eax, dword [rbx + 0x40]
and eax, 0x70000000
cmp eax, 0x40000000
jne 0x14006fd3b
mov dword [rbx + 4], ecx
mov eax, dword [rbx + 0x44]
and eax, 0x70000000
cmp eax, 0x40000000
jne 0x14006fe97
mov dword [rbx + 8], r10d
jmp 0x14006fe97
cmp ecx, 2
jne 0x14006fdbe
mov r9, qword [rbx + 0x30]
test r9, r9
je 0x14006fdbe
cmp eax, 0x40000000
je 0x14006fd79
cmp r11d, 0x40000000
jne 0x14006fe97
lea r8, [rsp + 0x38]
mov edx, 0x20
mov rcx, r9
call qword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [rbx + 0x40]
and eax, 0x70000000
cmp eax, 0x40000000
jne 0x14006fda2
mov eax, dword [rsp + 0x3c]
mov dword [rbx + 4], eax
mov eax, dword [rbx + 0x44]
and eax, 0x70000000
cmp eax, 0x40000000
jne 0x14006fe97
mov eax, dword [rsp + 0x40]
jmp 0x14006fe94
cmp ecx, 5
jne 0x14006fe29
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14006fe97
cmp eax, 0x40000000
je 0x14006fde4
cmp r11d, 0x40000000
jne 0x14006fe97
lea r8, [rsp + 0x34]
mov dword [rsp + 0x30], r10d
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x34], r10d
call qword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
mov eax, dword [rbx + 0x40]
and eax, 0x70000000
cmp eax, 0x40000000
jne 0x14006fe14
mov eax, dword [rsp + 0x30]
mov dword [rbx + 4], eax
mov eax, dword [rbx + 0x44]
and eax, 0x70000000
cmp eax, 0x40000000
jne 0x14006fe97
mov eax, dword [rsp + 0x34]
jmp 0x14006fe94
cmp ecx, 4
jne 0x14006fe60
cmp qword [rbx + 0x30], r10
je 0x14006fe97
cmp eax, 0x40000000
jne 0x14006fe48
movzx ecx, word [rbx + 0x20]
movzx eax, word [rbx + 0x1c]
sub ecx, eax
mov dword [rbx + 4], ecx
cmp r11d, 0x40000000
jne 0x14006fe97
movzx ecx, word [rbx + 0x22]
movzx eax, word [rbx + 0x1e]
sub ecx, eax
mov dword [rbx + 8], ecx
jmp 0x14006fe97
cmp ecx, 3
jne 0x14006fe97
cmp eax, 0x40000000
jne 0x14006fe7a
mov ecx, gethostbyaddr
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rbx + 4], eax
mov eax, dword [rbx + 0x44]
and eax, 0x70000000
cmp eax, 0x40000000
jne 0x14006fe97
mov ecx, gethostbyaddr
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rbx + 8], eax
mov r15, qword [rsp + 0x88]
mov r14, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
test ebp, ebp
je 0x14006ff7d
mov eax, dword [rbx + 0x10]
add eax, dword [rbx + 8]
add eax, dword [rbx + 0x18]
cmp eax, edi
jge 0x14006ff7d
mov ecx, dword [rbx + 0x44]
sub edi, eax
movd xmm1, ebp
mov eax, ecx
cvtdq2ps xmm1, xmm1
and eax, 0x70000000
movd xmm0, edi
divss xmm6, xmm1
cvtdq2ps xmm0, xmm0
mulss xmm6, xmm0
divss xmm6, xmm1
cmp eax, 0x30000000
jne 0x14006ff17
mov eax, ecx
shl eax, 4
sar eax, 4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
test ecx, ecx
jns 0x14006ff0c
divss xmm0, xmm7
mulss xmm0, xmm6
cvttss2si eax, xmm0
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0x48]
mov eax, ecx
and eax, 0x70000000
cmp eax, 0x30000000
jne 0x14006ff4a
mov eax, ecx
shl eax, 4
sar eax, 4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
test ecx, ecx
jns 0x14006ff3f
divss xmm0, xmm7
mulss xmm0, xmm6
cvttss2si eax, xmm0
mov dword [rbx + 0x10], eax
mov ecx, dword [rbx + 0x50]
mov eax, ecx
and eax, 0x70000000
cmp eax, 0x30000000
jne 0x14006ff7d
mov eax, ecx
shl eax, 4
sar eax, 4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
test ecx, ecx
jns 0x14006ff72
divss xmm0, xmm7
mulss xmm0, xmm6
cvttss2si eax, xmm0
mov dword [rbx + 0x18], eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140160900
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
add rsp, 0xa0
pop rdi
pop rbp
pop rbx
ret