Function at 0x41fb40
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 0x41fb6f
cmp dword [ecx + 0x10c], 0
mov byte [ebp - 1], 1
jne 0x41fb73
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 0x41fba8
push dword [ebp + 0x10]
call esi
mov dword [ebp - 0xc], eax
jmp 0x41fbac
and dword [ebp - 0xc], 0
cmp dword [ebp + 0x14], 0
je 0x41fbbc
push dword [ebp + 0x14]
call esi
mov dword [ebp - 8], eax
jmp 0x41fbc0
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.004441bf
mov esi, dword [ebp - 0x14]
push 0xc
push 0x4c0a68
push esi
call fcn.00413fe3
push edi
push dword [ebp + 8]
add esi, 0xc
push esi
call fcn.0040561e
add esp, 0x18
cmp dword [ebp + 0x10], 0
push 2
lea esi, [esi + edi*2]
pop edi
je 0x41fc3f
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.0040561e
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.0040561e
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 0x41fc99
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.0040561e
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 0x41fd10
cmp dword [ebp - 0x2c], esi
je 0x41fd15
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 0x41fd23
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x2c], esi
mov dword [ebp - 0x10], eax
je 0x41fd54
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 0x41fd76
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.0041be8e
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.0043dd41
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10