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

Disassembly:
jmp 0x140249060
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 [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x20], 0
cmp qword [rsp + 0xc8], 0
jne 0x1402490f8
movzx eax, byte [rsp + 0xc0]
test eax, eax
je 0x1402490f8
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 0x14024916e
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, [0x1404c4b40]
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 0x1402491d3
mov rax, qword [rsp + 0xb8]
movzx eax, byte [rax + 0x2c]
shr al, 3
and al, 1
movzx eax, al
test eax, eax
je 0x1402491b0
mov rax, qword [rsp + 0xb8]
imul eax, dword [rax + 0x3c], 9
mov dword [rsp + 0x80], eax
jmp 0x1402491c3
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 0x1402491de
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 0x140249229
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 0x140249234
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 0x140249343
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 0x140249343
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 0x140249343
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 0x140249365
cmp qword [rsp + 0xc8], 0
je 0x140249365
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rsp
lea rdx, [0x1405144c0]
call fcn.140015750
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14000d430
add rsp, 0xa0
pop rdi
ret