Function at 0x404910
Capabilities:
Create process on windows
Extract resource via kernel32 functions
Get common file path
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x428e5c
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 0x40498a
mov edi, 0x4340c8
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, str.SetupFile.bin
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
test esi, esi
je 0x404bb6
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 0x404bb6
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
lea eax, [esp + 0x80]
push 0x1001
push eax
lea ecx, [esp + 0x34]
call fcn.00421b88
push edi
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x394], 0
call fcn.00421e3c
lea ecx, [esp + 0x2c]
call fcn.00421f00
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38c], 0xffffffff
call fcn.00421c28
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x14]
call fcn.0041ceef
mov ebx, 1
push 0x5c
lea ecx, [esp + 0x14]
mov dword [esp + 0x390], ebx
call fcn.0041bd7d
test eax, eax
jle 0x404a9d
push eax
lea edx, [esp + 0x1c]
push 0
push edx
lea ecx, [esp + 0x1c]
call fcn.0041bce7
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x390], 2
call fcn.0041cfba
lea ecx, [esp + 0x18]
mov byte [esp + 0x38c], bl
call fcn.0041ce81
push str.ChinaVnet
lea ecx, [esp + 0x14]
call fcn.0041d1e9
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.00404d90
test eax, eax
je 0x404ba2
lea ecx, [esp + 0x10]
push str.VnetSP2
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.0041d116
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov byte [esp + 0x394], 3
call fcn.0041cbf6
mov ecx, ebp
call fcn.00404600
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x184]
rep stosd dword es:[edi], eax
mov eax, dword [0x436688]
test eax, eax
je 0x404b20
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x184]
push ecx
push str._sSetup.exe__silent
push edx
jmp 0x404b32
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x184]
push eax
push str._sSetup.exe
push ecx
call fcn.0040e8bd
add esp, 0xc
lea edx, [esp + 0x184]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x3c]
lea edx, [esp + 0x3c]
rep stosd dword es:[edi], eax
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
push ecx
mov dword [esp + 0x28], eax
push edx
push eax
push eax
push 0x20
push eax
push eax
mov dword [esp + 0x44], eax
push eax
lea eax, [esp + 0x1a4]
push eax
push 0
mov dword [esp + 0x64], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x404bd1
lea ecx, [esp + 0x14]
mov byte [esp + 0x38c], bl
call fcn.0041ce81
lea ecx, [esp + 0x10]
mov dword [esp + 0x38c], 0xffffffff
call fcn.0041ce81
xor eax, eax
mov ecx, dword [esp + 0x384]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x380
ret
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push 0
push 0x64
push 0x65
push eax
mov dword [ebp + 0x5c], ecx
mov dword [ebp + 0xb4], edx
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [esp + 0x14]
mov byte [esp + 0x38c], bl
call fcn.0041ce81
lea ecx, [esp + 0x10]
mov dword [esp + 0x38c], 0xffffffff
call fcn.0041ce81
mov eax, ebx
jmp 0x404bb8