Function at 0x140010810
Capabilities:
Check if file exists
Create directory
Delete file
Get common file path
Query or enumerate registry value
Set current directory

Disassembly:
push rbp
push rbx
push rsi
push r13
push r14
push r15
lea rbp, [rsp - 0x32de8]
mov eax, 0x32ee8
call fcn.1401b7a40
sub rsp, rax
mov rax, qword [0x1402ac7a8]
xor rax, rsp
mov qword [rbp + 0x32dd0], rax
mov rsi, rcx
mov qword [rbp - 0x70], rcx
mov r14d, 1
mov dword [rsp + 0x6c], r9d
mov ecx, r14d
mov r13, r8
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
xor edx, edx
lea rcx, [rbp + 0x1090]
mov r8d, 0x800
call fcn.1401bcf80
xor edx, edx
lea rcx, [rbp + 0x890]
mov r8d, 0x800
call fcn.1401bcf80
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetProcessDEPPolicy]
xor eax, eax
xor edx, edx
mov qword [rbp - 0x40], rax
xor ecx, ecx
mov qword [rbp - 0x38], rax
movups xmm0, xmmword [rbp - 0x40]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
movups xmm1, xmmword [rbp - 0x30]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
lea rax, [0x1403a9278]
movups xmmword [0x1403a9278], xmm0
mov qword [0x1403a9270], rax
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [0x1403a9288], xmm1
movsd xmm1, qword [rbp - 0x48]
movups xmmword [0x1403a9258], xmm0
movsd qword [0x1403a9268], xmm1
call qword [sym.imp.ole32.dll_CoInitializeEx]
lea r9d, [r14 + 0x63]
mov rcx, rsi
lea r8, [0x1403b1340]
lea edx, [r14 + 0x66]
call qword [sym.imp.USER32.dll_LoadStringW]
lea r9d, [r14 + 0x63]
mov rcx, rsi
lea r8, [0x1403b1270]
lea edx, [r14 + 0x6c]
call qword [sym.imp.USER32.dll_LoadStringW]
lea r9d, [r14 + 0x63]
mov qword [0x1403b1338], rsi
lea r8, [rbp + 0xa0]
mov rcx, rsi
lea edx, [r14 + 0x66]
call qword [sym.imp.USER32.dll_LoadStringW]
lea rax, [rbp + 0x78]
mov dword [rbp - 0x20], 0x18
xor r15d, r15d
mov qword [rbp - 0x18], rax
mov edx, r14d
mov dword [rbp - 0x10], r15d
lea rcx, [rbp + 0x78]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
lea r9, [rbp + 0xa0]
mov r8d, r14d
xor edx, edx
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov rbx, rax
test rax, rax
je 0x1400109d6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400109d6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 0xa0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x1400109b6
mov rcx, rax
call qword [sym.imp.USER32.dll_SetForegroundWindow]
xor r9d, r9d
lea r8, [0x1402661b0]
lea rdx, str.Already_running_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x14001164b
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140010a00
xor r9d, r9d
lea r8, [0x1402661b0]
lea rdx, str.Error_running_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x14001164b
mov qword [rsp + 0x32f28], rdi
lea rcx, [0x1403a73f4]
xor edx, edx
mov qword [rsp + 0x32ee0], r12
mov r8d, 0x1c20
call fcn.1401bcf80
lea rax, [rsp + 0x54]
mov dword [0x140395ef0], 0xbbb
mov qword [rsp + 0x40], rax
lea rdx, str.SoftwareNohope92Moss
lea rax, [rbp - 0x78]
mov dword [0x1403a73f0], 0xbbb
mov qword [rsp + 0x38], rax
mov r12, 0xffffffffffffffff
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x20], r15d
mov ebx, r12d
mov dword [rsp + 0x54], r15d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea rdi, [0x1403a9020]
test eax, eax
jne 0x140010b31
mov rcx, qword [rbp - 0x78]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x5c]
lea rax, [rbp + 0x170]
mov dword [rsp + 0x5c], r14d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.PATH
mov dword [rsp + 0x58], 0x104
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140010b31
lea rcx, [rbp + 0x170]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x140010b31
lea rax, [rbp + 0x170]
mov r9, r12
inc r9
cmp byte [rax + r9], r15b
jne 0x140010af0
mov dword [rsp + 0x28], 0x104
lea r8, [rbp + 0x170]
xor edx, edx
mov qword [rsp + 0x20], rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rdx, [0x140269620]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rcx, rdi
call fcn.1401ca408
mov ebx, eax
cmp word [0x1403a9020], r15w
jne 0x140010b94
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x10]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140010b72
lea rdx, str.MOSS_
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rcx, rdi
call fcn.1401ca408
mov ebx, eax
jmp 0x140010b94
lea rcx, str.c:MOSS
call fcn.1401ca408
lea r8, str.c:MOSS_
mov edx, 0x80
mov rcx, rdi
mov ebx, eax
call fcn.140008670
test ebx, ebx
je 0x140010bae
call fcn.1401bf218
cmp dword [rax], 0x11
je 0x140010bae
lea rdx, str.Cant_init_
jmp 0x140011627
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea rcx, str.Crypt32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbp - 0x60], rax
mov rbx, rax
cmp rax, 0x20
jbe 0x140010bff
lea rdx, str.CryptProtectMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CryptUnprotectMemory
mov rcx, rbx
mov qword [0x1403b0ac8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1403b0ac0], rax
mov ecx, 0x1388000
mov dword [0x1403b0ae0], 0x9c4000
call fcn.14003566c
mov edi, dword [0x1403b0ae0]
xor edx, edx
mov r8d, edi
mov qword [0x1403b0ae8], rax
add r8, r8
mov rcx, rax
mov rbx, rax
call fcn.1401bcf80
mov rax, qword [0x1403b0ac8]
test rax, rax
je 0x140010c50
xor r8d, r8d
mov edx, edi
mov rcx, rbx
call rax
mov dword [0x1403b1410], r14d
mov ecx, 0x800
call fcn.14003566c
xor edx, edx
mov r8d, 0x800
mov rcx, rax
mov rbx, rax
call fcn.1401bcf80
mov ecx, 0x4e2000
mov qword [0x1403b0ad8], rbx
mov dword [0x1403a92ac], 0x4e2000
call fcn.14003566c
mov r8d, dword [0x1403a92ac]
xor edx, edx
mov rcx, rax
mov qword [0x1403b0ad0], rax
call fcn.1401bcf80
mov ecx, 0x10
call fcn.14003566c
xor ecx, ecx
mov qword [0x1403b0ec8], rax
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov ecx, 0x10
call fcn.14003566c
xor ecx, ecx
mov qword [0x1403b1268], rax
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov rax, qword [0x1403b0ac8]
test rax, rax
je 0x140010d1a
mov edx, dword [0x1403a92ac]
xor r8d, r8d
mov rcx, qword [0x1403b0ad0]
call rax
mov rcx, qword [0x1403b0ec8]
xor r8d, r8d
lea edx, [r8 + 0x10]
call qword [0x1403b0ac8]
mov rcx, qword [0x1403b1268]
xor r8d, r8d
lea edx, [r8 + 0x10]
call qword [0x1403b0ac8]
mov edx, 0x6d
mov rcx, rsi
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
movdqa xmm0, xmmword [0x14026c9a0]
mov r8, r12
mov qword [rbp - 0x68], rax
lea rax, str.http:__nohope.eu_down_
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], r15b
inc r8
cmp byte [rax + r8], r15b
jne 0x140010d47
mov rdx, rax
lea rcx, [rbp - 8]
call fcn.140014bd0
mov r8d, r14d
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x38]
call fcn.1400217f0
lea rsi, [0x140399db0]
mov rbx, rax
cmp rsi, rax
je 0x140010da7
mov rcx, rsi
call fcn.140014b70
movups xmm0, xmmword [rbx]
movups xmmword [0x140399db0], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140399dc0], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r15b
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x140010de2
mov rcx, qword [rbp + 0x38]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010ddd
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011676
call fcn.1400356ac
movdqa xmm0, xmmword [0x14026c9a0]
lea r14, str.https:__nohope.eu_down_
movdqu xmmword [rbp + 0x28], xmm0
mov byte [rbp + 0x18], r15b
mov r8, r12
nop dword [rax]
inc r8
cmp byte [r14 + r8], r15b
jne 0x140010e00
mov rdx, r14
lea rcx, [rbp + 0x18]
call fcn.140014bd0
mov r8d, 1
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x58]
call fcn.1400217f0
lea rdi, [0x140399dd0]
mov rbx, rax
cmp rdi, rax
je 0x140010e63
mov rcx, rdi
call fcn.140014b70
movups xmm0, xmmword [rbx]
movups xmmword [0x140399dd0], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140399de0], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r15b
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x140010e9e
mov rcx, qword [rbp + 0x58]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010e99
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001167c
call fcn.1400356ac
lea rcx, [0x1403b0e98]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp qword [0x140399dc8], 0x10
lea rdx, str.4d4b2d185686b97513745873091f8c666f6ea66dfbb2a42fb19b3d8bf40b907a
cmovae rsi, qword [0x140399db0]
mov rcx, rsi
call fcn.1401f1e20
test eax, eax
jne 0x140011620
cmp qword [0x140399de8], 0x10
lea rdx, str.50ce2edbc848f306687e34274369ea455e36dbc0b329eb1ba5c10e6cc33d5525
cmovae rdi, qword [0x140399dd0]
mov rcx, rdi
call fcn.1401f1e20
test eax, eax
jne 0x140011620
mov r9, r12
lea r8, str.http:__nohope.eu_down_
inc r9
cmp byte [r8 + r9], r15b
jne 0x140010f03
lea rax, [rbp + 0x1090]
mov dword [rsp + 0x28], 0x400
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r9, r12
nop dword [rax]
inc r9
cmp byte [r14 + r9], r15b
jne 0x140010f30
lea rax, [rbp + 0x890]
mov dword [rsp + 0x28], 0x400
mov r8, r14
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r9, r12
lea rsi, str.https:__nohope.eu_
inc r9
cmp byte [rsi + r9], r15b
jne 0x140010f64
lea rdi, [0x1403a6bf0]
mov dword [rsp + 0x28], 0x400
mov r8, rsi
mov qword [rsp + 0x20], rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r14, [0x1403a73f4]
mov rbx, r12
nop dword [rax + rax]
inc rbx
cmp byte [r14 + rbx], r15b
jne 0x140010fa0
test rbx, rbx
je 0x140010ff5
lea rdi, str.GameNoSet
xor edx, edx
mov rcx, rdi
mov r8d, 0x400
call fcn.1401bcf80
mov r9d, ebx
mov dword [rsp + 0x28], 0x400
mov r8, r14
mov qword [rsp + 0x20], rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [0x1403a8bf4]
lea rdi, [0x1403a6bf0]
mov dword [0x140395ef8], eax
lea rax, [rbp + 0x890]
lea r9, [rbp + 0x1090]
mov qword [rsp + 0x20], rax
call fcn.140008fa0
mov dword [0x1403a92a0], eax
mov ebx, eax
test eax, eax
je 0x140011055
cmp eax, 6
je 0x140011055
xor edx, edx
lea rcx, [rbp + 0x280]
mov r8d, 0x208
call fcn.1401bcf80
mov r8d, ebx
lea rdx, str.Cant_Update__error__d
lea rcx, [rbp + 0x280]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rbp + 0x280]
jmp 0x140011627
lea rcx, str.OldExecutable.bak
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r9, r12
inc r9
cmp byte [rsi + r9], r15b
jne 0x140011065
mov dword [rsp + 0x28], 0x400
mov r8, rsi
xor edx, edx
mov qword [rsp + 0x20], rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call fcn.14000b1a0
lea rcx, [0x140007b00]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, str._s_:__r_n_time_is___s_UTC_r_n_Original_Processor_is___s__r_n_BIOS_frequency_is___d__d_MHz__r_n_MOSS_bench_is__d_MHz_CORETEMP_BENCH__d_MHz_r_n_Software_overclock_rate_is__.2f____r_n
call fcn.1400078c0
lea rcx, str._s_:__n_time_is___s_UTC_n_Original_Processor_is___s__n_BIOS_frequency_is___d__d_MHz__n_MOSS_bench_is__d_MHz_CORETEMP_BENCH__d_MHz_n_Software_overclock_rate_is__.2f____nchecksum:_lu___lu_nThis_windows_cant_be_moved___press_ALT_F4_to_close_it
mov r14d, eax
call fcn.1400078c0
lea rcx, str..log
mov esi, eax
call fcn.1400078c0
lea rcx, str.select__from_Win32_Processor
mov edi, eax
call fcn.1400078c0
lea rcx, str.Sound__s_File_is_edited__r_n
mov ebx, eax
call fcn.1400078c0
cmp eax, 0x6afb3b46
mov ecx, r15d
mov eax, r15d
mov edx, r15d
sete cl
cmp ebx, 0x74f6dcb8
cmove eax, ecx
cmp edi, 0x441da180
mov ecx, r15d
cmove ecx, eax
cmp esi, 0x71c368ce
mov eax, r15d
cmove edx, ecx
cmp r14d, 0x2aa0ea87
cmove eax, edx
test eax, eax
je 0x140011620
mov r9, r12
lea r8, str.select__from_Win32_Processor
nop dword [rax]
inc r9
cmp byte [r8 + r9], r15b
jne 0x140011130
lea rax, [0x1403b0c90]
mov dword [rsp + 0x28], 0x400
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea rcx, [rbp + 0x490]
mov r8d, 0x400
call fcn.1401bcf80
xor edx, edx
lea rcx, [rbp + 0x1890]
mov r8d, 0x800
call fcn.1401bcf80
mov ecx, 0x18
call fcn.14003561c
mov rbx, rax
test rax, rax
je 0x14001166b
mov r14d, 1
mov qword [rax + 8], r15
lea rcx, [0x140266350]
mov dword [rax + 0x10], r14d
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
mov rsi, rax
test rax, rax
je 0x14001166b
lea ecx, [r14 + 0x17]
call fcn.14003561c
mov rdi, rax
test rax, rax
je 0x14001166b
lea rcx, str.select__from_Win32_OperatingSystem
mov qword [rax + 8], r15
mov dword [rax + 0x10], r14d
call fcn.1401bb6e0
lea r9, [rbp + 0x490]
mov qword [rdi], rax
lea r8, [rbp - 0x80]
mov dword [rsp + 0x20], 0x400
mov rdx, rsi
mov rcx, rax
call fcn.14001eb60
movzx esi, ax
mov eax, r12d
lock xadd dword [rdi + 0x10], eax
cmp eax, r14d
jne 0x140011249
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001122a
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r15
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14001123c
call fcn.140035664
mov qword [rdi + 8], r15
mov edx, 0x18
mov rcx, rdi
call fcn.1400356ac
mov eax, r12d
lock xadd dword [rbx + 0x10], eax
cmp eax, r14d
jne 0x140011286
mov rcx, qword [rbx]
test rcx, rcx
je 0x140011267
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140011279
call fcn.140035664
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.1400356ac
cmp si, r14w
je 0x1400112c4
movzx r8d, si
lea rdx, str.Invalid_Windows_Management_Instrumentation_Configuration___nerror_code__u
lea rcx, [rbp + 0x1890]
call fcn.140014d20
xor r9d, r9d
lea r8, [0x1402661b0]
lea rdx, [rbp + 0x1890]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, r14d
jmp 0x14001163b
call qword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, eax
call fcn.140024cf0
call qword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, eax
call fcn.140024c90
mov esi, r15d
cmp word [r13], si
je 0x1400113e9
mov rcx, r13
call fcn.1401cabe0
lea rdx, [0x14026ac58]
mov rcx, rax
call fcn.1401bc490
test rax, rax
je 0x14001132f
mov rcx, r12
nop dword [rax + rax]
inc rcx
cmp word [r13 + rcx*2], si
jne 0x140011310
mov eax, dword [0x1403b0c84]
cmp rcx, 5
cmova eax, r14d
mov dword [0x1403b0c84], eax
lea rdi, [0x1402adc60]
lea rax, str.WarRock
nop dword [rax]
movsxd r14, esi
imul rcx, r14, 0x1c24
add rcx, rax
call fcn.1401cabe0
mov rcx, r13
mov rbx, rax
call fcn.1401cabe0
mov rdx, rbx
mov rcx, rax
call fcn.1401bc490
test rax, rax
jne 0x1400113d7
add rdi, 0x1c24
lea rax, str.WarRock
inc esi
cmp dword [rdi], r15d
jne 0x140011340
mov rcx, r13
call fcn.1401cabe0
lea rdx, str._CHECK
mov rcx, rax
call fcn.1401bc490
test rax, rax
je 0x1400113e9
mov r9, r12
inc r9
cmp word [r13 + r9*2], r15w
jne 0x1400113a1
cmp r9, 0xb
jbe 0x1400113e9
add r9, 0xfffffffffffffff9
lea r8, [r13 + 0xe]
mov edx, 0x400
lea rcx, [0x1403b1c30]
call fcn.1401ca0f8
mov dword [0x140395ef0], 0x270f
jmp 0x1400113f9
imul rax, r14, 0x1c24
lea r12, [0x1402adc60]
mov r12d, dword [rax + r12]
mov dword [0x140395ef0], r12d
cmp r12d, 0x270f
jne 0x140011427
xor edx, edx
lea rcx, [rbp + 0x2090]
mov r8d, 0x30d40
call fcn.1401bcf80
lea rdx, [rbp + 0x2090]
call fcn.140018f60
test eax, eax
sete r15b
mov eax, r15d
jmp 0x14001163b
cmp r12d, 0xffffffff
jne 0x140011514
lea rax, [rsp + 0x60]
mov dword [rsp + 0x60], r15d
mov qword [rsp + 0x40], rax
lea rdx, str.SoftwareNohope92Moss
lea rax, [rsp + 0x78]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], r15
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400114ea
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x68]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x68], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [0x14026aec0]
mov dword [rsp + 0x64], 0xff
mov dword [rsp + 0x50], r15d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400114df
mov edx, dword [rsp + 0x50]
mov ecx, dword [0x140395ef0]
lea eax, [rdx - 0xbb8]
cmp eax, 0x82
cmovbe ecx, edx
mov dword [0x140395ef0], ecx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 1
call fcn.1400229f0
mov edx, dword [rsp + 0x6c]
mov rcx, qword [rbp - 0x70]
call fcn.140011690
xor r9d, r9d
test eax, eax
jne 0x140011521
lea rdx, str.Cant_init_2_
jmp 0x14001162a
mov edi, 1
mov dword [0x1403b0c88], edi
jmp 0x1400114ef
xor r8d, r8d
lea rcx, [0x1403a9228]
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x1400115aa
mov rbx, qword [rbp - 0x68]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x140011682
cmp word [0x1403a9230], 2
jne 0x14001155c
cmp dword [0x1403a6bdc], r15d
jne 0x14001158c
lea r8, [0x1403a9228]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x14001158c
lea rcx, [0x1403a9228]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1403a9228]
call qword [sym.imp.USER32.dll_DispatchMessageW]
call fcn.140012430
xor r9d, r9d
lea rcx, [0x1403a9228]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140011540
call fcn.140022e80
cmp qword [0x1403b0ac8], r15
je 0x1400115f4
cmp dword [0x1403b1410], r15d
je 0x1400115f4
mov edx, dword [0x1403b0ae0]
xor r8d, r8d
mov rcx, qword [0x1403b0ae8]
call qword [0x1403b0ac0]
mov edx, dword [0x1403a92ac]
xor r8d, r8d
mov rcx, qword [0x1403b0ad0]
call qword [0x1403b0ac0]
mov dword [0x1403b1410], r15d
mov rcx, qword [rbp - 0x60]
cmp rcx, 0x20
jbe 0x140011604
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, edi
call qword [sym.imp.WINMM.dll_timeEndPeriod]
call qword [sym.imp.ole32.dll_CoUninitialize]
call qword [sym.imp.ole32.dll_OleUninitialize]
mov eax, dword [0x1403a9238]
jmp 0x14001163b
lea rdx, str.Corrupted_
xor r9d, r9d
lea r8, [0x1402661b0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov rdi, qword [rsp + 0x32f28]
mov r12, qword [rsp + 0x32ee0]
mov rcx, qword [rbp + 0x32dd0]
xor rcx, rsp
call fcn.1401b6fc0
add rsp, 0x32ee8
pop r15
pop r14
pop r13
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x8007000e
call fcn.1401bb6d0
int3
call fcn.1401c799c
int3
call fcn.1401c799c
int3
xor ecx, ecx
call fcn.1401c82c8
int3