Function at 0x140001c80
Capabilities:
Check if file exists
Create process on windows
Get common file path
Initialize winsock library
Query or enumerate registry value
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xab0]
sub rsp, 0xbb0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xaa0], rax
mov esi, edx
mov qword [0x14001f080], rcx
mov rbx, rcx
lea rdi, [0x14001daf0]
lea r15, [0x14001f090]
mov r8, rdi
mov rcx, r15
lea rdx, str._sReleasephysx27_64GameApp.exe
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, r15
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor r14d, r14d
test eax, eax
jne 0x140001d7d
lea rax, [rbp - 0x30]
mov dword [rbp - 0x30], 0x104
mov qword [rsp + 0x30], rax
lea r8, str.PathRoot
mov qword [rsp + 0x28], rdi
lea rdx, str.SOFTWARETencentQQ
mov r9d, 0x20000002
mov qword [rsp + 0x20], r14
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140001ec5
mov r8, rdi
lea rdx, str._sReleasephysx27_64GameApp.exe
mov rcx, r15
call qword [sym.imp.USER32.dll_wsprintfW]
mov r8, rdi
lea rdx, [0x140019e20]
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9d, [r14 + 0x44]
xor ecx, ecx
lea r8, [0x14001f350]
lea rdx, [rbp + 0x2a0]
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
je 0x1400021c0
mov r8, rdi
lea rdx, str._sLoaderLoaderBG.bmp
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.USER32.dll_wsprintfW]
xor r9d, r9d
mov dword [rsp + 0x28], 0x2010
xor r8d, r8d
mov dword [rsp + 0x20], r14d
lea rdx, [rbp + 0x2a0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadImageW]
xor ecx, ecx
mov qword [0x14001f2a0], rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdx, qword [0x14001f2a0]
mov rcx, rax
mov qword [0x14001f348], rax
call qword [sym.imp.GDI32.dll_SelectObject]
xor edx, edx
lea r8, [rbp - 0x28]
xorps xmm0, xmm0
xor r9d, r9d
movdqu xmmword [rbp - 0x28], xmm0
lea ecx, [rdx + 0x30]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [rbp - 0x20]
lea r8, [0x14001f350]
add eax, 0xfffffed4
mov qword [rsp + 0x58], r14
cdq
mov qword [rsp + 0x50], rbx
sub eax, edx
mov qword [rsp + 0x48], r14
sar eax, 1
mov r9d, 0x80000000
mov ecx, eax
mov qword [rsp + 0x40], r14
mov eax, dword [rbp - 0x1c]
add eax, 0xffffff38
mov dword [rsp + 0x38], 0xc8
cdq
mov dword [rsp + 0x30], 0x12c
sub eax, edx
lea rdx, str.QQSpeed
sar eax, 1
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rdi, rax
test rax, rax
je 0x1400021c0
mov edx, esi
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_UpdateWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
lea rdx, str.RunSpeedGameEvent__d
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.USER32.dll_wsprintfW]
xor r8d, r8d
lea r9, [rbp + 0x2a0]
xor ecx, ecx
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14001f298], rax
test rax, rax
jne 0x140001ee6
lea rdx, [0x140019f08]
jmp 0x1400021a1
mov r9d, reloc.WS2_32.dll_recv
lea r8, [0x14001f350]
lea rdx, [0x140019e70]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1400021c0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
lea rdx, [0x140019f18]
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.USER32.dll_wsprintfW]
xorps xmm0, xmm0
lea rax, str.runas
movups xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], WSAStartup
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x70], rax
lea rax, [rbp + 0x2a0]
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x80], rax
movups xmmword [rbp - 0x70], xmm0
mov dword [rsp + 0x64], 0x40
movups xmmword [rbp - 0x60], xmm0
mov qword [rsp + 0x68], r14
movups xmmword [rbp - 0x50], xmm0
mov qword [rsp + 0x78], r15
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x70], 0xa
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x14000219a
mov rax, qword [rbp - 0x38]
mov qword [0x14001f340], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
lea rdx, str.KartMap_Shared__d
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.USER32.dll_wsprintfW]
xor r9d, r9d
lea rax, [rbp + 0x2a0]
mov qword [rsp + 0x28], rax
mov rbx, 0xffffffffffffffff
xor edx, edx
mov dword [rsp + 0x20], 0xa17
mov rcx, rbx
lea r8d, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [0x14001f2b8], rax
test rax, rax
jne 0x140001fdf
xor r8d, r8d
lea rdx, [0x140019f68]
jmp 0x1400021a8
xor r9d, r9d
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [0x14001f088], rax
test rax, rax
jne 0x14000201f
mov rcx, qword [0x14001f2b8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r8d, r8d
lea rdx, [0x140019f90]
jmp 0x1400021a8
mov ecx, 0x202
lea rdx, [rbp - 0x10]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400020af
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov edx, 0x84
call qword [sym.imp.USER32.dll_LoadBitmapW]
xor ecx, ecx
mov qword [0x14001f430], rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdx, qword [0x14001f430]
mov rcx, rax
mov qword [0x14001f440], rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [0x14001f080]
lea r9, [0x140003110]
mov r8, rdi
mov qword [rsp + 0x20], r14
mov edx, 0x81
call qword [sym.imp.USER32.dll_DialogBoxParamW]
mov rcx, qword [0x14001f430]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x14001f440]
call qword [sym.imp.GDI32.dll_DeleteDC]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [0x14001f2a8]
test ecx, ecx
jne 0x1400020ea
mov rcx, qword [0x14001f340]
test rcx, rcx
je 0x1400021b7
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14001f340]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14001f340], r14
jmp 0x1400021b7
mov rax, qword [0x14001f088]
lea rdx, [rbp + 0x190]
xor r9d, r9d
mov dword [rax + 8], ecx
xor ecx, ecx
lea r8d, [r9 + 5]
mov qword [rax], rdi
mov dword [rax + 0x34], 1
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x14000213b
mov r9, qword [0x14001f088]
lea r8, [rbp + 0x190]
lea rdx, str._sQQ
lea rcx, [r9 + 0x38]
mov r9d, dword [r9 + 8]
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, qword [0x14001f088]
lea rdx, [0x14001f2c0]
mov dword [rcx + 0x13c], r14d
movups xmm0, xmmword [0x14001dcf8]
movups xmmword [rcx + 0x1c0], xmm0
add rcx, 0x1d4
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x140002170
mov rcx, qword [0x14001f088]
mov dword [rcx + 0x1d0], ebx
mov rcx, qword [0x14001f298]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, 1
jmp 0x1400021c2
lea rdx, [0x140019f30]
lea r8, [0x14001f350]
mov r9d, reloc.WS2_32.dll_recv
mov rcx, rdi
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, rdi
call qword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
mov rcx, qword [rbp + 0xaa0]
xor rcx, rsp
call fcn.140003570
mov rbx, qword [rsp + 0xbf0]
add rsp, 0xbb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret