Function at 0x41ecb4
Capabilities:
Create process on windows
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov al, byte [ebp + 0x14]
and dword [ebp + 0x14], 0xfffffffe
and al, 1
mov byte [ebp - 2], al
mov al, byte [ebp + 0x10]
and dword [ebp + 0x10], 0xfffffffe
and al, 1
test al, al
mov dword [ebp - 0x1c], ecx
je 0x41ece3
cmp dword [ecx + 0x10c], 0
mov byte [ebp - 1], 1
jne 0x41ece7
mov byte [ebp - 1], 0
push ebx
mov ebx, dword [ebp + 0xc]
and dword [ebp + 0xc], 0xfffffffe
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_lstrlenW]
push edi
push dword [ebp + 8]
and ebx, 1
shl ebx, 7
call esi
push dword [ebp + 0xc]
mov edi, eax
call esi
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x18], eax
je 0x41ed1c
push dword [ebp + 0x10]
call esi
mov dword [ebp - 0xc], eax
jmp 0x41ed20
and dword [ebp - 0xc], 0
cmp dword [ebp + 0x14], 0
je 0x41ed30
push dword [ebp + 0x14]
call esi
mov dword [ebp - 8], eax
jmp 0x41ed34
and dword [ebp - 8], 0
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea eax, [eax + ecx*2 + 0x416]
add eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
add eax, edi
push eax
call fcn.00444a2e
mov esi, dword [ebp - 0x14]
push 0xc
push 0x4c3a70
push esi
call fcn.004143a0
push edi
push dword [ebp + 8]
add esi, 0xc
push esi
call fcn.00405988
add esp, 0x18
cmp dword [ebp + 0x10], 0
push 2
lea esi, [esi + edi*2]
pop edi
je 0x41edb3
push dword [ebp - 0xc]
mov word [esi], 0x20
push dword [ebp + 0x10]
add esi, edi
mov word [esi], 0x2d
add esi, edi
mov word [esi], 0x6f
add esi, edi
mov word [esi], 0x22
add esi, edi
push esi
call fcn.00405988
mov eax, dword [ebp - 0xc]
lea esi, [esi + eax*2]
add esp, 0xc
mov word [esi], 0x22
add esi, edi
push dword [ebp - 0x18]
mov word [esi], 0x20
push dword [ebp + 0xc]
add esi, edi
mov word [esi], 0x22
add esi, edi
push esi
call fcn.00405988
mov eax, dword [ebp - 0x18]
lea esi, [esi + eax*2]
mov word [esi], 0x22
add esp, 0xc
add esi, edi
cmp dword [ebp - 8], 0
je 0x41ee0d
push dword [ebp - 8]
mov word [esi], 0x20
push dword [ebp + 0x14]
add esi, edi
mov word [esi], 0x22
add esi, edi
push esi
call fcn.00405988
mov eax, dword [ebp - 8]
lea esi, [esi + eax*2]
add esp, 0xc
mov word [esi], 0x22
add esi, edi
and word [esi], 0
and dword [ebp - 0x2c], 0
xor eax, eax
push 0xf
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ecx
stosd dword es:[edi], eax
xor esi, esi
xor eax, eax
mov dword [ebp - 0x70], 0x44
mov dword [ebp - 0x6c], esi
lea edi, [ebp - 0x68]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x14]
push esi
push esi
or ebx, 0x1000004
push ebx
push esi
push esi
push esi
add eax, 0xc
push eax
push esi
mov dword [ebp - 0x10], 1
mov word [ebp - 0x40], si
mov dword [ebp - 0x44], 0x81
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
cmp byte [ebp - 1], 0
je 0x41ee84
cmp dword [ebp - 0x2c], esi
je 0x41ee89
push dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x10c]
call dword [sym.imp.KERNEL32.DLL_AssignProcessToJobObject]
cmp dword [ebp - 0x2c], esi
jne 0x41ee97
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp dword [ebp - 0x2c], esi
mov dword [ebp - 0x10], eax
je 0x41eec8
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
push 0xffffffffffffffff
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
push dword [ebp - 0x28]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call edi
push dword [ebp - 0x2c]
call edi
cmp byte [ebp - 2], 0
jne 0x41eeea
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
push esi
push esi
push 0x1100
push dword [ebp - 0x10]
add eax, 0x12
push eax
add ecx, 4
call fcn.0041afa3
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.0043e48d
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10