Function at 0x1400062f0
Capabilities:
Check for foreground window switch
Enumerate process modules
Enumerate processes
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x298]
sub rsp, 0x370
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14004d010]
xor rax, rsp
mov qword [rbp + 0x240], rax
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov esi, 1
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x140044dd4]
lea rdx, str.CONOUT_
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov dword [0x14004d9c0], 0x50
mov dword [0x14004d9c4], 0x40
lea rax, [0x140001f80]
mov qword [0x14004d9c8], rax
xor r14d, r14d
mov qword [0x14004d9d0], r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x14004d9d8], rax
xorps xmm0, xmm0
movdqa xmmword [0x14004d9e0], xmm0
xorps xmm1, xmm1
movdqa xmmword [0x14004d9f0], xmm1
lea rbx, str.class001
mov qword [0x14004da00], rbx
mov qword [0x14004da08], r14
lea rcx, [0x14004d9c0]
call qword [sym.imp.USER32.dll_RegisterClassExA]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mov ecx, esi
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x14004543c]
subss xmm0, dword [0x140045518]
cvttss2si r8d, xmm0
mulss xmm6, dword [0x14004543c]
subss xmm6, dword [0x14004551c]
cvttss2si ecx, xmm6
mov qword [rsp + 0x58], r14
mov rax, qword [0x14004d9d8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], 0x12c
mov dword [rsp + 0x30], 0x1f4
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], ecx
mov r9d, 0x80000000
lea r8, str.example_window
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x14004d9b0], rax
lea edx, [rsi + 9]
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x14004d9b0]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
lea ecx, [rsi + 0x1f]
call qword [sym.imp.d3d9.dll_Direct3DCreate9]
mov rcx, rax
mov qword [0x14004d9a8], rax
test rax, rax
je 0x14000652a
mov qword [0x14004da10], r14
mov qword [0x14004da1c], r14
mov dword [0x14004da24], r14d
mov qword [0x14004da2c], r14
mov dword [0x14004da34], r14d
mov qword [0x14004da44], r14
mov dword [0x14004da38], esi
mov dword [0x14004da28], esi
mov dword [0x14004da18], r14d
mov dword [0x14004da3c], esi
mov dword [0x14004da40], 0x50
mov dword [0x14004da4c], esi
mov rax, qword [rax]
lea rdx, [0x14004d9b8]
mov qword [rsp + 0x30], rdx
lea rdx, [0x14004da10]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x40
mov r9, qword [0x14004d9b0]
mov r8d, esi
xor edx, edx
call qword [rax + 0x80]
nop
call fcn.1400021c0
mov qword [rbp + 0x1b0], r14
lea rax, [rbp + 0x1b0]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlSecureBootState
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140007249
mov dword [rbp + 0x1c0], r14d
mov dword [rbp + 0x1b8], 4
lea rax, [rbp + 0x1b8]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.UEFISecureBootEnabled
mov rcx, qword [rbp + 0x1b0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x1b0]
test eax, eax
jne 0x140007243
movzx ebx, al
cmp dword [rbp + 0x1c0], 1
cmove ebx, esi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x140007249
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140007227
xor edx, edx
mov r8d, 0x12c
lea rcx, [rsp + 0x74]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x70], 0x130
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140006647
lea rdx, str.PathOfExileSteam.exe
lea rcx, [rbp - 0x64]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14000663d
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x140006614
mov eax, dword [rsp + 0x78]
mov dword [0x14004da80], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [0x14004da80]
test r8d, r8d
je 0x140007227
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x14004da78], rax
cmp rax, 0xffffffffffffffff
je 0x140007265
mov rdi, r14
mov edx, dword [0x14004da80]
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400066f9
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x74]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32First]
test eax, eax
je 0x1400066f0
lea rdx, str.PathOfExileSteam.exe
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x1400066ec
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32Next]
jmp 0x1400066c3
mov rdi, qword [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14004da88], rdi
test rdi, rdi
je 0x140007281
lea rdx, [rdi + 0x2e51268]
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rbp + 0x1b0]
mov rcx, qword [0x14004da78]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rbp + 0x1b0]
mov qword [0x14004da90], rax
test rax, rax
je 0x14000720b
lea rdx, [0x140006290]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
lea rdx, str.Base_Address:_0x
call fcn.140001230
mov rdx, qword [0x14004da90]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
call fcn.1400073e0
cmp byte [0x14004d044], 0
je 0x140007001
movabs r13, 0x7ffffffffff0bdbf
movabs r15, 0x311cdad160000
movabs r12, 0x112e0be826d694b3
movss xmm7, dword [0x140045474]
movsd xmm6, qword [0x140045510]
nop dword [rax]
mov rdx, qword [0x14004da88]
add rdx, 0x2e51268
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rbp + 0x1b0]
mov rcx, qword [0x14004da78]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rbp + 0x1b0]
mov qword [0x14004da90], rax
lea rbx, [0x140040a40]
mov edi, 4
nop word [rax + rax]
mov edx, dword [rbx]
add rdx, rax
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rbp + 0x1c0]
mov rcx, qword [0x14004da78]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rbp + 0x1c0]
lea rbx, [rbx + 4]
sub rdi, 1
jne 0x140006810
mov dword [0x14004da58], eax
mov rax, qword [0x14004da90]
lea rbx, [0x140040a30]
mov edi, 4
nop
mov edx, dword [rbx]
add rdx, rax
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rbp + 0x1c8]
mov rcx, qword [0x14004da78]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rbp + 0x1c8]
lea rbx, [rbx + 4]
sub rdi, 1
jne 0x140006860
mov dword [0x14004da5c], eax
mov rax, qword [0x14004da90]
lea rbx, [0x140040a20]
mov edi, 4
nop
mov edx, dword [rbx]
add rdx, rax
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rbp + 0x1d0]
mov rcx, qword [0x14004da78]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rbp + 0x1d0]
lea rbx, [rbx + 4]
sub rdi, 1
jne 0x1400068b0
mov dword [0x14004da60], eax
mov rax, qword [0x14004da90]
lea rbx, [0x140040a58]
mov edi, 4
nop
mov edx, dword [rbx]
add rdx, rax
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rbp + 0x1d8]
mov rcx, qword [0x14004da78]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rbp + 0x1d8]
lea rbx, [rbx + 4]
sub rdi, 1
jne 0x140006900
mov dword [0x14004da64], eax
cmp byte [0x14004da69], dil
je 0x140006ae5
cmp qword [0x14004da90], rdi
je 0x140006ae5
mov ecx, dword [0x14004da58]
test ecx, ecx
je 0x140006ae5
cmp ecx, 0x7530
ja 0x140006ae5
mov ecx, dword [0x14004da5c]
test ecx, ecx
je 0x140006ae5
cmp ecx, 0x7530
ja 0x140006ae5
mov ecx, dword [0x14004da60]
test ecx, ecx
je 0x140006ae5
cmp ecx, 0x7530
ja 0x140006ae5
test eax, eax
je 0x140006ae5
cmp eax, 0x7530
ja 0x140006ae5
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x1400069d4
imul rcx, rax, 0x64
jmp 0x1400069ef
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rcx, rax
movsxd r8, dword [0x14004d04c]
mov rdx, rcx
sub rdx, qword [0x14004dac0]
movabs rdi, 0x431bde82d7b634db
mov rax, rdi
imul rdx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, r8
je 0x140006a29
jl 0x140006aef
mov qword [0x14004dac0], rcx
mov ecx, dword [0x14004d048]
imul ecx, dword [0x14004da5c]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp dword [0x14004da58], edx
jg 0x140006aef
mov rdx, qword [0x14004db70]
mov ecx, dword [0x14004da6c]
test ecx, ecx
je 0x140006aa0
sub ecx, 1
je 0x140006a99
sub ecx, 1
je 0x140006a92
sub ecx, 1
je 0x140006a8b
cmp ecx, 1
je 0x140006a84
mov ecx, r14d
jmp 0x140006aa5
mov ecx, 0x35
jmp 0x140006aa5
mov ecx, 0x34
jmp 0x140006aa5
mov ecx, 0x33
jmp 0x140006aa5
mov ecx, 0x32
jmp 0x140006aa5
mov ecx, 0x31
call rdx
mov edi, eax
lea rdx, str.Path_of_Exile
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rbx, rax
jne 0x140006ae5
mov edx, esi
mov ecx, edi
call qword [0x14004db68]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 2
mov ecx, edi
call qword [0x14004db68]
movabs rdi, 0x431bde82d7b634db
cmp byte [0x14004da68], 0
je 0x140006c96
cmp qword [0x14004da90], 0
je 0x140006c96
mov ecx, dword [0x14004da58]
test ecx, ecx
je 0x140006c96
cmp ecx, 0x7530
ja 0x140006c96
mov ecx, dword [0x14004da5c]
test ecx, ecx
je 0x140006c96
cmp ecx, 0x7530
ja 0x140006c96
mov ecx, dword [0x14004da60]
test ecx, ecx
je 0x140006c96
cmp ecx, 0x7530
ja 0x140006c96
mov eax, dword [0x14004da64]
test eax, eax
je 0x140006c96
cmp eax, 0x7530
ja 0x140006c96
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x140006b8f
imul rcx, rax, 0x64
jmp 0x140006baa
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rcx, rax
movsxd r8, dword [0x14004d084]
mov rdx, rcx
sub rdx, qword [0x14004dab8]
mov rax, rdi
imul rdx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, r8
je 0x140006bda
jl 0x140006c96
mov qword [0x14004dab8], rcx
mov ecx, dword [0x14004d050]
imul ecx, dword [0x14004da64]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp dword [0x14004da60], edx
jg 0x140006c96
mov rdx, qword [0x14004db70]
mov ecx, dword [0x14004da70]
test ecx, ecx
je 0x140006c51
sub ecx, 1
je 0x140006c4a
sub ecx, 1
je 0x140006c43
sub ecx, 1
je 0x140006c3c
cmp ecx, 1
je 0x140006c35
mov ecx, r14d
jmp 0x140006c56
mov ecx, 0x35
jmp 0x140006c56
mov ecx, 0x34
jmp 0x140006c56
mov ecx, 0x33
jmp 0x140006c56
mov ecx, 0x32
jmp 0x140006c56
mov ecx, 0x31
call rdx
mov edi, eax
lea rdx, str.Path_of_Exile
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rbx, rax
jne 0x140006c96
mov edx, esi
mov ecx, edi
call qword [0x14004db68]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, 2
mov ecx, edi
call qword [0x14004db68]
cmp byte [0x14004da6a], 0
je 0x140006d38
mov rdx, qword [0x14004da88]
add rdx, 0x2e51588
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rbp + 0x1e0]
mov rcx, qword [0x14004da78]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movss xmm0, dword [0x14004d080]
movss dword [rbp + 0x1b8], xmm0
mov rdx, qword [rbp + 0x1e0]
add rdx, 0x78
mov qword [rsp + 0x20], r14
mov r9d, 8
lea r8, [rbp + 0x1e8]
mov rcx, qword [0x14004da78]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rbp + 0x1e8]
add rdx, 0x488
mov qword [rsp + 0x20], r14
mov r9d, 4
lea r8, [rbp + 0x1b8]
mov rcx, qword [0x14004da78]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x210]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140006da0
nop word [rax + rax]
lea rcx, [rbp + 0x210]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x210]
call qword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [rbp + 0x218], 0x12
je 0x140006db5
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x210]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x140006d60
mov rax, qword [0x14004da98]
test rax, rax
je 0x140006dc5
mov rcx, qword [rax + 0xf0]
jmp 0x140006dc8
cmp byte [0x14004d044], 0
sete byte [0x14004d044]
jmp 0x140006df6
mov rcx, r14
cmp qword [rcx + 0x18], 0
jne 0x140006deb
test rax, rax
je 0x140006deb
mov rcx, qword [rax + 0xf0]
test rcx, rcx
je 0x140006deb
cmp qword [rcx], 0
je 0x140006deb
call fcn.14002e1e0
call fcn.14002e860
call fcn.14000c6d0
nop
call fcn.1400024c0
nop
call fcn.14000e8d0
mov rcx, qword [0x14004d9b8]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x14004d9b8]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x14004d9b8]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x14004d9b8]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r14d
movss dword [rsp + 0x28], xmm7
mov dword [rsp + 0x20], 0xff000000
mov r9d, 3
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x14004d9b8]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140006ec5
call fcn.14000ec90
mov rax, qword [0x14004da98]
mov rax, qword [rax + 0x1e10]
mov rcx, qword [rax]
add rcx, 0x40
mov rax, r14
cmp byte [rcx], r14b
cmovne rax, rcx
mov rcx, rax
call fcn.14002dc30
mov rcx, qword [0x14004d9b8]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x14004d9b8]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140006f03
mov rcx, qword [0x14004d9b8]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140006f03
call fcn.140002100
nop
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x140006f21
imul rax, rax, 0x64
jmp 0x140006f3c
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
cmp rax, r13
lea rdi, [rax + 0xf4240]
jl 0x140006f52
movabs rdi, 0x7fffffffffffffff
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x140006f70
imul rbx, rax, 0x64
jmp 0x140006f8c
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
lea rbx, [rax + rcx]
cmp rdi, rbx
je 0x140006ff4
jl 0x140006ff4
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
imul rcx, rax, 0x64
mov rax, rdi
sub rax, rbx
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
comisd xmm0, xmm6
jbe 0x140006fb6
add rcx, r15
jmp 0x140006fb9
add rcx, rax
mov rax, r12
imul rcx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rbp + 0x1f0], rdx
imul eax, edx, 0x3b9aca00
sub ecx, eax
mov dword [rbp + 0x1f8], ecx
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.MSVCP140.dll__Thrd_sleep]
jmp 0x140006f52
cmp byte [0x14004d044], 0
jne 0x1400067c0
mov rcx, qword [0x14004da98]
test rcx, rcx
je 0x140007016
mov rdi, qword [rcx + 0xf0]
jmp 0x140007019
mov rdi, r14
lea rsi, [rcx + 8]
test rcx, rcx
je 0x140007096
mov rbx, qword [rcx + 0xf0]
test rbx, rbx
je 0x140007096
cmp qword [rbx], 0
je 0x140007096
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140007051
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 8], r14
mov rcx, qword [0x14004da98]
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x14000706e
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 0x10], r14
mov rcx, qword [0x14004da98]
mov rdx, qword [rbx + 0x18]
test rdx, rdx
je 0x140007096
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov qword [rbx + 0x18], r14
mov rcx, qword [0x14004da98]
mov rax, qword [rcx + 0xa8]
mov qword [rax + 8], r14
mov rdx, qword [rdi]
test rdx, rdx
je 0x1400070ae
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [0x14004da98]
mov qword [rsi + 0xd8], r14
mov qword [rsi + 0xe8], r14
test rcx, rcx
je 0x1400070c7
dec dword [rcx + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x14004da98]
test rax, rax
je 0x1400070e5
mov rbx, qword [rax + 0xe8]
jmp 0x1400070e8
mov rbx, r14
lea rdi, [rax + 8]
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140007102
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x14004da98]
mov qword [rdi + 0xd0], r14
mov qword [rdi + 0xe0], r14
test rax, rax
je 0x14000711b
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x14004da98]
mov rcx, rbx
call fcn.14000dd20
cmp qword [0x14004da98], rbx
jne 0x140007143
mov qword [0x14004da98], r14
test rbx, rbx
je 0x14000716c
mov rcx, rbx
call fcn.14001d230
mov rax, qword [0x14004da98]
test rax, rax
je 0x140007162
dec dword [rax + 0x3b0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [0x14004d9b8]
test rcx, rcx
je 0x140007185
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14004d9b8], r14
mov rcx, qword [0x14004d9a8]
test rcx, rcx
je 0x14000719e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x14004d9a8], r14
mov rcx, qword [0x14004d9b0]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [0x14004d9d8]
mov rcx, qword [0x14004da00]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400071cf
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.14003e1b0
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rdx, str.____Invalid_Base_Address_n
lea rcx, [rbp + 0x1f0]
call fcn.1400072a0
mov rcx, rax
call fcn.1400062b0
int3
lea rdx, str.____Unable_to_find_process._n
lea rcx, [rbp + 0x1f0]
call fcn.1400072a0
mov rcx, rax
call fcn.1400062b0
int3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.____Secure_boot_has_to_be_disabled._n
lea rcx, [rbp + 0x1f0]
call fcn.1400072a0
mov rcx, rax
call fcn.1400062b0
int3
lea rdx, str.____Unable_to_get_handle_of_the_process._n
lea rcx, [rbp + 0x1f0]
call fcn.1400072a0
mov rcx, rax
call fcn.1400062b0
int3
lea rdx, str.____Unable_to_get_handle_of_the_process._n
lea rcx, [rbp + 0x1f0]
call fcn.1400072a0
mov rcx, rax
call fcn.1400062b0
int3