Function at 0x40f920
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x404]
sub esp, 0x404
push 0xffffffffffffffff
push 0x4574e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x473b98]
xor eax, ebp
mov dword [ebp + 0x400], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x40c]
mov dword [ebp - 0x24], ecx
push 0x46a610
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 2
call fcn.004403a2
push 0x3ff
lea edx, [ebp + 1]
push 0
push edx
mov byte [ebp], 0
call fcn.0043f9f0
add esp, 0xc
lea eax, [ebp]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp]
push ecx
call fcn.0040ee50
add esp, 4
test eax, eax
je 0x40fa02
push ecx
lea edx, [ebp]
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
call fcn.00408e10
call fcn.0040af90
add esp, 4
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.00408e10
mov ecx, dword [ebp - 0x18]
push eax
mov byte [ebp - 4], 2
call fcn.004086e0
lea ecx, [ebp - 0x14]
call fcn.00401180
mov eax, 0x40f9f8
ret
mov edi, 0x400
push edi
lea ecx, [ebp]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp]
push 0x5c
push edx
call fcn.00441240
add esp, 8
test eax, eax
je 0x40fa38
lea eax, [ebp]
push 0x5c
push eax
call fcn.00441240
add esp, 8
mov byte [eax + 1], 0
lea ecx, [ebp]
push ecx
call fcn.0040ee50
add esp, 4
test eax, eax
je 0x40fa86
push ecx
lea edx, [ebp]
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
call fcn.00408e10
call fcn.0040af90
add esp, 4
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.00408e10
mov ecx, dword [ebp - 0x18]
push eax
mov byte [ebp - 4], 3
call fcn.004086e0
lea ecx, [ebp - 0x14]
call fcn.00401180
mov eax, 0x40f9f8
ret
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea ecx, [ebp - 0x20]
push ecx
push str.SoftwarePXXZLOGIN
push reloc.WSOCK32.dll_accept
call esi
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp]
push eax
push str.GamePath
push ecx
mov dword [ebp - 0x28], edi
call fcn.00409b20
add esp, 0x10
test eax, eax
je 0x40fac0
mov byte [ebp], 0
lea edx, [ebp]
push edx
call fcn.0040ee50
add esp, 4
test eax, eax
je 0x40fb01
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.00408e10
mov ecx, dword [ebp - 0x18]
push eax
mov byte [ebp - 4], 4
call fcn.004086e0
lea ecx, [ebp - 0x14]
call fcn.00401180
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x40f9f8
ret
lea edx, [ebp - 0x20]
push edx
push str.SOFTWAREiGameUTGameRXJH
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp]
push ecx
push str.DestDir
push edx
mov dword [ebp - 0x28], edi
call fcn.00409b20
add esp, 0x10
test eax, eax
je 0x40fb35
mov byte [ebp], 0
lea eax, [ebp]
push eax
call fcn.0040ee50
add esp, 4
test eax, eax
je 0x40fb8d
push ecx
lea edx, [ebp]
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
call fcn.00408e10
call fcn.0040af90
add esp, 4
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.00408e10
mov ecx, dword [ebp - 0x18]
push eax
mov byte [ebp - 4], 5
call fcn.004086e0
lea ecx, [ebp - 0x14]
call fcn.00401180
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x40f9f8
ret
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x45bd71
lea ecx, [ebp - 0x1c]
call fcn.00408e10
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 6
call fcn.0040f720
add esp, 4
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.004084f0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.00401180
lea ecx, [ebp - 0x1c]
push 0x45bd71
push ecx
call fcn.004075a0
add esp, 8
test al, al
je 0x40fc13
push ecx
lea edx, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
call fcn.00406930
call fcn.0040af90
mov ecx, dword [ebp - 0x18]
add esp, 4
lea eax, [ebp - 0x1c]
push eax
call fcn.004084f0
lea ecx, [ebp - 0x1c]
call fcn.00401180
mov eax, 0x40f9f8
ret
push 0x45c6d8
lea ecx, [ebp - 0x14]
call fcn.00408e10
mov eax, dword [eax]
mov esi, dword [ebp - 0x24]
push 4
push 0x45b144
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.00419d14
cmp eax, 6
lea ecx, [ebp - 0x14]
sete bl
mov byte [ebp - 4], 6
call fcn.00401180
test bl, bl
je 0x40fc9c
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.http:__www.baidu.com:89_client.exe
call fcn.00408e10
mov ecx, esi
call fcn.0040b2a0
lea ecx, [ebp - 0x1c]
call fcn.00401180
mov eax, 0x40fc73
ret
push edi
lea ecx, [ebp]
push 0
push ecx
call fcn.0043f9f0
add esp, 0xc
lea edx, [ebp]
push edx
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ecx, dword [ebp - 0x18]
push 0x45bd71
call fcn.00408dd0
lea ecx, [ebp - 0x14]
call fcn.004011f0
lea ecx, [ebp - 0x18]
call fcn.004011f0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push 1
push eax
push ecx
push str.https:__www.rxjh4.com_
push 0x45ac80
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x18]
call fcn.00401180
lea ecx, [ebp - 0x14]
call fcn.00401180
lea ecx, [ebp - 0x1c]
call fcn.00401180
mov eax, 0x40f9f8
ret