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.1401b79c0
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.1401bcf00
xor edx, edx
lea rcx, [rbp + 0x890]
mov r8d, 0x800
call fcn.1401bcf00
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, [0x1403a3dd8]
movups xmmword [0x1403a3dd8], xmm0
mov qword [0x1403a3dd0], rax
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [0x1403a3de8], xmm1
movsd xmm1, qword [rbp - 0x48]
movups xmmword [0x1403a3db8], xmm0
movsd qword [0x1403a3dc8], xmm1
call qword [sym.imp.ole32.dll_CoInitializeEx]
lea r9d, [r14 + 0x63]
mov rcx, rsi
lea r8, [0x1403abea0]
lea edx, [r14 + 0x66]
call qword [sym.imp.USER32.dll_LoadStringW]
lea r9d, [r14 + 0x63]
mov rcx, rsi
lea r8, [0x1403abdd0]
lea edx, [r14 + 0x6c]
call qword [sym.imp.USER32.dll_LoadStringW]
lea r9d, [r14 + 0x63]
mov qword [0x1403abe98], 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, [0x140266178]
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, [0x140266178]
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, [0x1403a1f54]
xor edx, edx
mov qword [rsp + 0x32ee0], r12
mov r8d, 0x1c20
call fcn.1401bcf00
lea rax, [rsp + 0x54]
mov dword [0x140390a84], 0xbbb
mov qword [rsp + 0x40], rax
lea rdx, str.SoftwareNohope92Moss
lea rax, [rbp - 0x78]
mov dword [0x1403a1f50], 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, [0x1403a3b80]
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, [0x1402695e0]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov rcx, rdi
call fcn.1401ca388
mov ebx, eax
cmp word [0x1403a3b80], 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.1401ca388
mov ebx, eax
jmp 0x140010b94
lea rcx, str.c:MOSS
call fcn.1401ca388
lea r8, str.c:MOSS_
mov edx, 0x80
mov rcx, rdi
mov ebx, eax
call fcn.140008670
test ebx, ebx
je 0x140010bae
call fcn.1401bf198
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 [0x1403ab628], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1403ab620], rax
mov ecx, 0x1388000
mov dword [0x1403ab640], 0x9c4000
call fcn.1400355ec
mov edi, dword [0x1403ab640]
xor edx, edx
mov r8d, edi
mov qword [0x1403ab648], rax
add r8, r8
mov rcx, rax
mov rbx, rax
call fcn.1401bcf00
mov rax, qword [0x1403ab628]
test rax, rax
je 0x140010c50
xor r8d, r8d
mov edx, edi
mov rcx, rbx
call rax
mov dword [0x1403abf70], r14d
mov ecx, 0x800
call fcn.1400355ec
xor edx, edx
mov r8d, 0x800
mov rcx, rax
mov rbx, rax
call fcn.1401bcf00
mov ecx, 0x4e2000
mov qword [0x1403ab638], rbx
mov dword [0x1403a3e0c], 0x4e2000
call fcn.1400355ec
mov r8d, dword [0x1403a3e0c]
xor edx, edx
mov rcx, rax
mov qword [0x1403ab630], rax
call fcn.1401bcf00
mov ecx, 0x10
call fcn.1400355ec
xor ecx, ecx
mov qword [0x1403aba28], rax
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov ecx, 0x10
call fcn.1400355ec
xor ecx, ecx
mov qword [0x1403abdc8], rax
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov rax, qword [0x1403ab628]
test rax, rax
je 0x140010d1a
mov edx, dword [0x1403a3e0c]
xor r8d, r8d
mov rcx, qword [0x1403ab630]
call rax
mov rcx, qword [0x1403aba28]
xor r8d, r8d
lea edx, [r8 + 0x10]
call qword [0x1403ab628]
mov rcx, qword [0x1403abdc8]
xor r8d, r8d
lea edx, [r8 + 0x10]
call qword [0x1403ab628]
mov edx, 0x6d
mov rcx, rsi
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
movdqa xmm0, xmmword [0x14026c8c0]
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, [0x140394910]
mov rbx, rax
cmp rsi, rax
je 0x140010da7
mov rcx, rsi
call fcn.140014b70
movups xmm0, xmmword [rbx]
movups xmmword [0x140394910], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140394920], 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.14003562c
movdqa xmm0, xmmword [0x14026c8c0]
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, [0x140394930]
mov rbx, rax
cmp rdi, rax
je 0x140010e63
mov rcx, rdi
call fcn.140014b70
movups xmm0, xmmword [rbx]
movups xmmword [0x140394930], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140394940], 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.14003562c
lea rcx, [0x1403ab9f8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
cmp qword [0x140394928], 0x10
lea rdx, str.4d4b2d185686b97513745873091f8c666f6ea66dfbb2a42fb19b3d8bf40b907a
cmovae rsi, qword [0x140394910]
mov rcx, rsi
call fcn.1401f1da0
test eax, eax
jne 0x140011620
cmp qword [0x140394948], 0x10
lea rdx, str.50ce2edbc848f306687e34274369ea455e36dbc0b329eb1ba5c10e6cc33d5525
cmovae rdi, qword [0x140394930]
mov rcx, rdi
call fcn.1401f1da0
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, [0x1403a1750]
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, [0x1403a1f54]
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.1401bcf00
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 [0x1403a3754]
lea rdi, [0x1403a1750]
mov dword [0x140390a8c], eax
lea rax, [rbp + 0x890]
lea r9, [rbp + 0x1090]
mov qword [rsp + 0x20], rax
call fcn.140008fa0
mov dword [0x1403a3e00], 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.1401bcf00
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, [0x1403ab7f0]
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.1401bcf00
xor edx, edx
lea rcx, [rbp + 0x1890]
mov r8d, 0x800
call fcn.1401bcf00
mov ecx, 0x18
call fcn.14003559c
mov rbx, rax
test rax, rax
je 0x14001166b
mov r14d, 1
mov qword [rax + 8], r15
lea rcx, [0x140266310]
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.14003559c
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.1401bb660
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.1400355e4
mov qword [rdi + 8], r15
mov edx, 0x18
mov rcx, rdi
call fcn.14003562c
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.1400355e4
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.14003562c
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, [0x140266178]
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.140024c70
call qword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, eax
call fcn.140024c10
mov esi, r15d
cmp word [r13], si
je 0x1400113e9
mov rcx, r13
call fcn.1401cab60
lea rdx, [0x14026ac18]
mov rcx, rax
call fcn.1401bc410
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 [0x1403ab7e4]
cmp rcx, 5
cmova eax, r14d
mov dword [0x1403ab7e4], eax
lea rdi, [0x1402adc60]
lea rax, str.WarRock
nop dword [rax]
movsxd r14, esi
imul rcx, r14, 0x1c24
add rcx, rax
call fcn.1401cab60
mov rcx, r13
mov rbx, rax
call fcn.1401cab60
mov rdx, rbx
mov rcx, rax
call fcn.1401bc410
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.1401cab60
lea rdx, str._CHECK
mov rcx, rax
call fcn.1401bc410
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, [0x1403ac790]
call fcn.1401ca078
mov dword [0x140390a84], 0x270f
jmp 0x1400113f9
imul rax, r14, 0x1c24
lea r12, [0x1402adc60]
mov r12d, dword [rax + r12]
mov dword [0x140390a84], r12d
cmp r12d, 0x270f
jne 0x140011427
xor edx, edx
lea rcx, [rbp + 0x2090]
mov r8d, 0x30d40
call fcn.1401bcf00
lea rdx, [rbp + 0x2090]
call fcn.140018f60
test eax, eax
sete r15b
mov eax, r15d
jmp 0x14001163b
cmp r12d, 0xffffffff
jne 0x140011512
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 0x1400114e8
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, [0x14026ae80]
mov dword [rsp + 0x64], 0xff
mov dword [rsp + 0x50], r15d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400114dd
mov edx, dword [rsp + 0x50]
mov ecx, dword [0x140390a84]
lea eax, [rdx - 0xbb8]
cmp eax, 0x7f
cmovbe ecx, edx
mov dword [0x140390a84], 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 0x14001151f
lea rdx, str.Cant_init_2_
jmp 0x14001162a
mov edi, 1
mov dword [0x1403ab7e8], edi
jmp 0x1400114ed
xor r8d, r8d
lea rcx, [0x1403a3d88]
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x1400115aa
mov rbx, qword [rbp - 0x68]
nop dword [rax]
cmp eax, 0xffffffff
je 0x140011682
cmp word [0x1403a3d90], 2
jne 0x14001155c
cmp dword [0x1403a173c], r15d
jne 0x14001158c
lea r8, [0x1403a3d88]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x14001158c
lea rcx, [0x1403a3d88]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1403a3d88]
call qword [sym.imp.USER32.dll_DispatchMessageW]
call fcn.140012430
xor r9d, r9d
lea rcx, [0x1403a3d88]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140011540
call fcn.140022e80
cmp qword [0x1403ab628], r15
je 0x1400115f4
cmp dword [0x1403abf70], r15d
je 0x1400115f4
mov edx, dword [0x1403ab640]
xor r8d, r8d
mov rcx, qword [0x1403ab648]
call qword [0x1403ab620]
mov edx, dword [0x1403a3e0c]
xor r8d, r8d
mov rcx, qword [0x1403ab630]
call qword [0x1403ab620]
mov dword [0x1403abf70], 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 [0x1403a3d98]
jmp 0x14001163b
lea rdx, str.Corrupted_
xor r9d, r9d
lea r8, [0x140266178]
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.1401b6f40
add rsp, 0x32ee8
pop r15
pop r14
pop r13
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x8007000e
call fcn.1401bb650
int3
call fcn.1401c791c
int3
call fcn.1401c791c
int3
xor ecx, ecx
call fcn.1401c8248
int3