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

Disassembly:
jmp 0x140040780
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
lea rdi, [rsp + 0x20]
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xa0]
mov rax, qword [0x1405dc580]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x20], 0
jne 0x1400407ce
xor al, al
jmp 0x140040a4e
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x20]
mov eax, dword [rax + 4]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 0xfffffffb
je 0x140040827
cmp dword [rsp + 0x80], 0xfffffffc
je 0x1400408b5
cmp dword [rsp + 0x80], 0xfffffffd
je 0x14004085f
cmp dword [rsp + 0x80], 0xfffffffe
je 0x1400409e4
cmp dword [rsp + 0x80], 0xffffffff
je 0x140040918
jmp 0x140040a2e
mov rax, qword [rsp + 0xa0]
movsxd rax, dword [rax + 0x14]
mov rcx, qword [rsp + 0xa0]
mov ecx, dword [rcx + 0x10]
mov r9, rax
mov r8d, ecx
mov edx, 0x40d
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140040a32
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 8], 0
je 0x1400408b0
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 8]
cmp qword [rax + 0x18], 0
je 0x1400408b0
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x18]
mov eax, dword [rax + 4]
xor r9d, r9d
mov r8d, eax
mov edx, 0x42a
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140040a32
xor r9d, r9d
xor r8d, r8d
mov edx, 0x415
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x24], eax
ja 0x140040913
mov eax, dword [rsp + 0x24]
xor r9d, r9d
mov r8d, eax
mov edx, 0x42a
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x1400408dd
jmp 0x140040a32
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 8], 0
je 0x1400409e2
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 8]
cmp qword [rax + 0x18], 0
je 0x1400409e2
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x18]
mov eax, dword [rax]
shr eax, 2
and eax, 1
test eax, eax
jne 0x1400409e2
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x18]
mov eax, dword [rax + 4]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x38]
and eax, 0xfffffffe
mov dword [rsp + 0x38], eax
lea r9, [rsp + 0x38]
mov r8d, 0x100000
mov edx, 0x408
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [rsp + 0xa0]
mov r8d, dword [rax + 0x14]
mov rax, qword [rsp + 0xa0]
mov edx, dword [rax + 0x10]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call fcn.14000d370
xor r8d, r8d
xor edx, edx
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x140040a32
mov r8d, 1
mov rax, qword [rsp + 0xa0]
mov rdx, qword [rax]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call fcn.14000f170
mov rax, qword [rsp + 0xa0]
mov r8d, dword [rax + 0x14]
mov rax, qword [rsp + 0xa0]
mov edx, dword [rax + 0x10]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax]
call fcn.14000d370
jmp 0x140040a32
xor al, al
jmp 0x140040a4e
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x20]
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rax + 4]
mov dword [rcx + 0x28], eax
mov al, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1403cf670]
call fcn.140015750
mov rax, rdi
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14000d430
add rsp, 0x90
pop rdi
ret