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

Disassembly:
jmp 0x18022f750
mov qword [rsp + 0x20], r9
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
lea rdi, [rsp + 0x20]
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xb0]
mov rax, qword [0x1805a6200]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x20], 0
cmp qword [rsp + 0xc8], 0
jne 0x18022f7e8
movzx eax, byte [rsp + 0xc0]
test eax, eax
je 0x18022f7e8
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xb8]
mov rdx, qword [rax + 0x30]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.GDI32.dll_SelectObject]
mov byte [rsp + 0x20], 1
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.USER32.dll_GetClientRect]
movzx eax, byte [rsp + 0xc0]
test eax, eax
je 0x18022f85e
mov rax, qword [rsp + 0xb8]
add rax, 0x3c
mov r9, rax
mov r8d, 0x30
mov edx, 0x30
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.GDI32.dll_GetCharWidthW]
lea r9, [rsp + 0x68]
mov r8d, 1
lea rdx, [0x180496068]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov rax, qword [rsp + 0xb8]
mov ecx, dword [rsp + 0x6c]
mov dword [rax + 0x38], ecx
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax + 0x2c]
and al, 1
movzx eax, al
test eax, eax
je 0x18022f8c3
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax + 0x2c]
shr al, 3
and al, 1
movzx eax, al
test eax, eax
je 0x18022f8a0
mov rax, qword [rsp + 0xb8]
imul eax, dword [rax + 0x3c], 9
mov dword [rsp + 0x80], eax
jmp 0x18022f8b3
mov rax, qword [rsp + 0xb8]
imul eax, dword [rax + 0x3c], 5
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x84], eax
jmp 0x18022f8ce
mov dword [rsp + 0x84], 0
mov rax, qword [rsp + 0xb8]
mov ecx, dword [rsp + 0x84]
mov dword [rax + 0x50], ecx
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax + 0x2c]
shr al, 2
and al, 1
movzx eax, al
test eax, eax
je 0x18022f919
mov rax, qword [rsp + 0xb8]
imul eax, dword [rax + 0x24], 3
mov rcx, qword [rsp + 0xb8]
imul eax, dword [rcx + 0x3c]
mov dword [rsp + 0x88], eax
jmp 0x18022f924
mov dword [rsp + 0x88], 0
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 0x50]
add eax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0xb8]
mov dword [rcx + 0x54], eax
mov rax, qword [rsp + 0xb8]
cmp dword [rax + 0x38], 0
je 0x18022fa33
mov eax, dword [rsp + 0x44]
cdq
mov rcx, qword [rsp + 0xb8]
idiv dword [rcx + 0x38]
mov rcx, qword [rsp + 0xb8]
mov dword [rcx + 0x28], eax
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax + 0x2c]
and al, 0xbf
mov rcx, qword [rsp + 0xb8]
mov byte [rcx + 0x2c], al
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb8]
mov eax, dword [rax + 0x28]
imul eax, dword [rcx + 0x24]
mov rcx, qword [rsp + 0xb8]
cmp eax, dword [rcx + 8]
jle 0x18022fa33
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 0x24]
cdq
sub eax, edx
sar eax, 1
mov rcx, qword [rsp + 0xb8]
mov ecx, dword [rcx + 8]
add ecx, eax
mov eax, ecx
cdq
mov rcx, qword [rsp + 0xb8]
idiv dword [rcx + 0x24]
mov rcx, qword [rsp + 0xb8]
mov dword [rcx + 0x28], eax
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 8]
cdq
mov rcx, qword [rsp + 0xb8]
idiv dword [rcx + 0x24]
mov eax, edx
test eax, eax
je 0x18022fa33
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax + 0x2c]
or al, 0x40
mov rcx, qword [rsp + 0xb8]
mov byte [rcx + 0x2c], al
mov rax, qword [rsp + 0xb8]
mov eax, dword [rax + 0x28]
inc eax
mov rcx, qword [rsp + 0xb8]
mov dword [rcx + 0x28], eax
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x18022fa55
cmp qword [rsp + 0xc8], 0
je 0x18022fa55
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rsp
lea rdx, [0x1804e3b10]
call fcn.180014e20
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.18000ce90
add rsp, 0xa0
pop rdi
ret