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

Disassembly:
jmp 0x14047bbf0
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 [0x140961e80]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x20], 0
cmp qword [rsp + 0xc8], 0
jne 0x14047bc88
movzx eax, byte [rsp + 0xc0]
test eax, eax
je 0x14047bc88
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 0x14047bcfe
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, [0x14076d588]
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 0x14047bd63
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax + 0x2c]
shr al, 3
and al, 1
movzx eax, al
test eax, eax
je 0x14047bd40
mov rax, qword [rsp + 0xb8]
imul eax, dword [rax + 0x3c], 9
mov dword [rsp + 0x80], eax
jmp 0x14047bd53
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 0x14047bd6e
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 0x14047bdb9
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 0x14047bdc4
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 0x14047bed3
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 0x14047bed3
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 0x14047bed3
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 0x14047bef6
cmp qword [rsp + 0xc8], 0
je 0x14047bef6
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.GDI32.dll_DeleteDC]
nop
mov rcx, rsp
lea rdx, [0x1407d5930]
call fcn.1402124fd
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14020ee98
add rsp, 0xa0
pop rdi
ret