Function at 0x41f96b
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 0x41f99a
cmp dword [ecx + 0x10c], 0
mov byte [ebp - 1], 1
jne 0x41f99e
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 0x41f9d3
push dword [ebp + 0x10]
call esi
mov dword [ebp - 0xc], eax
jmp 0x41f9d7
and dword [ebp - 0xc], 0
cmp dword [ebp + 0x14], 0
je 0x41f9e7
push dword [ebp + 0x14]
call esi
mov dword [ebp - 8], eax
jmp 0x41f9eb
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.00443f79
mov esi, dword [ebp - 0x14]
push 0xc
push 0x4c0a48
push esi
call fcn.00413de4
push edi
push dword [ebp + 8]
add esi, 0xc
push esi
call fcn.004055fd
add esp, 0x18
cmp dword [ebp + 0x10], 0
push 2
lea esi, [esi + edi*2]
pop edi
je 0x41fa6a
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.004055fd
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.004055fd
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 0x41fac4
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.004055fd
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 0x41fb3b
cmp dword [ebp - 0x2c], esi
je 0x41fb40
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 0x41fb4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x2c], esi
mov dword [ebp - 0x10], eax
je 0x41fb7f
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 0x41fba1
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.0041bcb9
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.0043db4f
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10