Function at 0x140038758
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 [0x1401f5698]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov rsi, rcx
mov qword [rbp - 0x60], rcx
lea rcx, [rbp - 0x48]
call fcn.140116c08
nop
lea rdx, [rsi + 0x218]
or r8d, 0xffffffff
lea rcx, [rbp - 0x48]
call fcn.14011b6fc
mov r8b, 1
mov dl, r8b
lea rcx, str.ReloadMonitorInfo
call fcn.1400296e4
mov byte [rbp - 0x80], al
lea r12, [rsi + 0x248]
mov rcx, qword [r12]
mov qword [r12 + 8], rcx
mov r9, rsi
lea r8, [0x140035ea4]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
mov rcx, qword [r12 + 8]
cmp qword [r12], rcx
jne 0x14003882e
xor edx, edx
mov r8d, 0xa8
lea rcx, [rbp + 0x80]
call fcn.14012d4b0
lea rcx, [rbp + 0x88]
call fcn.140121708
mov qword [rbp + 0x80], rax
lea rdx, [rbp + 0x80]
mov rcx, r12
call fcn.14002fb3c
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, 0xc30c30c30c30c30d
imul rcx
add rdx, rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea edi, [r13 + 0x64]
test rdx, rdx
jle 0x140038a41
imul rbx, r14, 0xa8
add rbx, r8
mov dword [rbx + 0x48], r15d
mov dword [rbx + 0x4c], r15d
mov dword [rbx + 0x70], r15d
mov dword [rbx + 0x74], r15d
lea rcx, [rbp - 0x78]
call fcn.1400446c0
xor r8d, r8d
lea rdx, [rbp - 0x78]
mov rcx, qword [rbx]
call fcn.140045090
mov eax, dword [rbp - 0x74]
mov dword [rbx + 0x30], eax
mov eax, dword [rbp - 0x78]
mov dword [rbx + 0x34], eax
mov r8d, edi
mov edx, edi
lea rcx, [rbp + 0x30]
call fcn.14011a574
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.14004b94c
test eax, eax
je 0x140038921
mov ecx, dword [rbp + 0x40]
neg ecx
mov dword [rbx + 0x50], ecx
mov eax, dword [rbp + 0x48]
add eax, 0xffffff9c
mov dword [rbx + 0x58], eax
mov eax, dword [rbp + 0x4c]
add eax, 0xffffff9c
mov dword [rbx + 0x5c], eax
mov eax, dword [rbp + 0x44]
neg eax
mov dword [rbx + 0x54], eax
mov dword [rbx + 0x48], ecx
mov dword [rbx + 0x4c], ecx
mov r8d, edi
mov edx, edi
lea rcx, [rbp - 0x58]
call fcn.14011a574
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.14004b94c
test eax, eax
je 0x140038991
mov ecx, dword [rbp + 0x40]
neg ecx
mov dword [rbx + 0x78], ecx
mov eax, dword [rbp + 0x48]
add eax, 0xffffff9c
mov dword [rbx + 0x80], eax
mov eax, dword [rbp + 0x4c]
add eax, 0xffffff9c
mov dword [rbx + 0x84], eax
mov eax, dword [rbp + 0x44]
neg eax
mov dword [rbx + 0x7c], eax
mov dword [rbx + 0x70], ecx
mov dword [rbx + 0x74], ecx
xorps xmm0, xmm0
movdqu xmmword [rbx + 0x94], xmm0
lea rdi, [rbx + 0xa4]
lea r8, [rbx + 0x88]
lea rcx, [rbx + 0xc]
mov rdx, rdi
call fcn.1401218b4
movzx eax, al
mov dword [rbx + 0x90], eax
test eax, eax
je 0x140038a06
mov ecx, dword [rdi]
test ecx, ecx
je 0x1400389fc
sub ecx, 1
je 0x1400389f0
sub ecx, 1
je 0x1400389e4
cmp ecx, 1
jne 0x140038a06
mov dword [rbx + 0xa0], 2
jmp 0x140038a06
mov dword [rbx + 0x9c], 2
jmp 0x140038a06
mov dword [rbx + 0x98], 2
jmp 0x140038a06
mov dword [rbx + 0x94], 2
inc r14
mov r8, qword [r12]
mov rcx, qword [r12 + 8]
sub rcx, r8
movabs rax, 0xc30c30c30c30c30d
imul rcx
add rdx, rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r14, rdx
mov edi, 0x64
jl 0x140038879
call fcn.140116544
test al, al
je 0x140038e51
movups xmm0, xmmword [str.ConEmuWin10FrameCheck]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [0x140181760]
movups xmmword [rbp + 0x60], xmm1
movsd xmm0, qword [0x140181770]
movsd qword [rbp + 0x70], xmm0
mov eax, dword [0x140181778]
mov dword [rbp + 0x78], eax
mov qword [rbp - 0x30], 0x50
lea rax, [0x14003468c]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], r13
mov rax, qword [0x14022a9d8]
mov qword [rbp - 0x18], rax
mov rax, qword [0x14022ab40]
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 [0x14022ab48]
mov qword [rbp + 0x18], rax
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
je 0x140038e51
mov qword [rsp + 0x58], r13
mov rax, qword [0x14022a9d8]
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, [0x1401759d0]
lea rdx, [rbp + 0x50]
mov ecx, 0x80000
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rbx, rax
test rax, rax
je 0x140038e40
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 - 0x70], 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 - 0x68], r13
mov r8, qword [r12]
mov rcx, qword [r12 + 8]
sub rcx, r8
movabs rax, 0xc30c30c30c30c30d
imul rcx
add rdx, rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test rdx, rdx
jle 0x140038e29
mov eax, edi
neg eax
sbb r14, r14
and r14d, 0x28
mov rdi, r13
lea r13, [rdi + r8]
mov qword [rbp - 0x58], 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 0x140038de5
mov dword [rsp + 0x20], 0x10
lea r9, [rbp + 0x30]
lea r8d, [r13 + 9]
mov rdx, rbx
mov rcx, qword [rsi + 0xe8]
call fcn.14004ba28
test eax, eax
js 0x140038de5
mov r9d, dword [rbp + 0x4c]
mov eax, dword [rbp + 0x48]
mov dword [rbp - 0x78], 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 0x140038d67
cmp r13d, eax
jge 0x140038d67
cmp r13d, r11d
jle 0x140038d67
cmp r15d, r8d
jle 0x140038d67
mov ecx, dword [rbp + 0x44]
cmp r8d, ecx
jl 0x140038d67
cmp r15d, r9d
jg 0x140038d67
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.14011a588
movups xmm0, xmmword [rax]
mov rcx, qword [rbp - 0x58]
movdqu xmmword [r14 + rcx + 0x38], xmm0
mov eax, dword [r14 + rcx + 0x44]
mov dword [rsp + 0x68], eax
mov eax, dword [r14 + rcx + 0x40]
mov dword [rsp + 0x60], eax
mov eax, dword [r14 + rcx + 0x3c]
mov dword [rsp + 0x58], eax
mov eax, dword [r14 + rcx + 0x38]
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 0x140038dc0
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 - 0x78]
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.14000c864
mov r8b, 1
mov dl, r8b
lea rcx, [rbp + 0x80]
call fcn.1400296e4
mov r15, qword [rbp - 0x68]
xor r13d, r13d
inc r15
mov qword [rbp - 0x68], r15
add rdi, 0xa8
mov r8, qword [r12]
mov rcx, qword [r12 + 8]
sub rcx, r8
movabs rax, 0xc30c30c30c30c30d
imul rcx
add rdx, rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r15, rdx
jl 0x140038bd5
mov edi, dword [rbp - 0x70]
inc edi
mov dword [rbp - 0x70], edi
cmp edi, 1
jle 0x140038b6a
mov rcx, rbx
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [0x14022a9d8]
lea rcx, [rbp + 0x50]
call qword [sym.imp.USER32.dll_UnregisterClassW]
call fcn.140116544
movabs r9, 0xc30c30c30c30c30d
test al, al
je 0x140038f4f
mov r8, qword [r12]
mov rcx, qword [r12 + 8]
sub rcx, r8
mov rax, r9
imul rcx
add rdx, rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test rdx, rdx
jle 0x140038f4c
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 + 0x38]
test edx, edx
jne 0x140038edb
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.14011a588
movups xmm0, xmmword [rax]
movdqu xmmword [rbx + r14 + 0x38], xmm0
mov edx, dword [rbx + r14 + 0x38]
mov eax, edi
neg eax
sbb rcx, rcx
and ecx, 0x28
mov eax, dword [rcx + r14 + 0x50]
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 + 0x4c], edx
inc edi
cmp edi, 1
jle 0x140038e9d
inc r13
add r15, 0xa8
mov r8, qword [r12]
mov rcx, qword [r12 + 8]
sub rcx, r8
movabs r9, 0xc30c30c30c30c30d
mov rax, r9
imul rcx
add rdx, rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r13, rdx
jl 0x140038e97
xor r13d, r13d
cmp byte [rbp - 0x80], r13b
je 0x140039187
mov qword [rbp - 0x68], r13
mov r13, qword [r12]
mov rcx, qword [r12 + 8]
sub rcx, r13
mov rax, r9
imul rcx
add rdx, rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test rdx, rdx
jle 0x140039187
xor r14d, r14d
mov qword [rbp - 0x78], 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 + 0x80], ecx
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x70], r10d
mov dword [rsp + 0x68], r9d
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x58], r11d
mov dword [rsp + 0x50], r8d
mov dword [rsp + 0x48], edx
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r14d
mov r14, qword [rbp - 0x78]
mov eax, dword [r14 + r13 + 0x34]
mov dword [rsp + 0x20], eax
mov r9d, dword [r14 + r13]
mov rbx, qword [rbp - 0x68]
mov r8d, ebx
lea rdx, str.___i:__08X_dpi_i__Full:__i__i__i__i___ix_i___Work:__i__i__i__i___ix_i_
lea rcx, [rbp + 0x80]
call fcn.14002fc18
mov r8b, 1
mov dl, r8b
lea rcx, [rbp + 0x80]
call fcn.1400296e4
mov eax, dword [r14 + r13 + 0xa4]
test eax, eax
jne 0x140039059
lea rcx, [0x1401816e0]
jmp 0x14003908a
cmp eax, 2
jne 0x140039067
lea rcx, str.Right
jmp 0x14003908a
cmp eax, 1
jne 0x140039075
lea rcx, [0x140181700]
jmp 0x14003908a
lea rdx, str.Bottom
lea rcx, [0x140181718]
cmp eax, 3
cmove rcx, rdx
lea rdx, str._Auto
lea rax, [0x1401759d0]
cmp dword [r14 + r13 + 0x90], 0
cmovne rax, rdx
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], rcx
mov eax, dword [r14 + r13 + 0x84]
mov dword [rsp + 0x68], eax
mov eax, dword [r14 + r13 + 0x80]
mov dword [rsp + 0x60], eax
mov eax, dword [r14 + r13 + 0x7c]
mov dword [rsp + 0x58], eax
mov eax, dword [r14 + r13 + 0x78]
mov dword [rsp + 0x50], eax
mov eax, dword [r14 + r13 + 0x74]
mov dword [rsp + 0x48], eax
mov eax, dword [r14 + r13 + 0x70]
mov dword [rsp + 0x40], eax
mov eax, dword [r14 + r13 + 0x5c]
mov dword [rsp + 0x38], eax
mov eax, dword [r14 + r13 + 0x58]
mov dword [rsp + 0x30], eax
mov eax, dword [r14 + r13 + 0x54]
mov dword [rsp + 0x28], eax
mov eax, dword [r14 + r13 + 0x50]
mov dword [rsp + 0x20], eax
mov r9d, dword [r14 + r13 + 0x4c]
mov r8d, dword [r14 + r13 + 0x48]
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.14002fc18
mov r8b, 1
mov dl, r8b
lea rcx, [rbp + 0x80]
call fcn.1400296e4
inc rbx
mov qword [rbp - 0x68], rbx
add r14, 0xa8
mov qword [rbp - 0x78], r14
mov r13, qword [r12]
mov rcx, qword [r12 + 8]
sub rcx, r13
movabs rax, 0xc30c30c30c30c30d
imul rcx
add rdx, rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbx, rdx
jl 0x140038f90
mov rsi, qword [rbp - 0x60]
mov rcx, rsi
call fcn.1400e3ff8
mov rcx, qword [rsi + 0xe8]
add rcx, 0x188
call fcn.140056314
nop
lea rcx, [rbp - 0x48]
call fcn.14011b698
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.14012bda0
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