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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x278]
sub rsp, 0x360
mov rax, qword [0x1401e7e78]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov rsi, rcx
mov qword [rbp - 0x50], rcx
lea rcx, [rbp - 0x48]
call fcn.140128da8
nop
lea rdx, [rsi + 0x228]
or r8d, 0xffffffff
lea rcx, [rbp - 0x48]
call fcn.140128e50
mov r8b, 1
mov dl, r8b
lea rcx, str.ReloadMonitorInfo
call fcn.14002b004
mov byte [rbp - 0x80], al
lea r12, [rsi + 0x258]
mov rdi, qword [r12 + 8]
mov rbx, qword [r12]
cmp rbx, rdi
je 0x14003a9c3
lea rcx, [rbx + 0x30]
call fcn.140003df4
add rbx, 0xb0
cmp rbx, rdi
jne 0x14003a9aa
mov rbx, qword [r12]
mov qword [r12 + 8], rbx
mov r9, rsi
lea r8, [0x140037f28]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov rax, qword [r12 + 8]
cmp qword [r12], rax
jne 0x14003aa4d
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
lea rcx, [rbp + 0xb0]
call fcn.140047650
nop
xor edx, edx
lea r8d, [rdx + 0x74]
lea rcx, [rbp + 0xbc]
call fcn.14013b230
lea rcx, [rbp + 0x88]
call fcn.14012f310
mov qword [rbp + 0x80], rax
lea rdx, [rbp + 0x80]
mov rcx, r12
call fcn.14003191c
nop
lea rcx, [rbp + 0xb0]
call fcn.140003df4
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r15d, eax
xor r13d, r13d
mov r14d, r13d
mov r8, qword [r12]
mov rcx, qword [r12 + 8]
sub rcx, r8
movabs rax, 0x2e8ba2e8ba2e8ba3
imul rcx
sar rdx, 5
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
lea edi, [r13 + 0x64]
test rdx, rdx
jle 0x14003ac62
imul rbx, r14, 0xb0
add rbx, r8
mov dword [rbx + 0x4c], r15d
mov dword [rbx + 0x50], r15d
mov dword [rbx + 0x74], r15d
mov dword [rbx + 0x78], r15d
xor r8d, r8d
mov rdx, qword [rbx]
lea rcx, [rbp - 0x78]
call fcn.1400480e8
nop
movsd xmm0, qword [rbp - 0x78]
movsd qword [rbx + 0x30], xmm0
mov eax, dword [rbp - 0x70]
mov dword [rbx + 0x38], eax
mov r8d, edi
mov edx, edi
lea rcx, [rbp + 0x30]
call fcn.140127684
movups xmm0, xmmword [rax]
movdqu xmmword [rbp + 0x40], xmm0
mov eax, dword [rbp - 0x78]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0x80000
xor r9d, r9d
mov r8d, 0x6cf0000
lea rdx, [rbp + 0x40]
mov rcx, qword [rsi + 0xe8]
call fcn.14004ebc0
test eax, eax
je 0x14003ab39
mov ecx, dword [rbp + 0x40]
neg ecx
mov dword [rbx + 0x54], ecx
mov eax, dword [rbp + 0x48]
add eax, 0xffffff9c
mov dword [rbx + 0x5c], eax
mov eax, dword [rbp + 0x4c]
add eax, 0xffffff9c
mov dword [rbx + 0x60], eax
mov eax, dword [rbp + 0x44]
neg eax
mov dword [rbx + 0x58], eax
mov dword [rbx + 0x4c], ecx
mov dword [rbx + 0x50], ecx
mov r8d, edi
mov edx, edi
lea rcx, [rbp - 0x60]
call fcn.140127684
movups xmm0, xmmword [rax]
movdqu xmmword [rbp + 0x40], xmm0
mov eax, dword [rbp - 0x78]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0x80000
xor r9d, r9d
mov r8d, 0x6040000
lea rdx, [rbp + 0x40]
mov rcx, qword [rsi + 0xe8]
call fcn.14004ebc0
test eax, eax
je 0x14003abac
mov ecx, dword [rbp + 0x40]
neg ecx
mov dword [rbx + 0x7c], ecx
mov eax, dword [rbp + 0x48]
add eax, 0xffffff9c
mov dword [rbx + 0x84], eax
mov eax, dword [rbp + 0x4c]
add eax, 0xffffff9c
mov dword [rbx + 0x88], eax
mov eax, dword [rbp + 0x44]
neg eax
mov dword [rbx + 0x80], eax
mov dword [rbx + 0x74], ecx
mov dword [rbx + 0x78], ecx
xorps xmm0, xmm0
movdqu xmmword [rbx + 0x9c], xmm0
lea rdi, [rbx + 0xac]
lea r8, [rbx + 0x90]
lea rcx, [rbx + 0xc]
mov rdx, rdi
call fcn.14012f458
movzx eax, al
mov dword [rbx + 0x98], eax
test eax, eax
je 0x14003ac21
mov ecx, dword [rdi]
test ecx, ecx
je 0x14003ac17
sub ecx, 1
je 0x14003ac0b
sub ecx, 1
je 0x14003abff
cmp ecx, 1
jne 0x14003ac21
mov dword [rbx + 0xa8], 2
jmp 0x14003ac21
mov dword [rbx + 0xa4], 2
jmp 0x14003ac21
mov dword [rbx + 0xa0], 2
jmp 0x14003ac21
mov dword [rbx + 0x9c], 2
lea rcx, [rbp - 0x78]
call fcn.140003df4
inc r14
mov r8, qword [r12]
mov rcx, qword [r12 + 8]
sub rcx, r8
movabs rax, 0x2e8ba2e8ba2e8ba3
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r14, rdx
mov edi, 0x64
jl 0x14003aa95
call fcn.1401230bc
test al, al
je 0x14003b06c
movups xmm0, xmmword [str.ConEmuWin10FrameCheck]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [0x140173c00]
movups xmmword [rbp + 0x60], xmm1
movsd xmm0, qword [0x140173c10]
movsd qword [rbp + 0x70], xmm0
mov eax, dword [0x140173c18]
mov dword [rbp + 0x78], eax
mov qword [rbp - 0x30], 0x50
lea rax, [0x140036668]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], r13
mov rax, qword [0x14021c5d0]
mov qword [rbp - 0x18], rax
mov rax, qword [0x14021c730]
mov qword [rbp - 0x10], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbp - 8], rax
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
lea rax, [rbp + 0x50]
mov qword [rbp + 0x10], rax
mov rax, qword [0x14021c738]
mov qword [rbp + 0x18], rax
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
je 0x14003b06c
mov qword [rsp + 0x58], r13
mov rax, qword [0x14021c5d0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], 0xc8
mov dword [rsp + 0x30], 0x190
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov r9d, 0x6cf0000
lea r8, [0x14015a140]
lea rdx, [rbp + 0x50]
mov ecx, 0x80000
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rbx, rax
test rax, rax
je 0x14003b05b
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov edx, 8
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov edi, r13d
mov dword [rbp - 0x7c], r13d
mov eax, edi
neg eax
sbb r8d, r8d
and r8d, 0xff350000
add r8d, 0x6cf0000
mov edx, 0xfffffff0
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov r15, r13
mov qword [rbp - 0x60], r13
mov r8, qword [r12]
mov rcx, qword [r12 + 8]
sub rcx, r8
movabs rax, 0x2e8ba2e8ba2e8ba3
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test rdx, rdx
jle 0x14003b044
mov eax, edi
neg eax
sbb r14, r14
and r14d, 0x28
mov rdi, r13
lea r13, [rdi + r8]
mov qword [rbp - 0x78], r13
mov ecx, dword [r13 + 0x28]
sub ecx, dword [r13 + 0x20]
mov r10d, dword [r13 + 0x24]
sub r10d, dword [r13 + 0x1c]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov r11d, eax
mov eax, r10d
cdq
sub eax, edx
sar eax, 1
mov r9d, eax
mov eax, ecx
cdq
and edx, 3
lea r8d, [rdx + rax]
sar r8d, 2
add r8d, dword [r13 + 0x20]
mov eax, r10d
cdq
and edx, 3
add edx, eax
sar edx, 2
add edx, dword [r13 + 0x1c]
xor r13d, r13d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r11d
mov rcx, rbx
call qword [sym.imp.USER32.dll_MoveWindow]
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x30], xmm1
lea rdx, [rbp + 0x40]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x14003b003
mov dword [rsp + 0x20], 0x10
lea r9, [rbp + 0x30]
lea r8d, [r13 + 9]
mov rdx, rbx
mov rcx, qword [rsi + 0xe8]
call fcn.14004ec9c
test eax, eax
js 0x14003b003
mov r9d, dword [rbp + 0x4c]
mov eax, dword [rbp + 0x48]
mov dword [rbp - 0x68], eax
mov r15d, dword [rbp + 0x3c]
mov r13d, dword [rbp + 0x38]
mov r8d, dword [rbp + 0x34]
mov r11d, dword [rbp + 0x30]
mov edx, dword [rbp + 0x40]
cmp r11d, edx
jle 0x14003af85
cmp r13d, eax
jge 0x14003af85
cmp r13d, r11d
jle 0x14003af85
cmp r15d, r8d
jle 0x14003af85
mov ecx, dword [rbp + 0x44]
cmp r8d, ecx
jl 0x14003af85
cmp r15d, r9d
jg 0x14003af85
sub r9d, r15d
sub eax, r13d
sub r8d, ecx
sub r11d, edx
mov dword [rsp + 0x20], r9d
mov r9d, eax
mov edx, r11d
lea rcx, [rbp + 0x20]
call fcn.140127698
movups xmm0, xmmword [rax]
mov rcx, qword [rbp - 0x78]
movdqu xmmword [r14 + rcx + 0x3c], xmm0
mov eax, dword [r14 + rcx + 0x48]
mov dword [rsp + 0x68], eax
mov eax, dword [r14 + rcx + 0x44]
mov dword [rsp + 0x60], eax
mov eax, dword [r14 + rcx + 0x40]
mov dword [rsp + 0x58], eax
mov eax, dword [r14 + rcx + 0x3c]
mov dword [rsp + 0x50], eax
mov eax, dword [rbp + 0x4c]
mov dword [rsp + 0x48], eax
mov eax, dword [rbp + 0x48]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0x44]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x40]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x3c]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x38]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x34]
mov r8d, dword [rbp + 0x30]
lea rdx, str.__DWMWA_EXTENDED_FRAME_BOUNDS_Visible_i__i__i__i_Real_i__i__i__i_Diff_i__i__i__i
jmp 0x14003afde
mov r10d, r9d
sub r10d, r15d
mov edx, eax
sub edx, r13d
mov ecx, r8d
sub ecx, dword [rbp + 0x44]
mov eax, r11d
sub eax, dword [rbp + 0x40]
mov dword [rsp + 0x68], r10d
mov dword [rsp + 0x60], edx
mov dword [rsp + 0x58], ecx
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], r9d
mov eax, dword [rbp - 0x68]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0x44]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x40]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r13d
mov r9d, r8d
mov r8d, r11d
lea rdx, str.__DWMWA_EXTENDED_FRAME_BOUNDS_FAIL_Visible_i__i__i__i_Real_i__i__i__i_Diff_i__i__i__i
lea rcx, [rbp + 0x80]
call fcn.14000d0b8
mov r8b, 1
mov dl, r8b
lea rcx, [rbp + 0x80]
call fcn.14002b004
mov r15, qword [rbp - 0x60]
xor r13d, r13d
inc r15
mov qword [rbp - 0x60], r15
add rdi, 0xb0
mov r8, qword [r12]
mov rcx, qword [r12 + 8]
sub rcx, r8
movabs rax, 0x2e8ba2e8ba2e8ba3
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r15, rdx
jl 0x14003adf3
mov edi, dword [rbp - 0x7c]
inc edi
mov dword [rbp - 0x7c], edi
cmp edi, 1
jle 0x14003ad8b
mov rcx, rbx
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [0x14021c5d0]
lea rcx, [rbp + 0x50]
call qword [sym.imp.USER32.dll_UnregisterClassW]
call fcn.1401230bc
movabs r9, 0x2e8ba2e8ba2e8ba3
test al, al
je 0x14003b164
mov r8, qword [r12]
mov rcx, qword [r12 + 8]
sub rcx, r8
mov rax, r9
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test rdx, rdx
jle 0x14003b161
xor r15d, r15d
lea r14, [r15 + r8]
xor edi, edi
mov eax, edi
neg eax
sbb rbx, rbx
and ebx, 0x28
mov edx, dword [rbx + r14 + 0x3c]
test edx, edx
jne 0x14003b0f3
mov eax, edi
neg eax
sbb edx, edx
add edx, 7
mov dword [rsp + 0x20], edx
mov r9d, edx
xor r8d, r8d
lea rcx, [rbp + 0x20]
call fcn.140127698
movups xmm0, xmmword [rax]
movdqu xmmword [rbx + r14 + 0x3c], xmm0
mov edx, dword [rbx + r14 + 0x3c]
mov eax, edi
neg eax
sbb rcx, rcx
and ecx, 0x28
mov eax, dword [rcx + r14 + 0x54]
sub eax, edx
mov edx, 1
cmp eax, edx
cmovg edx, eax
mov eax, edi
neg eax
sbb rcx, rcx
and ecx, 0x28
mov dword [rcx + r14 + 0x50], edx
inc edi
cmp edi, 1
jle 0x14003b0b5
inc r13
add r15, 0xb0
mov r8, qword [r12]
mov rcx, qword [r12 + 8]
sub rcx, r8
movabs r9, 0x2e8ba2e8ba2e8ba3
mov rax, r9
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r13, rdx
jl 0x14003b0af
xor r13d, r13d
cmp byte [rbp - 0x80], r13b
je 0x14003b3a5
mov qword [rbp - 0x60], r13
mov r13, qword [r12]
mov rcx, qword [r12 + 8]
sub rcx, r13
mov rax, r9
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test rdx, rdx
jle 0x14003b3a5
xor r14d, r14d
mov qword [rbp - 0x68], r14
mov r10d, dword [r14 + r13 + 0x28]
mov ebx, dword [r14 + r13 + 0x20]
mov r9d, dword [r14 + r13 + 0x24]
mov r11d, dword [r14 + r13 + 0x1c]
mov esi, dword [r14 + r13 + 0x18]
mov r15d, dword [r14 + r13 + 0x10]
mov edi, dword [r14 + r13 + 0x14]
mov r14d, dword [r14 + r13 + 0xc]
mov ecx, r10d
sub ecx, ebx
mov eax, r9d
sub eax, r11d
mov r8d, esi
sub r8d, r15d
mov edx, edi
sub edx, r14d
mov dword [rsp + 0x88], ecx
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x78], r10d
mov dword [rsp + 0x70], r9d
mov dword [rsp + 0x68], ebx
mov dword [rsp + 0x60], r11d
mov dword [rsp + 0x58], r8d
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r14d
mov r14, qword [rbp - 0x68]
mov eax, dword [r14 + r13 + 0x38]
mov dword [rsp + 0x28], eax
mov eax, dword [r14 + r13 + 0x30]
mov dword [rsp + 0x20], eax
mov r9d, dword [r14 + r13]
mov rbx, qword [rbp - 0x60]
mov r8d, ebx
lea rdx, str.___i:__08X_dpi_i__i___Full:__i__i__i__i___ix_i___Work:__i__i__i__i___ix_i_
lea rcx, [rbp + 0x80]
call fcn.1400319fc
mov r8b, 1
mov dl, r8b
lea rcx, [rbp + 0x80]
call fcn.14002b004
mov eax, dword [r14 + r13 + 0xac]
test eax, eax
jne 0x14003b277
lea rcx, str.Left
jmp 0x14003b2a8
cmp eax, 2
jne 0x14003b285
lea rcx, str.Right
jmp 0x14003b2a8
cmp eax, 1
jne 0x14003b293
lea rcx, [0x140173ba0]
jmp 0x14003b2a8
lea rdx, str.Bottom
lea rcx, [0x140173bb8]
cmp eax, 3
cmove rcx, rdx
lea rdx, str._Auto
lea rax, [0x14015a140]
cmp dword [r14 + r13 + 0x98], 0
cmovne rax, rdx
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], rcx
mov eax, dword [r14 + r13 + 0x88]
mov dword [rsp + 0x68], eax
mov eax, dword [r14 + r13 + 0x84]
mov dword [rsp + 0x60], eax
mov eax, dword [r14 + r13 + 0x80]
mov dword [rsp + 0x58], eax
mov eax, dword [r14 + r13 + 0x7c]
mov dword [rsp + 0x50], eax
mov eax, dword [r14 + r13 + 0x78]
mov dword [rsp + 0x48], eax
mov eax, dword [r14 + r13 + 0x74]
mov dword [rsp + 0x40], eax
mov eax, dword [r14 + r13 + 0x60]
mov dword [rsp + 0x38], eax
mov eax, dword [r14 + r13 + 0x5c]
mov dword [rsp + 0x30], eax
mov eax, dword [r14 + r13 + 0x58]
mov dword [rsp + 0x28], eax
mov eax, dword [r14 + r13 + 0x54]
mov dword [rsp + 0x20], eax
mov r9d, dword [r14 + r13 + 0x50]
mov r8d, dword [r14 + r13 + 0x4c]
lea rdx, str._____Caption:__i__i__i__i__i__i__NoCaption:__i__i__i__i__i__i__TaskBar:__s_s
lea rcx, [rbp + 0x80]
call fcn.1400319fc
mov r8b, 1
mov dl, r8b
lea rcx, [rbp + 0x80]
call fcn.14002b004
inc rbx
mov qword [rbp - 0x60], rbx
add r14, 0xb0
mov qword [rbp - 0x68], r14
mov r13, qword [r12]
mov rcx, qword [r12 + 8]
sub rcx, r13
movabs rax, 0x2e8ba2e8ba2e8ba3
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbx, rdx
jl 0x14003b1a2
mov rsi, qword [rbp - 0x50]
mov rcx, rsi
call fcn.1400eee2c
mov rcx, qword [rsi + 0xe8]
add rcx, 0x188
call fcn.140059b20
nop
lea rcx, [rbp - 0x48]
call fcn.140128dec
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.140139b10
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret