Function at 0x40b550
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x472330
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48dd78]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [0x48d130]
mov dword [esp + 0x14], eax
xor ebx, ebx
mov edi, eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x18], edi
mov esi, dword [esp + 0x80]
lea eax, [esp + 0x14]
push eax
lea edx, [esi + 0x21c]
push edx
mov byte [esp + 0x80], 1
call fcn.0040acf0
test al, al
jne 0x40b5ef
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [edi - 0xc]
cmp eax, dword [0x48d12c]
je 0x40b5d4
lea esi, [edi - 0xc]
push esi
call ebx
test eax, eax
jg 0x40b5d4
push esi
call fcn.0043f1b9
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x48d12c]
je 0x40b79d
lea esi, [eax - 0xc]
jmp 0x40b78d
mov ebp, dword [esp + 0x14]
cmp word [esi + 0x424], bx
lea eax, [esi + 0x424]
je 0x40b618
push eax
push ebp
lea edx, [esp + 0x20]
push str.__s___s
push edx
call fcn.00405730
add esp, 0x10
jmp 0x40b62b
push ebp
lea eax, [esp + 0x1c]
push 0x475cbc
push eax
call fcn.00405730
add esp, 0xc
cmp word [esi + 0x62c], bx
lea eax, [esi + 0x62c]
je 0x40b649
mov ecx, dword [esp + 0x84]
push eax
call fcn.00405030
jmp 0x40b65a
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x88]
call fcn.00404fd0
push 0x40
lea edx, [esp + 0x34]
push ebx
push edx
call fcn.0043e9f0
mov edi, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
xor eax, eax
push ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
push edi
mov eax, 5
push ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x54], 0x44
mov word [esp + 0x84], ax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40b75b
mov eax, dword [esi + 0x10]
mov dword [esp + 0x84], ebx
cmp eax, ebx
jne 0x40b6c6
or eax, 0xffffffff
cmp byte [esi], bl
je 0x40b6d6
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 1], bl
je 0x40b701
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x84]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [esp + 0x84], ebx
mov ecx, dword [esp + 0x88]
sete al
mov byte [ecx], al
mov edx, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x1c]
push eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [edi - 0xc]
cmp ecx, dword [0x48d12c]
je 0x40b739
lea esi, [edi - 0xc]
push esi
call ebx
test eax, eax
jg 0x40b739
push esi
call fcn.0043f1b9
add esp, 4
lea edx, [ebp - 0xc]
cmp edx, dword [0x48d12c]
je 0x40b757
lea esi, [ebp - 0xc]
push esi
call ebx
test eax, eax
jg 0x40b757
push esi
call fcn.0043f1b9
add esp, 4
mov al, 1
jmp 0x40b79f
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [edi - 0xc]
cmp eax, dword [0x48d12c]
je 0x40b77f
lea esi, [edi - 0xc]
push esi
call ebx
test eax, eax
jg 0x40b77f
push esi
call fcn.0043f1b9
add esp, 4
lea ecx, [ebp - 0xc]
cmp ecx, dword [0x48d12c]
je 0x40b79d
lea esi, [ebp - 0xc]
push esi
call ebx
test eax, eax
jg 0x40b79d
push esi
call fcn.0043f1b9
add esp, 4
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 0xc