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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x58]
sub rsp, 0x158
mov qword [rbp - 0x50], 0xfffffffffffffffe
movaps xmmword [rax - 0x58], xmm6
mov r13, rcx
cmp dword [rcx + 0x38], 0
je 0x14008f5de
lea rcx, [0x1402dc840]
call fcn.1400ab000
test eax, eax
je 0x14008f024
cmp byte [r13 + 0xa4], 0xff
je 0x14008f024
mov edx, 0xffffffec
mov r8d, 0x80088
mov rcx, qword [0x1402dd258]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
movzx eax, byte [r13 + 0xa4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [r13 + 0x2f0]
divss xmm0, dword [r13 + 0x2f4]
cvttss2si r8, xmm0
mov r9d, 3
mov edx, dword [r13 + 0x88]
mov rcx, qword [0x1402dd258]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
jmp 0x14008f03c
mov edx, 0xffffffec
mov r8d, 0x88
mov rcx, qword [0x1402dd258]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, qword [0x1402dd258]
call qword [sym.imp.USER32.dll_BringWindowToTop]
xor r12d, r12d
mov word [rsp + 0x70], r12w
xor eax, eax
mov qword [rsp + 0x72], rax
mov qword [rsp + 0x7a], rax
mov dword [rbp - 0x7e], eax
mov dword [rbp - 0x20], r12d
xor edx, edx
lea r8d, [r12 + 0x54]
lea rcx, [rbp - 0x1c]
call fcn.14011fa60
mov r9, qword [0x1402dd4a0]
mov qword [rsp + 0x60], r9
movzx eax, word [r13 + 0xac]
cmp ax, word [0x140165848]
je 0x14008f105
test byte [0x1402d741c], 4
je 0x14008f0ba
lea r9, [r13 + 0xac]
lea r8, str.Module_name_passed_for_resource___s_n
lea edx, [r12 + 3]
lea rcx, str.CSynOSD::DrawOSDControls
call fcn.14011a590
xor edx, edx
lea r8d, [rdx + 2]
lea rcx, [r13 + 0xac]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov r9, rax
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x14008f105
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea r9, [r13 + 0xac]
lea r8, str.Couldnt_load_resource_module__s._Error_d_n
xor edx, edx
lea rcx, str.CSynOSD::DrawOSDControls
call fcn.14011a590
mov r9, qword [rsp + 0x60]
movzx ecx, word [r13 + 0xa8]
mov word [rsp + 0x70], cx
mov r14d, 1
mov edx, dword [r13 + 0x10]
mov rax, qword [r13 + 0x60]
cmp rax, qword [r13 + 0x68]
je 0x14008f5c7
mov rcx, qword [rax]
test rcx, rcx
je 0x14008f137
cmp dword [rcx + 8], edx
je 0x14008f13d
add rax, 8
jmp 0x14008f120
lea rdi, [rcx + 0xf0]
mov qword [rsp + 0x68], rdi
test rdi, rdi
je 0x14008f5c7
xor r10d, r10d
mov dword [rbp + 0xa0], r10d
mov rbx, qword [rdi]
cmp rbx, qword [rdi + 8]
je 0x14008f5c7
mov r12, qword [rbp + 0xc0]
movsd xmm6, qword [0x140187038]
nop dword [rax + rax]
cmp r14d, 0xb
jae 0x14008f4b5
mov rsi, qword [rbx]
test rsi, rsi
je 0x14008f493
mov edx, dword [rsi + 0x88]
test edx, edx
je 0x14008f30c
mov edi, dword [r13 + 0x44]
sub edi, dword [r13 + 0x3c]
xor r8d, r8d
mov dword [rsp + 0x20], r10d
lea rcx, [rbp - 0x78]
call fcn.1400dc6c0
nop
mov rdx, qword [rbp - 0x78]
mov eax, dword [rdx - 0x10]
mov dword [rbp - 0x70], eax
lea r9, [rbp - 0x58]
mov r8d, eax
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test eax, eax
je 0x14008f1e6
mov edi, dword [rbp - 0x58]
add edi, 0x14
xor r9d, r9d
lea r8, [rbp - 0x68]
xor edx, edx
lea ecx, [rdx + 0x30]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov r8d, dword [rbp - 0x5c]
sub r8d, dword [rbp - 0x64]
mov eax, r8d
cdq
idiv dword [r13 + 0xa0]
lea ecx, [rax + 0x14]
mov eax, dword [rbp - 0x60]
sub eax, dword [rbp - 0x68]
sub eax, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [r13 + 0x98]
cvttss2si eax, xmm0
mov dword [r13 + 0x3c], eax
add eax, edi
mov dword [r13 + 0x44], eax
sub r8d, ecx
movd xmm0, r8d
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [r13 + 0x9c]
cvttss2si eax, xmm0
mov dword [r13 + 0x40], eax
add eax, ecx
mov dword [r13 + 0x48], eax
mov rcx, r13
call fcn.140099040
mov ecx, dword [rsi + 0x80]
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov rdi, rax
mov r8, rax
lea rdx, [r13 + 0x3c]
mov r15, qword [rbp + 0xa8]
mov rcx, r15
call qword [sym.imp.USER32.dll_FillRect]
mov ecx, 0xd
call qword [sym.imp.GDI32.dll_GetStockObject]
mov rdx, rax
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [rsi + 0x7c]
mov rcx, r15
call qword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [rsi + 0x80]
mov rcx, r15
call qword [sym.imp.GDI32.dll_SetBkColor]
mov edx, dword [rsi + 0x84]
mov rcx, r15
call qword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [rbp - 0x70]
mov dword [rsp + 0x20], eax
mov r9, qword [rbp - 0x78]
mov edx, 0xa
mov r8d, edx
mov rcx, r15
call qword [sym.imp.GDI32.dll_TextOutW]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
nop
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14008f472
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14008f48b
cmp dword [rsi + 0x8c], 0
je 0x14008f493
mov ecx, 1
mov dword [rbp + 0xa0], ecx
movsxd r15, r14d
mov eax, dword [rsi + 0x6c]
mov dword [rbp + r15*8 - 0x20], eax
mov eax, dword [rsi + 0x70]
mov dword [rbp + r15*8 - 0x1c], eax
cmp dword [rsi + 0x68], 2
jne 0x14008f43b
test r12, r12
je 0x14008f3c5
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x70]
cmp eax, 7
jne 0x14008f3b0
mov rcx, qword [rsi + 0x500]
mov rax, qword [rcx]
call qword [rax + 0x70]
mov edi, eax
mov rdx, qword [r12]
mov rcx, r12
call qword [rdx + 0x70]
cmp eax, edi
jne 0x14008f3ab
mov ecx, 4
call fcn.14011c1c0
test eax, eax
je 0x14008f38c
movzx eax, word [rsi + 0x8c]
jmp 0x14008f482
mov rax, qword [r12]
mov edx, dword [rsi + 0x4f8]
mov rcx, r12
call qword [rax + 0x68]
mov ecx, eax
movzx eax, word [rsi + rcx*4 + 0x4b8]
jmp 0x14008f482
mov rdi, qword [rsp + 0x68]
movzx eax, word [rsi + 0x8c]
mov word [rsp + r15*2 + 0x70], ax
inc r14d
jmp 0x14008f490
cmp dword [rsi + 0x4f8], 0
jne 0x14008f3e3
movzx eax, word [rsi + 0x8c]
mov word [rsp + r15*2 + 0x70], ax
inc r14d
jmp 0x14008f499
mov edi, r10d
mov ecx, 4
call fcn.14011c1c0
test eax, eax
jne 0x14008f429
cmp dword [rsi + 0x4f8], eax
je 0x14008f429
lea ecx, [rax + 4]
call fcn.14011c020
mov eax, eax
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
mov eax, dword [rsi + 0x4f8]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
divsd xmm0, xmm6
mulsd xmm1, xmm0
cvttsd2si rdi, xmm1
mov eax, edi
movzx ecx, word [rsi + rax*4 + 0x4b8]
mov word [rsp + r15*2 + 0x70], cx
jmp 0x14008f488
cmp dword [rbp + 0xb0], 0
je 0x14008f460
mov eax, dword [rbp + 0xb8]
cmp eax, dword [rsi]
jne 0x14008f460
movzx eax, word [rsi + 0x90]
mov word [rsp + r15*2 + 0x70], ax
inc r14d
jmp 0x14008f499
movzx eax, word [rsi + 0x8c]
mov word [rsp + r15*2 + 0x70], ax
inc r14d
jmp 0x14008f499
mov rdi, qword [rsp + 0x68]
mov ecx, dword [rbp + 0xa0]
xor r10d, r10d
jmp 0x14008f4a0
mov word [rsp + r15*2 + 0x70], ax
inc r14d
mov rdi, qword [rsp + 0x68]
xor r10d, r10d
mov ecx, dword [rbp + 0xa0]
mov r15, qword [rbp + 0xa8]
add rbx, 8
cmp rbx, qword [rdi + 8]
mov r9, qword [rsp + 0x60]
jne 0x14008f180
jmp 0x14008f4c2
mov r15, qword [rbp + 0xa8]
mov ecx, dword [rbp + 0xa0]
test ecx, ecx
je 0x14008f5c7
mov ecx, 0x10
call fcn.14011f8a0
mov qword [rbp + 0xa0], rax
xor r12d, r12d
mov rsi, qword [rsp + 0x60]
test rax, rax
je 0x14008f514
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], 1
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x20], rcx
mov r9, rsi
movzx r8d, r14b
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.14011cba0
jmp 0x14008f517
mov rax, r12
mov rcx, rax
call fcn.14011cdb0
mov rbx, rax
mov rcx, r15
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdi, rax
lea r8, [rbp - 0x48]
mov edx, SafeArrayAllocDescriptor
mov rcx, rbx
call qword [sym.imp.GDI32.dll_GetObjectW]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [r13 + 0x58]
sub ecx, dword [r13 + 0x50]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [r13 + 0x94]
cvttss2si ecx, xmm0
mov eax, dword [r13 + 0x54]
sub eax, dword [r13 + 0x4c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [r13 + 0x90]
cvttss2si r9d, xmm0
mov dword [rsp + 0x50], 0xcc0020
mov eax, dword [rbp - 0x40]
mov dword [rsp + 0x48], eax
mov eax, dword [rbp - 0x44]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], ecx
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.GDI32.dll_StretchBlt]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x14008f5cc
mov rsi, qword [rsp + 0x60]
cmp rsi, qword [0x1402dd4a0]
je 0x14008f5de
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
movaps xmm6, xmmword [rsp + 0x140]
add rsp, 0x158
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret