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 [0x14001e080], rcx
mov rbx, rcx
lea rdi, [0x14001caf0]
lea r15, [0x14001e090]
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 0x140001d7f
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 0x140001eca
mov r8, rdi
lea rdx, str._sReleasephysx27_64GameApp.exe
mov rcx, r15
call qword [sym.imp.USER32.dll_wsprintfW]
mov r8, rdi
lea rdx, [0x140018e20]
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.USER32.dll_wsprintfW]
mov r9d, 0x44
lea r8, [0x14001e350]
lea rdx, [rbp + 0x2a0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
je 0x1400021c5
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 [0x14001e2a0], rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdx, qword [0x14001e2a0]
mov rcx, rax
mov qword [0x14001e348], rax
call qword [sym.imp.GDI32.dll_SelectObject]
xorps xmm0, xmm0
lea r8, [rbp - 0x28]
xor r9d, r9d
xor edx, edx
mov ecx, 0x30
movdqu xmmword [rbp - 0x28], xmm0
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [rbp - 0x20]
lea r8, [0x14001e350]
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 0x1400021c5
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]
lea r9, [rbp + 0x2a0]
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14001e298], rax
test rax, rax
jne 0x140001eeb
lea rdx, [0x140018f08]
jmp 0x1400021a6
mov r9d, reloc.WS2_32.dll_recv
lea r8, [0x14001e350]
lea rdx, [0x140018e70]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1400021c5
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
lea rdx, [0x140018f18]
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 0x14000219f
mov rax, qword [rbp - 0x38]
mov qword [0x14001e340], 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]
lea rax, [rbp + 0x2a0]
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], 0xa17
mov r8d, 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [0x14001e2b8], rax
test rax, rax
jne 0x140001fe6
xor r8d, r8d
lea rdx, [0x140018f68]
jmp 0x1400021ad
xor r9d, r9d
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov edx, 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [0x14001e088], rax
test rax, rax
jne 0x140002027
mov rcx, qword [0x14001e2b8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r8d, r8d
lea rdx, [0x140018f90]
jmp 0x1400021ad
mov ecx, 0x202
lea rdx, [rbp - 0x10]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400020b7
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 [0x14001e430], rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdx, qword [0x14001e430]
mov rcx, rax
mov qword [0x14001e440], rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [0x14001e080]
lea r9, [0x140003130]
mov r8, rdi
mov qword [rsp + 0x20], r14
mov edx, 0x81
call qword [sym.imp.USER32.dll_DialogBoxParamW]
mov rcx, qword [0x14001e430]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x14001e440]
call qword [sym.imp.GDI32.dll_DeleteDC]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [0x14001e2a8]
test ecx, ecx
jne 0x1400020f2
mov rcx, qword [0x14001e340]
test rcx, rcx
je 0x1400021bc
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14001e340]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14001e340], r14
jmp 0x1400021bc
mov rax, qword [0x14001e088]
lea rdx, [rbp + 0x190]
xor r9d, r9d
mov r8d, 5
mov dword [rax + 8], ecx
xor ecx, ecx
mov qword [rax], rdi
mov dword [rax + 0x34], 1
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x140002145
mov r9, qword [0x14001e088]
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 [0x14001e088]
lea rdx, [0x14001e2c0]
mov dword [rcx + 0x13c], r14d
movups xmm0, xmmword [0x14001ccf8]
movups xmmword [rcx + 0x1c0], xmm0
add rcx, 0x1d4
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
inc rbx
cmp byte [rax + rbx], r14b
jne 0x140002175
mov rcx, qword [0x14001e088]
mov dword [rcx + 0x1d0], ebx
mov rcx, qword [0x14001e298]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, 1
jmp 0x1400021c7
lea rdx, [0x140018f30]
lea r8, [0x14001e350]
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.140003590
mov rbx, qword [rsp + 0xbf0]
add rsp, 0xbb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret