Function at 0x405bc0
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x405bd9
mov eax, dword [edi]
jmp 0x405bdb
mov eax, edi
mov esi, dword [edi + 0x10]
add esi, eax
cmp ecx, 0x10
jb 0x405be7
mov edi, dword [edi]
xor eax, eax
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov eax, esi
sub eax, edi
mov dword [ebp - 0x20], 0
cmp eax, 7
je 0x405c2a
push 1
push eax
lea ecx, [ebp - 0x30]
call fcn.00407c10
test al, al
je 0x405c2a
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
mov dword [ebp - 0x20], 0
cmovae eax, dword [ebp - 0x30]
xor ecx, ecx
mov word [eax], cx
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x30]
push esi
push edi
call fcn.00408fb0
push 0x44
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.00415790
add esp, 0xc
mov dword [ebp - 0xa8], 0x44
lea eax, [ebp - 0x108]
xorps xmm0, xmm0
movups xmmword [ebp - 0x5c], xmm0
push eax
call fcn.00405e00
mov esi, eax
mov edi, 0x17
lea edx, [esi + 4]
movsx cx, byte [esi]
lea edx, [edx + 4]
xor word [edx - 6], cx
movsx ax, byte [esi]
xor word [edx - 4], ax
sub edi, 1
jne 0x405c71
xor eax, eax
mov word [esi + 0x5e], ax
add esi, 2
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], eax
mov word [ebp - 0x48], ax
cmp word [esi], ax
jne 0x405ca9
xor ecx, ecx
jmp 0x405cbf
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405cb0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x48]
call fcn.00407160
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x48]
call fcn.00408a90
mov esi, eax
mov dword [ebp - 4], 7
xor eax, eax
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
cmp dword [esi + 0x14], 8
jae 0x405d0f
mov eax, dword [esi + 0x10]
add eax, 1
je 0x405d1a
add eax, eax
push eax
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00413700
add esp, 0xc
jmp 0x405d1a
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 4], eax
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x405d3c
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [ebp - 0x18]
mov eax, dword [ebp - 4]
cmp eax, 8
mov ecx, dword [ebp - 0x18]
cmovae esi, ecx
jb 0x405d5d
inc eax
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.00407bb0
xor eax, eax
mov dword [ebp - 4], 7
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 8], 0
cmp eax, 8
jb 0x405d86
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00407bb0
xor eax, eax
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x38], 0
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405dd5
push dword [ebp - 0x5c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x58]
call esi
xor esi, esi
jmp 0x405dda
mov esi, 1
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x405def
inc ecx
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
call fcn.00407bb0
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret