Function at 0x1400020a0
Capabilities:
Check os version
Enumerate process modules
Get graphical window text
Get keyboard layout

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1200]
mov eax, 0x1360
call fcn.14012bd30
sub rsp, rax
mov rax, qword [0x1401f5698]
xor rax, rsp
mov qword [rbp + 0x11f0], rax
mov r13, r8
mov qword [rbp - 0x50], r8
mov r12, rdx
mov qword [rbp - 0x48], rdx
mov r15, rcx
mov qword [rbp - 0x60], rcx
xor edi, edi
test rcx, rcx
je 0x140002fe1
cmp qword [rcx], 0xb50
jb 0x140002fe1
mov ebx, 0x100
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x890]
call fcn.14012d4b0
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x760]
call fcn.14012d4b0
call fcn.140116890
movzx ebx, al
mov dword [rbp + 0x450], 0x11c
xor edx, edx
mov r8d, 0x118
lea rcx, [rbp + 0x454]
call fcn.14012d4b0
lea rcx, [rbp + 0x450]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rcx, [rbp + 0x464]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
lea r14, [rbp + 0x464]
lea r14, [r14 + rcx*2]
lea rax, [r14 + 0x14]
lea rcx, [rbp + 0x564]
cmp rax, rcx
jae 0x140002193
lea rax, [r14 + 2]
cmp word [rax], di
cmovne r14, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x40], rdi
xor edx, edx
lea r8d, [rdx + 0x40]
lea rcx, [rbp + 0x720]
call fcn.14012d4b0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x14000227e
mov qword [rbp - 0x80], rdi
xorps xmm0, xmm0
movups xmmword [rbp + 0x430], xmm0
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x14000227e
lea rdx, [rbp + 0x430]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x14000227e
movzx eax, word [rbp + 0x43e]
movzx ecx, word [rbp + 0x43c]
movzx edx, word [rbp + 0x43a]
movzx r10d, word [rbp + 0x438]
movzx r11d, word [rbp + 0x436]
movzx r9d, word [rbp + 0x432]
movzx r8d, word [rbp + 0x430]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
lea rdx, str._u__02u__02u__02u:_02u:_02u._03u
lea rcx, [rbp + 0x720]
call fcn.1400011a0
lea eax, [rbx + 1]
shl eax, 5
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x45c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x458]
mov r8d, dword [rbp + 0x454]
lea rdx, str._u._u._u.x_u
lea rcx, [rbp + 0x760]
call fcn.1400011f8
cmp dword [rbp + 0x454], 6
jne 0x1400022e6
cmp dword [rbp + 0x458], 3
jne 0x1400022e6
call fcn.140116544
test al, al
je 0x1400022e6
lea r8, str.__Win10_
mov edx, 0x80
lea rcx, [rbp + 0x760]
call fcn.140001e48
xorps xmm0, xmm0
movups xmmword [rbp + 0x6e0], xmm0
mov r8d, 8
lea rdx, [0x1401759d0]
lea rcx, [rbp + 0x6e0]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp word [rbp + 0x6e0], di
je 0x140002323
cmp word [rbp + 0x6e2], di
lea rax, [0x140175b8c]
jne 0x14000232a
lea rax, [0x1401759d0]
lea rcx, [rbp + 0x6e0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xd
mov r9d, 7
lea r8d, [r9 + 0xd]
lea rdx, [0x140175b90]
lea rcx, [rbp + 0x860]
call fcn.140001174
movzx eax, byte [rbp + 0x56a]
lea rcx, [rbp + 0x6f0]
cmp al, 1
jne 0x14000237b
lea rdx, str.workstation
jmp 0x140002393
cmp al, 3
jne 0x140002388
lea rdx, str.server
jmp 0x140002393
cmp al, 2
jne 0x14000239a
lea rdx, str.domain
call fcn.140001250
jmp 0x1400023a9
mov r8d, eax
lea rdx, [0x140175bf0]
call fcn.140001148
lea rcx, [rbp + 0x450]
call fcn.140001368
mov qword [rbp - 0x80], rax
movzx ebx, word [r14]
mov ecx, 0x59
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r9d, eax
movzx esi, byte [rbp + 0x56b]
lea rax, [0x140175aa0]
lea rdx, [0x1401759d0]
mov rdi, rdx
test bx, bx
cmovne rdi, rax
lea rax, [0x140175bf8]
mov r11, rdx
cmovne r11, rax
mov r10, rdx
mov rbx, qword [rbp - 0x80]
test rbx, rbx
cmovne r10, rbx
movzx ecx, word [rbp + 0x568]
movzx edx, word [rbp + 0x566]
movzx r8d, word [rbp + 0x564]
lea rax, [rbp + 0x720]
mov qword [rsp + 0xc0], rax
mov eax, dword [r15 + 0x220]
mov dword [rsp + 0xb8], eax
mov eax, dword [r15 + 0x234]
mov dword [rsp + 0xb0], eax
mov eax, dword [r15 + 0x230]
mov dword [rsp + 0xa8], eax
mov eax, dword [r15 + 0x210]
mov dword [rsp + 0xa0], eax
mov eax, dword [r15 + 0x22c]
mov dword [rsp + 0x98], eax
mov eax, dword [r15 + 0x228]
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x88], r9d
mov eax, dword [r15 + 0x21c]
mov dword [rsp + 0x80], eax
mov eax, dword [r15 + 0x218]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x70], esi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x58], r11
mov eax, dword [r15 + 0x224]
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x48], r10
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], r8d
lea rax, [rbp + 0x6f0]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x760]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8, [rbp + 0x860]
lea rdx, str.ConEmu__s___u__Startup_Info_r_n__OsVer:__s__Product:__s__SP:__u._u__Suite:_0x_X_r_n__Build:__s__ReactOS:__u_s_s_s__Rsrv:__u__WINE:__u__PE:__u__R2:__u_r_n__DBCS:__u__IMM:__u__Remote:__u__ACP:__u__OEMCP:__u__Admin:__u_r_n__StartTime:__s_r_n
lea rcx, [rbp + 0x9d0]
call fcn.1400011cc
xor r9d, r9d
mov r8b, 1
mov rdx, r13
lea rcx, [rbp + 0x9d0]
call r12
xor r14d, r14d
test rbx, rbx
je 0x14000252b
mov rcx, rbx
call fcn.140113e18
mov dword [rbp - 0x80], r14d
mov dword [rbp - 0x78], r14d
call fcn.1401167e0
test al, al
je 0x140002627
lea rdx, str.UxTheme.dll
lea rcx, [rbp + 0x430]
call fcn.140116be8
nop
mov rcx, qword [rbp + 0x430]
test rcx, rcx
je 0x1400025b1
lea rdx, str.IsAppThemed
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov dword [rbp - 0x78], r14d
test rax, rax
je 0x1400025b5
mov rcx, qword [rbp + 0x430]
test rcx, rcx
je 0x1400025b1
lea rdx, str.IsThemeActive
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
mov dword [rbp - 0x78], r14d
test rax, rax
je 0x1400025b5
call rdi
test eax, eax
je 0x1400025b1
call rbx
test eax, eax
mov dword [rbp - 0x78], 1
jne 0x1400025b5
mov dword [rbp - 0x78], r14d
mov dword [rbp - 0x80], r14d
call fcn.1401165fc
test al, al
je 0x14000261b
lea rdx, str.dwmapi.dll
lea rcx, [rbp - 0x28]
call fcn.140116be8
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14000260d
lea rdx, str.DwmIsCompositionEnabled
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [rbp - 0x80], r14d
test rax, rax
je 0x140002611
mov dword [rbp - 0x80], r14d
lea rcx, [rbp - 0x80]
call rax
test eax, eax
jne 0x14000260d
cmp dword [rbp - 0x80], r14d
mov dword [rbp - 0x80], 1
jne 0x140002611
mov dword [rbp - 0x80], r14d
lea rcx, [rbp - 0x28]
call fcn.140116c14
nop
lea rcx, [rbp + 0x430]
call fcn.140116c14
lea rbx, str._NULL_
mov rdx, rbx
cmp qword [r15 + 0x18], r14
cmovne rdx, qword [r15 + 0x18]
mov r8d, 0x80
lea rcx, [rbp + 0x890]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
mov rdx, rbx
cmp qword [r15 + 0x20], r14
cmovne rdx, qword [r15 + 0x20]
mov r8d, 0x80
lea rcx, [rbp + 0x760]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
lea rax, [0x140175e48]
lea rsi, [0x1401759d0]
cmp qword [r15 + 0x20], r14
cmovne rsi, rax
lea r14, [0x1401759d0]
xor ecx, ecx
cmp qword [r15 + 0x18], rcx
cmovne r14, rax
movzx ebx, word [r15 + 0x48]
call fcn.14011dc58
mov edi, eax
call fcn.14011dd14
mov rdx, rax
mov ecx, dword [r15 + 0x68]
mov dword [rsp + 0xd0], ecx
mov ecx, dword [r15 + 0x60]
mov dword [rsp + 0xc8], ecx
mov ecx, dword [r15 + 0x58]
mov dword [rsp + 0xc0], ecx
mov dword [rsp + 0xb8], 8
mov dword [rsp + 0xb0], 4
mov dword [rsp + 0xa8], 4
mov dword [rsp + 0xa0], 2
mov dword [rsp + 0x98], 1
mov rax, qword [rbp - 0x70]
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x88], ebx
mov eax, dword [r15 + 0x44]
mov dword [rsp + 0x80], eax
mov eax, dword [r15 + 0x34]
mov dword [rsp + 0x78], eax
mov eax, dword [r15 + 0x30]
mov dword [rsp + 0x70], eax
mov eax, dword [r15 + 0x2c]
mov dword [rsp + 0x68], eax
mov eax, dword [r15 + 0x28]
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x58], rsi
lea rax, [rbp + 0x760]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov eax, dword [rbp - 0x80]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp - 0x78]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x890]
mov r8, r14
lea rdx, str.__Desktop:__s_s_s__SessionId:__s__ConsoleSessionId:__u__Theming:__u__DWM:__u_r_n__Title:__s_s_s_r_n__Size:__u__u__u__u_r_n__Flags:_0x_08X__ShowWindow:__u__ConHWnd:_0x_08X_r_n__char:__u__short:__u__int:__u__long:__u__u64:__u_r_n__Handles:_0x_08X__0x_08X__0x_08X_r_n
lea rcx, [rbp + 0x9d0]
call fcn.1400011cc
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
lea rcx, [rbp + 0x9d0]
call r12
xor r14d, r14d
cmp qword [rbp - 0x70], r14
je 0x140002851
mov word [rbp + 0x9d0], r14w
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002818
lea rdx, str.GetConsoleKeyboardLayoutNameW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x140002818
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x760]
call fcn.14012d4b0
lea rcx, [rbp + 0x760]
call rbx
test eax, eax
je 0x140002818
lea r8, [rbp + 0x760]
lea rdx, str.__Active_console_layout_name:__s
lea rcx, [rbp + 0x9d0]
call fcn.1400011cc
cmp word [rbp + 0x9d0], r14w
jne 0x14000283e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.__Active_console_layout:_Unknown__code_u
lea rcx, [rbp + 0x9d0]
call fcn.1400011cc
mov r9b, 1
xor r8d, r8d
mov rdx, r13
lea rcx, [rbp + 0x9d0]
call r12
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
mov r9d, ebx
lea rdx, str.__Current_PID:__u__TID:__u
lea rcx, [rbp + 0x9d0]
call fcn.1400011cc
mov r9b, 1
xor r8d, r8d
mov rdx, r13
lea rcx, [rbp + 0x9d0]
call r12
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x5e8]
call fcn.14012d4b0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
mov qword [rbp + 0x5e0], rax
mov r8, rax
shr r8, 0x20
mov r9d, eax
lea rdx, str.__Active_HKL:_0x_08X_08X
lea rcx, [rbp + 0x9d0]
call fcn.1400011cc
mov r9b, 1
xor r8d, r8d
mov rdx, r13
lea rcx, [rbp + 0x9d0]
call r12
lea rdx, [rbp + 0x5e0]
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetKeyboardLayoutList]
mov ebx, eax
lea ecx, [rbx - 1]
cmp ecx, 0x1f
ja 0x140002972
lea rdx, str.__GetKeyboardLayoutList:
lea rcx, [rbp + 0x9d0]
call fcn.1400012e8
lea rcx, [rbp + 0x9d0]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rsi, eax
test ebx, ebx
je 0x14000298e
lea rdi, [rbp + 0x5e0]
mov r14d, ebx
lea rbx, [rbp + 0x9d0]
lea rbx, [rbx + rsi*2]
mov r9, qword [rdi]
shr r9, 0x20
mov eax, dword [rdi]
mov dword [rsp + 0x20], eax
lea r8, str._0x_08X_08X
mov edx, 0x12
mov rcx, rbx
call fcn.1401145a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
add rsi, rcx
lea rdi, [rdi + 8]
sub r14, 1
jne 0x14000292b
jmp 0x14000298e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.__GetKeyboardLayoutList_failed__code_u
lea rcx, [rbp + 0x9d0]
call fcn.1400011cc
mov r9b, 1
xor r8d, r8d
mov rdx, r13
lea rcx, [rbp + 0x9d0]
call r12
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
lea rcx, str.CmdLine:
call r12
mov rax, qword [r15 + 0x1e8]
lea rbx, str._NULL_
mov rcx, rbx
test rax, rax
cmovne rcx, rax
mov r9b, 1
xor r8d, r8d
mov rdx, r13
call r12
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
lea rcx, str.ExecMod:
call r12
mov rax, qword [r15 + 0x1f0]
mov rcx, rbx
test rax, rax
cmovne rcx, rax
mov r9b, 1
xor r8d, r8d
mov rdx, r13
call r12
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
lea rcx, str.WorkDir:
call r12
mov rax, qword [r15 + 0x1f8]
mov rcx, rbx
test rax, rax
cmovne rcx, rax
mov r9b, 1
xor r8d, r8d
mov rdx, r13
call r12
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
lea rcx, str.PathEnv:
call r12
mov rax, qword [r15 + 0x200]
mov rcx, rbx
test rax, rax
cmovne rcx, rax
mov r9b, 1
xor r8d, r8d
mov rdx, r13
call r12
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
lea rcx, str.ConFont:
call r12
mov rax, qword [r15 + 0xb40]
test rax, rax
cmovne rbx, rax
mov r9b, 1
xor r8d, r8d
mov rdx, r13
mov rcx, rbx
call r12
mov r9b, 1
xor r8d, r8d
mov rdx, r13
cmp qword [r15 + 0xb48], r14
jne 0x140002ab3
lea rcx, str.CMDs_AutoRuns:_not_defined
jmp 0x140002acd
lea rcx, str.CMDs_AutoRuns:
call r12
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
mov rcx, qword [r15 + 0xb48]
call r12
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x440], xmm0
test rax, rax
je 0x140002b25
lea rdx, [rbp + 0x440]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edi, 0x7f
mov r8d, edi
lea rdx, [rbp + 0x890]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClassNameW]
mov r8d, edi
lea rdx, [rbp + 0x760]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x140002b35
mov word [rbp + 0x890], r14w
mov word [rbp + 0x760], r14w
lea rax, [rbp + 0x760]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x890]
mov qword [rsp + 0x38], rax
mov eax, dword [rbp + 0x44c]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x448]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x444]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x440]
mov r8d, ebx
lea rdx, str.Foreground:_x_08X__i__i__i__i__s____s
lea rcx, [rbp + 0x9d0]
call fcn.1400011cc
mov r9b, 1
xor r8d, r8d
mov rdx, r13
lea rcx, [rbp + 0x9d0]
call r12
mov qword [rbp - 0x68], r14
lea rcx, [rbp - 0x68]
call qword [sym.imp.USER32.dll_GetCursorPos]
xor edx, edx
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.USER32.dll_MonitorFromPoint]
mov rdi, rax
xor edx, edx
lea r8d, [rdx + 0x64]
lea rcx, [rbp + 0x574]
call fcn.14012d4b0
mov dword [rbp + 0x570], 0x68
mov rbx, qword [r15 + 0x70]
test rbx, rbx
je 0x140002bf1
lea rdx, [rbp + 0x570]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
jne 0x140002bf4
mov rbx, r14
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], edi
mov r9d, dword [rbp - 0x64]
mov r8d, dword [rbp - 0x68]
lea rdx, str.MouseCursor:__i__i_MouseMonitor:__08X_StartMonitor:__08X
lea rcx, [rbp + 0x9d0]
call fcn.1400011cc
mov r9b, 1
xor r8d, r8d
mov rdx, r13
lea rcx, [rbp + 0x9d0]
call r12
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r13, rax
mov edx, 0xc
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [r15 + 0x214], eax
mov edx, 0xe
mov rcx, r13
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov r12d, eax
mov edx, 0x77
mov rcx, r13
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov r15d, eax
mov edx, 0x74
mov rcx, r13
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov r14d, eax
mov edx, 0x78
mov rcx, r13
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov esi, eax
mov edx, 0x26
mov rcx, r13
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edi, eax
mov edx, 0x58
mov rcx, r13
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ebx, eax
mov edx, 0x5a
mov rcx, r13
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov rdx, qword [rbp - 0x60]
mov ecx, dword [rdx + 0x238]
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r15d
mov r9d, r12d
mov r15, rdx
mov r8d, dword [rdx + 0x214]
lea rdx, str.Display:_bpp_i__planes_i__align_i__vrefr_i__shadex_08X__rastx_08X__dpi_ix_i__per_mon_dpi_u
lea rcx, [rbp + 0x9d0]
call fcn.1400011cc
mov rdx, r13
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov r9b, 1
xor r8d, r8d
mov rdi, qword [rbp - 0x50]
mov rdx, rdi
lea rcx, [rbp + 0x9d0]
mov rbx, qword [rbp - 0x48]
call rbx
mov r9b, 1
xor r8d, r8d
mov rdx, rdi
lea rcx, str.Monitors__dpi:_WholeDesktop__Effective__Angular__RAW_:
call rbx
xor r14d, r14d
mov qword [rbp - 0x70], r14
cmp dword [r15 + 0x23c], r14d
jbe 0x140002f03
mov r13d, r14d
mov qword [rbp - 0x80], r14
movzx eax, r14w
mov word [rbp + 0x890], ax
lea rbx, [r13 + 0x270]
add rbx, r15
mov edi, 4
mov r8d, dword [rbx - 4]
test r8d, r8d
jne 0x140002d7d
cmp dword [rbx], r14d
je 0x140002dc0
lea rcx, [0x140176540]
lea rdx, [0x140176558]
test ax, ax
cmovne rdx, rcx
mov r9d, dword [rbx]
lea rcx, [rbp + 0x990]
call fcn.1400011a0
lea r8, [rbp + 0x990]
mov edx, 0x80
lea rcx, [rbp + 0x890]
call fcn.140001e48
movzx eax, word [rbp + 0x890]
add rbx, 8
sub rdi, 1
jne 0x140002d6f
mov edi, dword [r15 + r13 + 0x264]
mov r14d, dword [r15 + r13 + 0x25c]
mov ebx, dword [r15 + r13 + 0x260]
mov esi, dword [r15 + r13 + 0x258]
mov r12d, dword [r15 + r13 + 0x254]
mov r13d, dword [r15 + r13 + 0x24c]
mov rax, qword [rbp - 0x80]
mov r15d, dword [r15 + rax + 0x250]
mov rdx, qword [rbp - 0x60]
mov r9d, dword [rdx + rax + 0x248]
test byte [rdx + rax + 0x268], 1
lea r8, str.____Primary
lea rcx, [0x1401759d0]
cmovne rcx, r8
add rax, 0x28c
add rax, rdx
mov r8d, edi
sub r8d, r14d
mov edx, ebx
sub edx, esi
mov r11d, r12d
sub r11d, r13d
mov r10d, r15d
sub r10d, r9d
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x80], rax
lea rax, [rbp + 0x890]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x70], r8d
mov dword [rsp + 0x68], edx
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x50], r14d
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r13d
mov r15, qword [rbp - 0x60]
mov r13, qword [rbp - 0x80]
mov r8d, dword [r15 + r13 + 0x240]
lea rdx, str.___08X:__i__i__i__i___ix_i___Working:__i__i__i__i___ix_i___dpi:__s___s__s
lea rcx, [rbp + 0x9d0]
call fcn.1400011cc
mov r9b, 1
xor r8d, r8d
mov rdi, qword [rbp - 0x50]
mov rdx, rdi
lea rcx, [rbp + 0x9d0]
mov rbx, qword [rbp - 0x48]
call rbx
mov rcx, qword [rbp - 0x70]
inc rcx
mov qword [rbp - 0x70], rcx
add r13, 0x90
mov qword [rbp - 0x80], r13
mov eax, dword [r15 + 0x23c]
cmp rcx, rax
mov r14d, 0
jb 0x140002d55
mov r9b, 1
xor r8d, r8d
mov rdx, rdi
lea rcx, str.Modules:
call rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
mov dword [rbp - 0x10], 0x438
xor edx, edx
mov r8d, 0x434
lea rcx, [rbp - 0xc]
call fcn.14012d4b0
lea rcx, [rsi - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140002ff4
lea rdx, [rbp - 0x10]
mov rcx, rsi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x140002fd2
mov r8d, dword [rbp + 0x10]
mov eax, r8d
lea edx, [r8 - 1]
neg eax
sbb ecx, ecx
and edx, ecx
mov rcx, qword [rbp + 8]
add rdx, rcx
mov rax, rdx
shr rax, 0x20
shr rcx, 0x20
lea r9, [rbp + 0x220]
mov qword [rsp + 0x38], r9
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 8]
mov r8d, ecx
lea rdx, str.___08X_08X__08X_08X__8X__s
lea rcx, [rbp + 0x9d0]
call fcn.1400011cc
mov r9b, 1
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x9d0]
call rbx
lea rdx, [rbp - 0x10]
mov rcx, rsi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x140002f5e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140002ff4
mov r9b, 1
mov r8b, r9b
mov rdx, r13
lea rcx, str.LogStartEnv_failed__invalid_apStartEnv
call r12
mov rcx, qword [rbp + 0x11f0]
xor rcx, rsp
call fcn.14012bda0
mov rbx, qword [rsp + 0x13b8]
add rsp, 0x1360
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret