Function at 0x402860
Capabilities:
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 + 0x30]
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
shr byte [esi - 0x7ff62e09], 1
pop esp
add al, 0x7f
pop esp
je 0x4028d9
mov edi, 0x42f120
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x80]
repne scasb al, byte es:[edi]
test ecx, 0xf78bf92b
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
mov cs, word [ebx - 0x163eb035]
add dh, bl
movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movsb byte es:[edi], byte [esi]
mov edi, str.SatupFile._in
or dword [ecx - 1], 0x33
ror byte [ebp + 0x802494], 0
add dl, dh
scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xa
mov esi, ebp
mov ebx, ecx
mov edi, edx
or dword [eax - 1], 0xfffffff2
scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
int1
movsd dword es:[edi], dword [esi]
mov ecx, ebx
push 0x3e18368
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
test dword [esp + 0x2c], ecx
mov dword [esp + 0x38c], 0xffffffff
call fcn.0041d018
lea ecx, [esp + 0x80]
push ecx
lea ecx, [eax + 0x14]
call fcn.004187d9
mov ebx, 1
push 0x5c
lea ecx, [esp + 0x14]
mov dword [esp + 0x390], ebx
call fcn.0041712b
test eax, eax
jle 0x4029e1
push eax
lea edx, [eax + 0x20]
sbb al, 0x6a
add byte [edx - 0x73], dl
dec esp
and al, 0x1c
call fcn.00417895
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x390], 2
enter 0x5ed3, 1
add byte [ebp - 0x77e7dbb4], cl
pushfd
and al, 0x8c
add eax, dword [eax]
add al, ch
mov bl, byte [ebp + 1]
add byte [eax + 8], ch
int1
inc edx
add byte [ebp - 0x17ebdbb4], cl
pushal
add dword [eax], eax
push str.ChinaVnet
lea ecx, [esp + 0x14]
call 0x418a2d
or dword [esp + 0x10], eax
push str.VneTSP2
lea ecx, [esp]
sbb byte [eax + 0x51], dl
call fcn.00418998
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x194], 3
call fcn.004184e0
mov ecx, ebp
call fcn.00402550
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x184]
push eax
push 0x42f124
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.0041adc6
lea ecx, [esp + 0x14]
mov byte [esp + 0x38c], bl
call fcn.0041876b
lea ecx, [esp + 0x10]
mov dword [esp + 0x388], 0xffffffff
call fcn.0041876b
mov ecx, dword [esp + 0x384]
pop edi
pop esi
pop ebp
or dword fs:[0], 0x80c48159
add eax, dword [eax]
add bl, al
nop
nop
nop
nop
nop
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x423df6
push eax
mov dword fs:[0], esp
sub esp, 0x10c
lea eax, [esp + 8]
push ebx
push ebp
inc esi
push edi
push eax
mov ebp, ecx
push 0x104
mov edi, 0x4252a415
add byte [ebp - 0x7ce7db84], cl
leave
push dword [ebx]
sal dl, 0xae
not ecx
dec ecx
cmp byte [esp + ecx + 0x17], 0x5c
je 0x402b44
mov edi, 0x42f020
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub ecx, edi
mov esi, edi
mov ebx, ecx
mov bh, dl
or cl, 0xff
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
shl dword [edi + edi*4 + str.SatupFile._in], cl
mov edi, str.SatupFile._in
or ecx, 0xffffffff
xor eax, dword [eax + 0x1824540d]
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
lea eax, [esp + 0x18]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.004177d9
xor ebx, ebx
push 0x5c
mov dword [esp + 0x14], ecx
mov dword [esp + 0x128], ebx
call fcn.0041792b
sub eax, ebx
jle 0x402bca
push eax
lea ecx, [eax + 0x18]
push ebx
push ecx
lea ecx, [esp + 0x1c]
call fcn.00417895
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x128], 1
call fcn.004188a4
lea ecx, [esp + 0x14]
mov byte [esp + 0x124], bl
call fcn.0041876b
push 0x2f108
lea ecx, [esp + 4]
call fcn.00418a6d
lea edx, [esp + eax + 0x18]
push edx
call dword [eax + edi*4]
push edx
inc edx
add byte [ebx - 0x74efdbbc], cl
int 0x50
call fcn.00401e00
or ecx, dword [ebp + 0x14]
push ebx
push 0x64
push 0x66
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [esp + 0x10]
inc edi
test byte [esp], ah
add dword [eax], eax
add bh, bh
invalid