Function at 0x410880
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0xffffffffffffffff
push 0x523d27
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x581500]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x581500]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov eax, dword [esp + 0x28c]
mov ebp, dword [esp + 0x280]
mov ebx, dword [esp + 0x288]
mov edi, ecx
mov dword [esp + 0x18], edi
mov esi, edx
mov dword [esp + 0x1c], eax
call fcn.0040db40
cmp byte [eax + 0x96a], 0
je 0x410b7c
cmp byte [0x58e9a4], 0
jne 0x410b7c
mov ecx, ebp
call fcn.0040eb00
test al, al
jne 0x41098a
mov ecx, ebp
call fcn.0040eac0
test al, al
jne 0x41098a
cmp byte [ebp + 0x11c], al
je 0x410922
add ebp, 0xc
jmp 0x410925
mov ebp, dword [ebp + 8]
lea ecx, [esp + 0x20]
call fcn.004114e0
lea eax, [ebp + 4]
lea edx, [esp + 0x20]
call fcn.00411710
push 0x55d46c
mov ecx, edi
mov dword [esp + 0x27c], 1
call fcn.00409990
mov esi, eax
lea eax, [esp + 0x24]
call fcn.0040a800
cmp byte [esp + 0x13c], 0
mov dword [esp + 0x20], vtable.t_str.0
jne 0x410983
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
cmp eax, ecx
je 0x410983
push eax
call fcn.004faac5
add esp, 4
xor al, al
jmp 0x410b7e
lea ecx, [esp + 0x144]
call fcn.004114e0
mov dword [esp + 0x278], 2
cmp byte [ebp + 0x11c], 0
lea edi, [ebp + 0xc]
jne 0x4109b0
mov edi, dword [ebp + 8]
push 0x22
push 0x559644
lea edx, [esp + 0x14c]
call fcn.00411e80
add edi, 4
push edi
push 0x55d15c
lea edx, [esp + 0x154]
call fcn.00411e80
push 0x55da7c
push 0x55d15c
lea edx, [esp + 0x15c]
call fcn.00411e80
push esi
push 0x55d15c
lea edx, [esp + 0x164]
call fcn.00411e80
mov ecx, dword [esp + 0x168]
inc ecx
add esp, 0x20
lea esi, [esp + 0x14c]
mov dword [esp + 0x264], ecx
call fcn.00412590
cmp byte [esp + 0x260], 0
lea ecx, [esp + 0x150]
jne 0x410a36
mov ecx, dword [esp + 0x14c]
cmp byte [ebp + 0x11c], 0
lea eax, [ebp + 0xc]
jne 0x410a45
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x288]
push ebx
push 0
push 0
push edx
push 0
push 0
push 0
add ecx, 4
push ecx
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea edi, [esp + 0x144]
test eax, eax
jne 0x410b47
call fcn.00411ab0
cmp byte [ebp + 0x11c], 0
je 0x410a8d
add ebp, 0xc
jmp 0x410a90
mov ebp, dword [ebp + 8]
lea ecx, [esp + 0x20]
call fcn.004114e0
lea eax, [ebp + 4]
lea edx, [esp + 0x20]
call fcn.00411710
mov ebx, dword [esp + 0x18]
push 0x55da84
mov ecx, ebx
mov byte [esp + 0x27c], 4
call fcn.00409990
mov esi, eax
lea eax, [esp + 0x24]
call fcn.0040a800
mov byte [esp + 0x278], 2
cmp byte [esp + 0x13c], 0
mov ebp, vtable.t_str.0
mov dword [esp + 0x20], ebp
jne 0x410af8
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
cmp eax, ecx
je 0x410af8
push eax
call fcn.004faac5
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov edi, eax
call fcn.00409990
mov esi, eax
call fcn.0040a650
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, ebx
call fcn.00409990
cmp byte [esp + 0x260], 0
mov dword [esp + 0x144], ebp
jne 0x410983
mov eax, dword [esp + 0x14c]
lea edx, [esp + 0x150]
cmp eax, edx
jmp 0x410978
call fcn.00411ab0
cmp byte [esp + 0x260], 0
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
jne 0x410b7c
mov eax, dword [esp + 0x14c]
lea ecx, [esp + 0x150]
cmp eax, ecx
je 0x410b7c
push eax
call fcn.004faac5
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.004fa259
add esp, 0x268
ret 0x10