Function at 0x4022e0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Create a process with modified i/o handles and window
Create process on windows
Delete file
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb313
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x4fd5c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x334], ecx
mov edx, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x2bc], 7
mov dword [ebp - 0x2c0], 0
mov word [ebp - 0x2d0], ax
cmp word [edx], ax
jne 0x402340
xor ecx, ecx
jmp 0x402354
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402345
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2d0]
call fcn.004033f0
cmp dword [esi + 0xb4], 0
lea eax, [esi + 0xa4]
mov dword [ebp - 4], 0
je 0x40238c
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2d0]
call fcn.00403090
jmp 0x402472
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x80
mov ebx, eax
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.004a3390
mov eax, ebx
mov dword [ebp - 0x310], 0x25007e
and eax, 0xff000000
mov dword [ebp - 0x30c], 0x320030
push eax
mov eax, ebx
mov dword [ebp - 0x308], 0x250078
and eax, 0xff0000
mov dword [ebp - 0x304], 0x320030
push eax
mov eax, ebx
mov dword [ebp - 0x300], 0x250078
and eax, 0xff00
mov dword [ebp - 0x2fc], 0x320030
push eax
movzx eax, bl
push eax
lea eax, [ebp - 0x310]
mov dword [ebp - 0x2f8], 0x250078
push eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x2f4], 0x320030
push eax
mov dword [ebp - 0x2f0], 0x78
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x24
cmp word [ebp - 0x90], 0
jne 0x402442
xor ecx, ecx
jmp 0x40245f
lea ecx, [ebp - 0x90]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402450
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x2d0]
call fcn.004031a0
xor ebx, ebx
lea edi, [esi + 0x2c]
nop word [eax + eax]
mov dword [ebp - 0x2a4], 0xf
mov dword [ebp - 0x2a8], 0
mov byte [ebp - 0x2b8], 0
cmp dword [ebp - 0x2bc], 8
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x2d0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x2a0]
call fcn.004010f0
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 2
push eax
lea eax, [esi + 0x5c]
push eax
push edi
lea ecx, [ebp - 0x2a0]
call fcn.00401140
test eax, eax
jne 0x402649
cmp dword [ebp - 0x2a8], eax
je 0x402649
cmp dword [ebp - 0x2bc], 8
lea eax, [ebp - 0x2d0]
push 0
cmovae eax, dword [ebp - 0x2d0]
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x402646
cmp dword [ebp - 0x2a4], 0x10
lea eax, [ebp - 0x2d4]
push 0
push eax
push dword [ebp - 0x2a8]
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2d4], 0
cmovae ecx, dword [ebp - 0x2b8]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
cmp dword [ebp - 0x2bc], 8
lea eax, [ebp - 0x2d0]
cmovae eax, dword [ebp - 0x2d0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402646
cmp dword [esi + 0x14], 0
je 0x402916
cmp dword [esi + 0x84], 0
je 0x402916
mov dword [ebp - 0x2d8], 0xf
mov dword [ebp - 0x2dc], 0
mov byte [ebp - 0x2ec], 0
cmp dword [ebp - 0x2bc], 8
lea eax, [ebp - 0x2d0]
lea ecx, [ebp - 0x304]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x2d0]
push eax
call fcn.00401680
push 0
lea eax, [ebp - 0x2ec]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x304]
push eax
call fcn.0040aa30
add esp, 0xc
lea ecx, [ebp - 0x304]
call fcn.00449280
cmp dword [ebp - 0x2d8], 0x10
lea ecx, [ebp - 0x2ec]
lea eax, [esi + 0x74]
cmovae ecx, dword [ebp - 0x2ec]
cmp dword [eax + 0x14], 0x10
jb 0x402629
mov eax, dword [eax]
push ecx
push eax
call fcn.004a7640
add esp, 8
lea ecx, [ebp - 0x2ec]
test eax, eax
je 0x4028f5
call fcn.00401720
lea edi, [esi + 0x2c]
lea ecx, [ebp - 0x2a0]
call fcn.00401100
mov eax, dword [ebp - 0x2a4]
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x4026a4
mov ecx, dword [ebp - 0x2b8]
inc eax
cmp eax, 0x1000
jb 0x40269b
test cl, 0x1f
jne 0x402a61
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x402a61
sub ecx, eax
cmp ecx, 4
jb 0x402a61
cmp ecx, 0x23
ja 0x402a61
mov ecx, eax
push ecx
call fcn.004a10ce
add esp, 4
inc ebx
cmp ebx, 2
jb 0x402480
xor ebx, ebx
lea edi, [esi + 0x44]
mov dword [ebp - 0x2a4], 0xf
mov dword [ebp - 0x2a8], 0
mov byte [ebp - 0x2b8], 0
cmp dword [ebp - 0x2bc], 8
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x2d0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x2a0]
call fcn.004010f0
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 6
push eax
lea eax, [esi + 0x5c]
push eax
push edi
lea ecx, [ebp - 0x2a0]
call fcn.00401140
test eax, eax
jne 0x40288b
cmp dword [ebp - 0x2a8], eax
je 0x40288b
cmp dword [ebp - 0x2bc], 8
lea eax, [ebp - 0x2d0]
push 0
cmovae eax, dword [ebp - 0x2d0]
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x402888
cmp dword [ebp - 0x2a4], 0x10
lea eax, [ebp - 0x2d4]
push 0
push eax
push dword [ebp - 0x2a8]
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2d4], 0
cmovae ecx, dword [ebp - 0x2b8]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
cmp dword [ebp - 0x2bc], 8
lea eax, [ebp - 0x2d0]
cmovae eax, dword [ebp - 0x2d0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402888
cmp dword [esi + 0x14], 0
je 0x402916
cmp dword [esi + 0x84], 0
je 0x402916
mov dword [ebp - 0x2d8], 0xf
mov dword [ebp - 0x2dc], 0
mov byte [ebp - 0x2ec], 0
cmp dword [ebp - 0x2bc], 8
lea eax, [ebp - 0x2d0]
lea ecx, [ebp - 0x304]
mov byte [ebp - 4], 7
cmovae eax, dword [ebp - 0x2d0]
push eax
call fcn.00401680
push 0
lea eax, [ebp - 0x2ec]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x304]
push eax
call fcn.0040aa30
mov eax, dword [ebp - 0x2f0]
add esp, 0xc
cmp eax, 8
jb 0x402850
inc eax
lea ecx, [ebp - 0x304]
push eax
push dword [ebp - 0x304]
call fcn.004034f0
cmp dword [ebp - 0x2d8], 0x10
lea ecx, [ebp - 0x2ec]
lea eax, [esi + 0x74]
cmovae ecx, dword [ebp - 0x2ec]
cmp dword [eax + 0x14], 0x10
jb 0x40286f
mov eax, dword [eax]
push ecx
push eax
call fcn.004a7640
add esp, 8
lea ecx, [ebp - 0x2ec]
test eax, eax
je 0x4028f5
call fcn.00401720
lea edi, [esi + 0x44]
lea ecx, [ebp - 0x2a0]
call fcn.00401100
mov eax, dword [ebp - 0x2a4]
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x4028e6
mov ecx, dword [ebp - 0x2b8]
inc eax
cmp eax, 0x1000
jb 0x4028dd
test cl, 0x1f
jne 0x402a61
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x402a61
sub ecx, eax
cmp ecx, 4
jb 0x402a61
cmp ecx, 0x23
ja 0x402a61
mov ecx, eax
push ecx
call fcn.004a10ce
add esp, 4
inc ebx
cmp ebx, 2
jb 0x4026b3
jmp 0x402a48
call fcn.00401720
lea ecx, [ebp - 0x2a0]
call fcn.00401100
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0
call fcn.00401720
jmp 0x402943
lea ecx, [ebp - 0x2a0]
call fcn.00401100
mov eax, dword [ebp - 0x2a4]
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x402943
inc eax
lea ecx, [ebp - 0x2b8]
push eax
push dword [ebp - 0x2b8]
call fcn.00410090
push 0x20a
lea eax, [ebp - 0x29c]
mov dword [esi + 0x20], 1
push 0
push eax
call fcn.004a3390
lea ecx, [esi + 0xd4]
add esp, 0xc
cmp dword [ecx + 0x14], 8
jb 0x40296e
mov ecx, dword [ecx]
cmp dword [ebp - 0x2bc], 8
lea eax, [ebp - 0x2d0]
push ecx
cmovae eax, dword [ebp - 0x2d0]
push eax
push str.__s___s
push 0xffffffffffffffff
lea eax, [ebp - 0x29c]
push 0x104
push eax
call fcn.004036e0
push 0x40
lea eax, [ebp - 0x32c]
push 0
push eax
call fcn.004a3390
add esp, 0x24
mov dword [ebp - 0x330], 0x44
xor eax, eax
mov dword [ebp - 0x304], 0x101
mov word [ebp - 0x300], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x330]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x29c]
push eax
push 0
movups xmmword [ebp - 0x2b0], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x402a3f
push 0xea60
push dword [ebp - 0x2b0]
mov dword [esi + 0x24], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x2ac]
call edi
push dword [ebp - 0x2b0]
call edi
cmp dword [esi + 0x18], 0
je 0x402a48
mov ecx, dword [ebp - 0x334]
push esi
call fcn.00401d80
jmp 0x402a48
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x2bc]
cmp eax, 8
jb 0x402aaa
mov ecx, dword [ebp - 0x2d0]
inc eax
cmp eax, 0x7fffffff
jbe 0x402a66
call fcn.004a7532
add eax, eax
cmp eax, 0x1000
jb 0x402aa1
test byte [ebp - 0x2d0], 0x1f
je 0x402a7d
call fcn.004a7532
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x402a89
call fcn.004a7532
sub ecx, eax
cmp ecx, 4
jae 0x402a95
call fcn.004a7532
cmp ecx, 0x23
jbe 0x402a9f
call fcn.004a7532
mov ecx, eax
push ecx
call fcn.004a10ce
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a10e1
mov esp, ebp
pop ebp
ret 8