Function at 0x402860
Capabilities:
Create process on windows
Extract resource via kernel32 functions
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x423dcc
push eax
mov dword fs:[0], esp
sub esp, 0x374
lea eax, [esp + 0x70]
push ebx
push ebp
push esi
push edi
push eax
mov ebp, ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edi, [esp + 0x80]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x7f], 0x5c
je 0x4028da
mov edi, 0x42f120
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x80]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x42f140
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x80]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xa
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
push 0x68
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x402982
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
lea eax, [esp + 0x80]
push 0x1001
push eax
lea ecx, [esp + 0x34]
call fcn.0041cf78
push edi
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x394], 0
call fcn.0041d22c
lea ecx, [esp + 0x2c]
call fcn.0041d2f0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38c], 0xffffffff
call fcn.0041d018
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x14]
call fcn.004187d9
mov ebx, 1
push 0x5c
lea ecx, [esp + 0x14]
mov dword [esp + 0x390], ebx
call fcn.0041792b
test eax, eax
jle 0x4029e1
push eax
lea edx, [esp + 0x1c]
push 0
push edx
lea ecx, [esp + 0x1c]
call fcn.00417895
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x390], 2
call fcn.004188a4
lea ecx, [esp + 0x18]
mov byte [esp + 0x38c], bl
call fcn.0041876b
push str.ChinaVnet
lea ecx, [esp + 0x14]
call fcn.00418a6d
lea eax, [esp + 0x10]
push 0x42f134
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.0041899a
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x394], 3
call fcn.004184e0
mov ecx, ebp
call fcn.00402550
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x184]
push eax
push str._sSetup.exe
push ecx
call fcn.0040b31a
xor edx, edx
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x48]
mov dword [esp + 0x28], edx
add esp, 0xc
rep stosd dword es:[edi], eax
mov dword [esp + 0x20], edx
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x24], edx
push eax
push ecx
push edx
push edx
push 0x20
push edx
push edx
mov dword [esp + 0x44], edx
push edx
lea edx, [esp + 0x1a4]
push edx
push 0
mov dword [esp + 0x64], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0
mov ecx, ebp
call fcn.0041cdc6
lea ecx, [esp + 0x14]
mov byte [esp + 0x38c], bl
call fcn.0041876b
lea ecx, [esp + 0x10]
mov dword [esp + 0x38c], 0xffffffff
call fcn.0041876b
mov ecx, dword [esp + 0x384]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x380
ret