Function at 0x40caa0
Capabilities:
Create process on windows
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x44f865
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46414c]
xor eax, esp
push eax
lea eax, [esp + 0x108]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x118]
mov eax, dword [ebp + 0x28]
xor ebx, ebx
sub eax, 1
mov dword [esp + 0x20], ebx
je 0x40cfca
sub eax, 1
je 0x40caf2
xor eax, eax
jmp 0x40cc98
cmp dword [esp + 0x11c], ebx
jne 0x40ccb4
lea esi, [esp + 0x50]
mov eax, ebp
call fcn.0040df70
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cb35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x1c]
mov eax, ebp
call fcn.0040dff0
mov dword [esp + 0x110], 3
mov edx, dword [0x46ecec]
mov eax, dword [edx + 0xc]
mov ecx, 0x46ecec
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x110], 4
push ecx
mov ecx, dword [esp + 0x20]
call fcn.004049c0
mov eax, dword [eax]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40cba4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x2c]
mov eax, ebp
call fcn.0040dfd0
lea edi, [esp + 0x18]
mov byte [esp + 0x110], 5
call fcn.004050a0
mov byte [esp + 0x110], 4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cbe8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x40cc3f
push 8
call fcn.00424563
mov esi, eax
add esp, 4
test esi, esi
je 0x40cc14
mov edx, dword [0x46ecec]
mov eax, dword [edx + 0xc]
mov ecx, 0x46ecec
call eax
add eax, 0x10
mov dword [esi + 4], eax
jmp 0x40cc16
xor esi, esi
lea edi, [esi + 4]
lea eax, [esp + 0x18]
mov dword [esi], ebx
call fcn.004050a0
push 0
push 0
push esi
push 0x40c250
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, 1
jmp 0x40cc43
mov esi, dword [esp + 0x20]
mov byte [esp + 0x110], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cc6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x110], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cc96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x108]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret 8
mov edx, dword [0x46ecec]
mov eax, dword [edx + 0xc]
mov ecx, 0x46ecec
call eax
lea ecx, [eax + 0x10]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x110], 6
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, 0x104
or eax, edx
jge 0x40ccfc
mov ecx, 0x104
lea eax, [esp + 0x18]
call fcn.00401680
mov ecx, dword [esp + 0x18]
push 0x104
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea esi, [esp + 0x18]
call fcn.004015b0
push 0x44
lea ecx, [esp + 0x78]
push ebx
push ecx
call fcn.00426020
mov edx, dword [0x46ecec]
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x46ecec
mov dword [esp + 0x74], 0x44
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea esi, [esp + 0x30]
mov eax, ebp
mov byte [esp + 0x110], 7
call fcn.0040dfd0
mov byte [esp + 0x110], 8
mov eax, dword [eax]
push ebx
mov edi, eax
lea esi, [esp + 0x2c]
call fcn.004235b0
add esp, 4
mov ebx, eax
lea esi, [esp + 0x44]
mov eax, ebp
mov byte [esp + 0x110], 9
call fcn.0040dff0
mov byte [esp + 0x110], 0xa
mov eax, dword [eax]
push 0
mov edi, eax
lea esi, [esp + 0x28]
call fcn.004235b0
add esp, 4
mov dword [esp + 0x20], eax
lea esi, [esp + 0x3c]
mov eax, ebp
mov byte [esp + 0x110], 0xb
call fcn.0040df70
mov byte [esp + 0x110], 0xc
mov eax, dword [eax]
push 0
mov edi, eax
lea esi, [esp + 0x50]
call fcn.004235b0
mov ebp, eax
push 0
mov edi, 0x45bb00
lea esi, [esp + 0x3c]
mov byte [esp + 0x118], 0xd
call fcn.004235b0
mov edx, dword [esp + 0x28]
mov byte [esp + 0x118], 0xe
mov ecx, dword [ebx]
mov eax, dword [eax]
push ecx
mov ecx, dword [edx]
mov edx, dword [ebp]
push ecx
push edx
push eax
push str.__m__s__p__s__f__s__c__s
lea edi, [esp + 0x38]
call fcn.004018c0
mov byte [esp + 0x12c], 0xd
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 0x1c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ce48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x110], 0xc
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ce70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x110], 0xb
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ce98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x110], 0xa
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cec0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x110], 9
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cee8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x110], 8
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cf10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x110], 7
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cf38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
cmp dword [esi - 4], 1
jle 0x40cf54
mov ecx, dword [esi - 0xc]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.004017a0
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x78]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
lea eax, [esi - 0x10]
mov byte [esp + 0x110], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40cf9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [esp + 0x110], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cfc3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
jmp 0x40cc98
push 0x44
lea ecx, [esp + 0xc0]
push ebx
push ecx
call fcn.00426020
mov edx, dword [0x46ecec]
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x46ecec
mov dword [esp + 0xbc], 0x44
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea esi, [esp + 0x38]
mov eax, ebp
mov dword [esp + 0x110], ebx
call fcn.0040dfd0
lea edi, [esp + 0x18]
mov byte [esp + 0x110], 1
call fcn.004050a0
mov byte [esp + 0x110], 0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d05c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x40]
mov eax, ebp
call fcn.0040df70
mov edi, eax
mov byte [esp + 0x110], 2
mov esi, dword [esp + 0x18]
cmp dword [esi - 4], 1
jle 0x40d08d
mov ecx, dword [esi - 0xc]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004017a0
mov esi, dword [esp + 0x18]
mov eax, dword [edi]
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0xc0]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
mov byte [esp + 0x110], 0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d0d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
jmp 0x40cf9f