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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push r13
sub rsp, 0x40
mov eax, 0x202
mov rdi, r9
mov rbp, r8
mov rbx, rcx
cmp edx, eax
ja 0x1400e5f16
je 0x1400e5ef1
cmp edx, 0x2c
ja 0x1400e5de1
je 0x1400e5dcd
mov eax, edx
sub eax, 5
je 0x1400e5db0
sub eax, 0xa
je 0x1400e5d8b
sub eax, 1
je 0x1400e5d80
sub eax, 4
je 0x1400e5bec
sub eax, 0xc
je 0x1400e5b94
cmp eax, 0xb
jne 0x1400e6180
mov rax, qword [rcx]
mov r8, r9
mov rdx, rbp
call qword [rax + 0xd8]
jmp 0x1400e62c5
mov rcx, qword [rcx + 0x30]
test rcx, rcx
je 0x1400e5bc8
call qword [sym.imp.USER32.dll_SetCursor]
movabs rax, 1
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
add rsp, 0x40
pop r13
ret
mov r10, qword [rbx]
mov rax, r9
movzx r8d, di
shr rax, 0x10
mov rdx, rbp
mov rcx, rbx
movzx r9d, ax
call qword [r10 + 0x80]
jmp 0x1400e601e
mov rdi, qword [rcx + 0xc0]
and dword [rsp + 0x30], 0
and dword [rsp + 0x34], 0
and dword [rsp + 0x38], 0
and dword [rsp + 0x3c], 0
test rdi, rdi
je 0x1400e5c4e
mov rcx, qword [rcx + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r11d, dword [rsp + 0x30]
mov eax, dword [rsp + 0x34]
sub dword [rsp + 0x38], r11d
sub dword [rsp + 0x3c], eax
and dword [rsp + 0x34], 0
and dword [rsp + 0x30], 0
mov r8, qword [rdi + 0x10]
test r8, r8
je 0x1400e5c4e
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [sym.imp.USER32.dll_FillRect]
mov rax, qword [rbx]
mov rdx, rbp
mov rcx, rbx
call qword [rax + 0x40]
mov rdi, qword [rbx + 0xc0]
movsxd r13, eax
test rdi, rdi
je 0x1400e5d3a
mov r12, qword [rdi + 8]
mov ecx, dword [rsp + 0x38]
test r12, r12
je 0x1400e5c8c
cmp ecx, dword [rdi + 0x20]
jne 0x1400e5c8c
mov eax, dword [rdi + 0x24]
cmp dword [rsp + 0x3c], eax
je 0x1400e5d1b
mov dword [rdi + 0x20], ecx
mov eax, dword [rsp + 0x3c]
mov dword [rdi + 0x24], eax
mov eax, dword [rdi + 0x2c]
mov r9d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov eax, dword [rdi + 0x28]
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_CreateRoundRectRgn]
mov rcx, qword [rdi + 0x18]
mov qword [rdi + 8], rax
test rcx, rcx
je 0x1400e5ccf
call qword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [rdi + 0x2c]
mov r9d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov eax, dword [rdi + 0x28]
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_CreateRoundRectRgn]
mov rdx, qword [rdi + 8]
mov qword [rdi + 0x18], rax
mov rcx, qword [rbx + 0x20]
mov r8d, 1
call qword [sym.imp.USER32.dll_SetWindowRgn]
test r12, r12
je 0x1400e5d1b
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteObject]
mov r9d, dword [rdi + 0x30]
test r9d, r9d
je 0x1400e5d3a
mov eax, dword [rdi + 0x34]
mov r8, qword [rdi + 0x18]
mov rdx, rbp
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.14005d600
mov rcx, qword [rbx + 0xc8]
mov r12d, 0x453
test rcx, rcx
je 0x1400e5d5b
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
call qword [sym.imp.USER32.dll_PostMessageW]
cmp qword [rbx + 0xc0], 0
je 0x1400e5d78
mov rcx, qword [rbx + 0x20]
mov r9, rbx
xor r8d, r8d
mov edx, r12d
call qword [sym.imp.USER32.dll_PostMessageW]
mov rax, r13
jmp 0x1400e5bad
mov rax, qword [rcx]
call qword [rax + 0x38]
jmp 0x1400e62c5
test byte [rcx + 0x78], 2
mov r8, r9
mov rdx, rbp
je 0x1400e5da5
mov rcx, qword [rcx + 0x20]
call fcn.1400e5ae4
jmp 0x1400e62c5
mov rax, qword [rcx]
call qword [rax + 0x28]
jmp 0x1400e62c5
mov r10, qword [rcx]
mov rax, r9
movzx r8d, di
shr rax, 0x10
mov edx, ebp
movzx r9d, ax
call qword [r10 + 0x78]
jmp 0x1400e62c5
mov rax, qword [rcx]
mov r8, r9
mov rdx, rbp
call qword [rax + 0xc0]
jmp 0x1400e62c5
mov eax, edx
sub eax, 0x83
je 0x1400e5ede
sub eax, 1
je 0x1400e5e92
sub eax, 1
je 0x1400e5e6e
sub eax, 0x8e
je 0x1400e5e5d
sub eax, 0xed
je 0x1400e5e38
cmp eax, 1
jne 0x1400e6180
movsx eax, r9w
shr rdi, 0x10
mov edx, ebp
mov dword [rsp + 0x30], eax
movsx eax, di
mov dword [rsp + 0x34], eax
mov rax, qword [rcx]
mov r8, qword [rsp + 0x30]
call qword [rax + 0x50]
jmp 0x1400e62c5
movsx eax, r9w
shr rdi, 0x10
mov edx, ebp
mov dword [rsp + 0x30], eax
movsx eax, di
mov dword [rsp + 0x34], eax
mov rax, qword [rcx]
mov r8, qword [rsp + 0x30]
call qword [rax + 0x48]
jmp 0x1400e62c5
mov rax, qword [rcx]
mov rdx, r8
call qword [rax + 0x88]
jmp 0x1400e62c5
mov rax, qword [rcx]
call qword [rax + 0xa8]
mov r11, qword [rbx]
mov rcx, qword [rbx + 0x20]
mov r9, rdi
mov r8, rbp
mov edx, 0x85
call qword [r11 + 8]
jmp 0x1400e62c5
movsx eax, r9w
mov dword [rsp + 0x30], eax
mov rax, r9
shr rax, 0x10
cwde
mov dword [rsp + 0x34], eax
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x30]
call qword [rax + 0x70]
movabs rcx, 0x8000000000000000
cmp rax, rcx
jne 0x1400e5bad
mov edx, 0x84
mov rax, qword [rbx]
mov rcx, qword [rbx + 0x20]
mov r8, rbp
mov r9, rdi
call qword [rax + 8]
jmp 0x1400e5bad
mov rax, qword [rcx]
mov r8, r9
mov edx, ebp
call qword [rax + 0xc8]
jmp 0x1400e62c5
movsx eax, r9w
shr rdi, 0x10
mov edx, ebp
mov dword [rsp + 0x30], eax
movsx eax, di
mov dword [rsp + 0x34], eax
mov rax, qword [rcx]
mov r8, qword [rsp + 0x30]
call qword [rax + 0x58]
jmp 0x1400e62c5
mov r12d, 0x453
cmp edx, r12d
ja 0x1400e6159
je 0x1400e606f
mov eax, edx
sub eax, 0x204
je 0x1400e604a
sub eax, 1
je 0x1400e6025
sub eax, 0x243
je 0x1400e6012
sub eax, 1
je 0x1400e5f95
sub eax, 3
je 0x1400e5f73
cmp eax, 6
jne 0x1400e6180
mov rax, qword [rcx]
mov r8, r9
mov rdx, rbp
call qword [rax + 0x110]
jmp 0x1400e5bad
and qword [0x14013e400], 0
mov rcx, qword [rcx + 0x20]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x2a3
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400e62c5
mov rbp, qword [rcx + 0x20]
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, qword [rbx + 0x20]
and dword [rsp + 0x30], 0
and dword [rsp + 0x34], 0
and dword [rsp + 0x38], 0
and dword [rsp + 0x3c], 0
lea rdx, [rsp + 0x30]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov r11d, dword [rsp + 0x34]
mov eax, dword [rsp + 0x3c]
add eax, r11d
mov rcx, rdi
cdq
sub eax, edx
mov edx, dword [rsp + 0x30]
sar eax, 1
mov r8d, eax
mov eax, dword [rsp + 0x38]
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov edx, eax
call qword [sym.imp.GDI32.dll_GetPixel]
movsxd rbx, eax
test rdi, rdi
je 0x1400e600a
mov rdx, rdi
mov rcx, rbp
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rax, rbx
jmp 0x1400e5bad
mov rax, qword [rcx]
mov rdx, r8
call qword [rax + 0xe0]
cdqe
jmp 0x1400e5bad
movsx eax, r9w
shr rdi, 0x10
mov edx, ebp
mov dword [rsp + 0x30], eax
movsx eax, di
mov dword [rsp + 0x34], eax
mov rax, qword [rcx]
mov r8, qword [rsp + 0x30]
call qword [rax + 0x68]
jmp 0x1400e62c5
movsx eax, r9w
shr rdi, 0x10
mov edx, ebp
mov dword [rsp + 0x30], eax
movsx eax, di
mov dword [rsp + 0x34], eax
mov rax, qword [rcx]
mov r8, qword [rsp + 0x30]
call qword [rax + 0x60]
jmp 0x1400e62c5
mov rdi, qword [rcx + 0xc0]
test rdi, rdi
je 0x1400e62c5
cmp qword [rdi], 0
je 0x1400e62c5
cmp dword [rdi + 0x30], 0
je 0x1400e62c5
mov rbp, qword [rdi + 0x18]
xor r12d, r12d
test rbp, rbp
jne 0x1400e6108
mov rcx, qword [rcx + 0x20]
and dword [rsp + 0x30], r12d
and dword [rsp + 0x34], r12d
and dword [rsp + 0x38], r12d
and dword [rsp + 0x3c], r12d
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rdi + 0x2c]
mov r8d, dword [rsp + 0x38]
mov r9d, dword [rsp + 0x3c]
sub r8d, dword [rsp + 0x30]
and dword [rsp + 0x30], r12d
sub r9d, dword [rsp + 0x34]
and dword [rsp + 0x34], r12d
mov dword [rsp + 0x28], eax
mov eax, dword [rdi + 0x28]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x3c], r9d
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_CreateRoundRectRgn]
mov rbp, rax
mov r12, rax
mov r13, qword [rbx + 0x20]
mov rcx, r13
call qword [sym.imp.USER32.dll_GetDC]
mov edx, dword [rdi + 0x34]
mov r9d, dword [rdi + 0x30]
mov dword [rsp + 0x20], edx
mov r8, rbp
mov rcx, rdi
mov rdx, rax
mov rbx, rax
call fcn.14005d600
test r12, r12
je 0x1400e613f
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteObject]
test rbx, rbx
je 0x1400e62c5
mov rdx, rbx
mov rcx, r13
call qword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x1400e62c5
mov eax, edx
sub eax, 0x459
je 0x1400e62cc
sub eax, 2
je 0x1400e620c
sub eax, 0xb7be
je 0x1400e61ea
sub eax, 0x12
je 0x1400e619d
cmp eax, 1
je 0x1400e618c
mov rax, qword [rcx]
mov rcx, qword [rcx + 0x20]
jmp 0x1400e5ed6
mov rax, qword [rcx]
mov rdx, r9
call qword [rax + 0xb8]
jmp 0x1400e62c5
mov rax, qword [rcx]
mov rdx, r9
call qword [rax + 0xd0]
mov rcx, qword [rbx + 0xc8]
test rcx, rcx
je 0x1400e61c4
mov r9, rbx
xor r8d, r8d
mov edx, r12d
call qword [sym.imp.USER32.dll_PostMessageW]
cmp qword [rbx + 0xc0], 0
je 0x1400e62c5
mov rcx, qword [rbx + 0x20]
mov r9, rbx
xor r8d, r8d
mov edx, r12d
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1400e62c5
mov rax, qword [rcx]
mov r8d, r9d
mov rdx, rbp
call qword [rax + 0x98]
test rax, rax
jne 0x1400e5bad
mov edx, 0xbc19
jmp 0x1400e5ec9
cmp r8, rcx
je 0x1400e6221
lea rax, [0x14013d130]
cmp r8, rax
jne 0x1400e62c5
cmp byte [rcx + 0x61], 2
jne 0x1400e623e
cmp qword [rcx + 0x110], 0
jne 0x1400e623e
xor r8d, r8d
mov edx, 0x10000000
call fcn.1400ef91c
cmp byte [rbx + 0x61], 2
jne 0x1400e6250
mov rbp, qword [rbx + 0x110]
test rbp, rbp
jne 0x1400e6253
mov rbp, rbx
cmp qword [rdi], 0xfffffffffbd3e280
jl 0x1400e626a
pxor xmm0, xmm0
cvtsi2ss xmm0, qword [rdi]
movss dword [rbp + 0x50], xmm0
mov rcx, 0xffffffff80000000
cmp qword [rdi + 8], rcx
je 0x1400e627d
mov eax, dword [rdi + 8]
mov dword [rbp + 0x54], eax
cmp qword [rdi + 0x10], rcx
je 0x1400e6289
mov eax, dword [rdi + 0x10]
mov dword [rbp + 0x58], eax
cmp qword [rdi + 0x18], rcx
je 0x1400e6295
mov eax, dword [rdi + 0x18]
mov dword [rbp + 0x5c], eax
mov rdx, qword [rdi + 0x20]
test rdx, rdx
je 0x1400e62a8
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.USER32.dll_SetWindowTextW]
cmp qword [rdi + 0x28], 0
jle 0x1400e62b5
mov al, byte [rdi + 0x28]
mov byte [rbp + 0x60], al
mov rcx, qword [rbp + 0x20]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
jmp 0x1400e5bad
cmp r8, rcx
jne 0x1400e5ba3
mov rdx, r9
call fcn.1400e5aac
jmp 0x1400e5bad