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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
movaps xmmword [rsp + 0x150], xmm6
mov rax, qword [0x14021f740]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov rbx, rdx
mov r15, rcx
lea rdx, [rcx + 0x10]
xor r14d, r14d
test rcx, rcx
cmove rdx, r14
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QPainter::constructor_class_QPaintDevice____ptr64____ptr64]
nop
mov rdx, qword [r15 + 0x20]
add rdx, 0x38
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QPainter::setFont_class_QFont_const____ptr64____ptr64]
movups xmm0, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x68], xmm0
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt6Core.dll_public:_int___cdecl_QRect::top_void_const___ptr64]
cdq
idiv dword [r15 + 0x40]
mov ebx, eax
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt6Core.dll_public:_int___cdecl_QRect::bottom_void_const___ptr64]
dec eax
add eax, dword [r15 + 0x40]
cdq
idiv dword [r15 + 0x40]
mov esi, eax
mov dword [rsp + 0x5c], eax
lea rcx, [r15 + 0x10]
call qword [sym.imp.Qt6Gui.dll_public:_double___cdecl_QPaintDevice::devicePixelRatioF_void_const___ptr64]
movaps xmm6, xmm0
lea ecx, [r14 + 0x18]
call fcn.14016cc68
mov rdi, rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x50], rax
lea r12, vtable.QPixmap.0
test rax, rax
je 0x1401488cd
movd xmm1, dword [r15 + 0x40]
cvtdq2pd xmm1, xmm1
mulsd xmm1, xmm6
cvttsd2si r8d, xmm1
mov ecx, dword [r15 + 0x3c]
lea edx, [rcx + rcx*4]
shl edx, 4
add edx, 0x14
movd xmm0, edx
cvtdq2pd xmm0, xmm0
mulsd xmm0, xmm6
cvttsd2si edx, xmm0
mov rcx, rax
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QPixmap::constructor_int__int____ptr64]
mov qword [rdi], r12
jmp 0x1401488d5
mov rdi, r14
mov qword [rsp + 0x60], r14
movaps xmm1, xmm6
mov rcx, rdi
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QPixmap::setDevicePixelRatio_double____ptr64]
mov edx, 0x13
lea rcx, [rbp + 0x28]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QColor::constructor_enum_Qt::GlobalColor____ptr64]
lea rdx, [rbp + 0x28]
mov rcx, rdi
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QPixmap::fill_class_QColor_const____ptr64____ptr64]
mov rdx, rdi
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QPainter::constructor_class_QPaintDevice____ptr64____ptr64]
nop
mov rdx, qword [r15 + 0x20]
add rdx, 0x38
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QPainter::setFont_class_QFont_const____ptr64____ptr64]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt6Gui.dll_public:_class_QFlags_enum_QPainter::RenderHint____cdecl_QPainter::renderHints_void____ptr64]
mov r8b, 1
mov edx, dword [rax]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QPainter::setRenderHints_class_QFlags_enum_QPainter::RenderHint___bool____ptr64]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt6Gui.dll_public:_class_QPen_const____ptr64___cdecl_QPainter::pen_void_const___ptr64]
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QPainter::setPen_class_QPen_const____ptr64____ptr64]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt6Gui.dll_public:_class_QBrush_const____ptr64___cdecl_QPainter::brush_void_const___ptr64]
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QPainter::setBrush_class_QBrush_const____ptr64____ptr64]
mov eax, ebx
imul eax, dword [r15 + 0x40]
movd xmm2, eax
cvtdq2pd xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QPainter::translate_double__double____ptr64]
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x30], eax
cmp eax, esi
jg 0x140148eda
lea rsi, [r15 + 0x50]
mov ebx, eax
mov r13d, eax
mov r14d, eax
mov r12d, eax
mov dword [rsp + 0x50], eax
mov edi, eax
cmp qword [r15 + 0x68], 0
je 0x140148a06
lea rcx, [r15 + 0x60]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x78]
call fcn.140147b80
mov rdx, qword [rsp + 0x78]
mov rax, qword [rbp - 0x80]
movzx ecx, byte [rdx + rax]
cmp cl, 0xff
jne 0x1401489e7
mov r14d, ebx
mov edi, r12d
jmp 0x140148a06
lea rcx, [rcx + rcx*4]
mov rax, qword [rdx + 0x80]
lea rdx, [rax + rcx*8]
mov r14d, r13d
mov edi, dword [rsp + 0x50]
test rdx, rdx
jne 0x140148e11
mov edx, 0x13
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QColor::constructor_enum_Qt::GlobalColor____ptr64]
lea rdx, [rbp + 0x38]
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QPixmap::fill_class_QColor_const____ptr64____ptr64]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QPainter::save_void____ptr64]
cmp byte [r15 + 0x46], 0
je 0x140148b00
shl r14d, 4
mov rax, qword [r15 + 0x28]
mov edi, dword [rax + 0x38]
add edi, r14d
lea rdx, [0x14019d114]
lea rcx, [rbp - 0x20]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
mov rbx, rax
mov dl, 0x30
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QChar::constructor_char____ptr64]
movzx ecx, word [rax]
mov edx, 0xa
cmp byte [r15 + 0x44], 0
mov eax, 0x10
cmovne edx, eax
mov word [rsp + 0x28], cx
mov dword [rsp + 0x20], edx
lea r9d, [rax - 8]
mov r8d, edi
lea rdx, [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.Qt6Core.dll_public:_class_QString___cdecl_QString::arg_unsigned_int__int__int__class_QChar____ptr64]
nop
lea rdx, [rbp - 0x50]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll__toUpper_QString__QEHAA_AV1_XZ]
nop
lea rcx, [rbp - 0x38]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x20]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rdx, [rbp - 8]
mov rcx, r15
call qword [sym.imp.Qt6Widgets.dll_public:_class_QRect___cdecl_QWidget::rect_void____ptr64]
mov rdx, rax
xor r12d, r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x50]
lea r8d, [r12 + 1]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QPainter::drawText_class_QRect_const____ptr64__int__class_QString_const____ptr64__class_QRect____ptr64____ptr64]
nop
lea rcx, [rbp - 0x50]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rbx, qword [rsp + 0x60]
jmp 0x140148b0a
mov r14d, edi
shl r14d, 4
xor r12d, r12d
cmp byte [r15 + 0x46], 0
je 0x140148b1d
mov eax, dword [r15 + 0x3c]
lea ecx, [rax + rax*2]
shl ecx, 2
jmp 0x140148b20
mov ecx, r12d
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
xorps xmm2, xmm2
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QPainter::translate_double__double____ptr64]
mov rax, qword [r15 + 0x28]
mov ecx, dword [rax + 0x38]
lea r8d, [rcx + r14]
mov r9d, dword [rax + 0x3c]
add r9d, ecx
lea rdx, [rsp + 0x38]
mov rcx, r15
call fcn.140148f20
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QPainter::restore_void____ptr64]
mov ecx, 0x18
call fcn.14016cc68
mov rdi, rax
mov qword [rbp - 0x58], rax
test rax, rax
je 0x140148b8e
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QPixmap::constructor_class_QPixmap_const____ptr64____ptr64]
lea rax, vtable.QPixmap.0
mov qword [rdi], rax
jmp 0x140148b91
mov rdi, r12
mov qword [rsp + 0x50], 1
mov rdx, qword [rsi + 0x38]
cmp rdx, 1
jge 0x140148c05
cmp qword [rsi + 0x18], 0
je 0x140148bea
lea rcx, [rsi + 0x10]
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x78]
call fcn.140147b80
mov rdx, qword [rbp - 0x78]
mov rax, qword [rbp - 0x70]
movzx ecx, byte [rdx + rax]
cmp cl, 0xff
je 0x140148bea
lea rcx, [rcx + rcx*4]
mov rax, qword [rdx + 0x80]
lea rdx, [rax + rcx*8]
test rdx, rdx
je 0x140148bea
mov rcx, rsi
call fcn.14014a310
test rdi, rdi
je 0x140148e11
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
jmp 0x140148e11
dec rdx
mov rcx, rsi
call fcn.14014a280
nop
mov rbx, r12
mov r13, qword [rsi + 0x20]
test r13, r13
je 0x140148c71
lea r8, [rsp + 0x30]
lea rdx, [rbp + 8]
lea rcx, [rsi + 0x10]
call fcn.140147b80
mov rbx, qword [rax]
mov r12, qword [rax + 8]
cmp byte [rbx + r12], 0xff
je 0x140148c71
mov r9, qword [rsi + 0x30]
sub rbx, r9
movabs rax, 0xe38e38e38e38e39
imul rbx
mov r8, rdx
sar r8, 3
mov rax, r8
shr rax, 0x3f
add r8, rax
shl r8, 7
or r8, r12
mov r10b, 1
jmp 0x140148d0c
mov rdx, qword [rsi + 0x18]
shr r13, 1
cmp rdx, r13
jb 0x140148ca2
inc rdx
lea rcx, [rsi + 0x10]
call fcn.140149580
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x18]
lea rcx, [rsi + 0x10]
call fcn.140147b80
mov r12, qword [rax + 8]
mov rbx, qword [rax]
movzx eax, byte [rbx + 0x88]
cmp byte [rbx + 0x89], al
jne 0x140148cb9
mov rcx, rbx
call fcn.140147360
movzx edx, byte [rbx + 0x89]
lea rcx, [rdx + rdx*4]
mov rax, qword [rbx + 0x80]
movzx ecx, byte [rax + rcx*8]
mov byte [rbx + 0x89], cl
mov byte [rbx + r12], dl
inc qword [rsi + 0x18]
mov r9, qword [rsi + 0x30]
sub rbx, r9
movabs rax, 0xe38e38e38e38e39
imul rbx
mov r8, rdx
sar r8, 3
mov rax, r8
shr rax, 0x3f
add r8, rax
shl r8, 7
or r8, r12
xor r10b, r10b
mov rax, r8
shr rax, 7
lea rdx, [rax + rax*8]
shl rdx, 4
add rdx, r9
and r8d, 0x7f
movzx eax, byte [r8 + rdx]
lea rcx, [rax + rax*4]
mov rax, qword [rdx + 0x80]
lea rdx, [rax + rcx*8]
test r10b, r10b
je 0x140148ddb
mov r12, qword [rdx + 0x20]
mov rcx, qword [rdx + 0x18]
mov qword [rdx + 0x18], rdi
mov qword [rdx + 0x20], 1
test rcx, rcx
je 0x140148d62
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov ebx, 1
sub rbx, r12
cmp qword [rsi + 0x18], 0
je 0x140148e0d
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x68]
lea rcx, [rsi + 0x10]
call fcn.140147b80
mov rdx, qword [rbp - 0x68]
mov rax, qword [rbp - 0x60]
movzx ecx, byte [rax + rdx]
cmp cl, 0xff
je 0x140148e0d
lea rcx, [rcx + rcx*4]
mov rax, qword [rdx + 0x80]
lea rdx, [rax + rcx*8]
test rdx, rdx
je 0x140148e0d
cmp qword [rsi + 8], rdx
je 0x140148e0d
mov rcx, qword [rdx]
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rcx, qword [rdx + 8]
mov rax, qword [rdx]
mov qword [rcx], rax
mov rax, qword [rsi + 8]
mov qword [rdx + 8], rax
mov rax, qword [rsi + 8]
mov qword [rax], rdx
mov qword [rdx], rsi
jmp 0x140148e09
mov qword [rdx + 8], rdx
mov ebx, dword [rsp + 0x40]
mov dword [rdx + 0x10], ebx
mov qword [rdx + 0x18], rdi
mov qword [rdx + 0x20], 1
mov qword [rdx], rsi
mov rax, qword [rsi + 8]
mov qword [rdx + 8], rax
mov rax, qword [rsi + 8]
mov qword [rax], rdx
mov rbx, qword [rsp + 0x50]
mov qword [rsi + 8], rdx
add qword [rsi + 0x40], rbx
cmp qword [rsi + 0x18], 0
je 0x140148e86
lea rcx, [rsi + 0x10]
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x28]
call fcn.140147b80
mov rdx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x30]
movzx ecx, byte [rax + rdx]
cmp cl, 0xff
je 0x140148e86
lea rcx, [rcx + rcx*4]
mov rax, qword [rdx + 0x80]
lea rdx, [rax + rcx*8]
test rdx, rdx
je 0x140148e86
cmp qword [rsi + 8], rdx
je 0x140148e80
mov rcx, qword [rdx]
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rcx, qword [rdx + 8]
mov rax, qword [rdx]
mov qword [rcx], rax
mov rax, qword [rsi + 8]
mov qword [rdx + 8], rax
mov rax, qword [rsi + 8]
mov qword [rax], rdx
mov qword [rdx], rsi
mov qword [rsi + 8], rdx
mov r9, qword [rdx + 0x18]
jmp 0x140148e89
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QPainter::drawPixmap_int__int__class_QPixmap_const____ptr64____ptr64]
movd xmm2, dword [r15 + 0x40]
cvtdq2pd xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QPainter::translate_double__double____ptr64]
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov ebx, eax
mov dword [rsp + 0x30], eax
mov r13d, eax
mov r14d, eax
mov r12d, eax
mov dword [rsp + 0x50], eax
mov edi, eax
cmp eax, dword [rsp + 0x5c]
jle 0x1401489b3
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QPainter::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt6Gui.dll_public:_void___cdecl_QPainter::destructor_void____ptr64]
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.14016cd40
mov rbx, qword [rsp + 0x1b0]
movaps xmm6, xmmword [rsp + 0x150]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret