Function at 0x436dd0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x44c878
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45d2b0]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, edx
push 0x40
xor edi, edi
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.0043d080
mov edx, dword [0x45fdc0]
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x45fdc0
mov dword [esp + 0x34], 0x44
mov dword [esp + 0x24], edi
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x8c], edi
cmp esi, edi
je 0x436e66
cmp byte [esi], 0
je 0x436e66
push esi
push ebx
push str.__s___s
lea edi, [esp + 0x28]
call fcn.004044a0
add esp, 0xc
jmp 0x436e78
push ebx
push str.__s_
lea edi, [esp + 0x24]
call fcn.004044a0
add esp, 8
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.00422800
mov byte [esp + 0x8c], 1
mov edx, dword [esp + 0x18]
push 0x5c
push edx
call fcn.00437d4b
add esp, 8
or ebp, 0xffffffff
test eax, eax
je 0x436eef
sub eax, dword [esp + 0x18]
test eax, eax
jle 0x436eef
lea ecx, [esp + 0x20]
lea edx, [esp + 0x18]
call fcn.004265a0
lea ebx, [esp + 0x18]
mov byte [esp + 0x8c], 2
call fcn.00404000
mov byte [esp + 0x8c], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436eef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x38]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push edi
push str.ExecuteWithToken0__s_bResult_d_LastErr_d
push 0x80
call fcn.004025a0
add esp, 0x14
test esi, esi
jne 0x436f81
mov byte [esp + 0x8c], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436f5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x8c], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x436f7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x436ff8
mov eax, dword [esp + 0x94]
test eax, eax
jbe 0x436f98
mov ecx, dword [esp + 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x24]
push eax
call esi
mov byte [esp + 0x8c], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436fd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x8c], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x436ff3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 4