Function at 0x457050
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610e88
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x685680]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 4], 2
mov eax, dword [0x686984]
mov ecx, 0x686984
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 3
push dword [ebp + 0xc]
lea eax, [ebp - 0x70]
push dword [ebp + 8]
push str.__s___s
push eax
call fcn.00402f20
push 0x40
lea eax, [ebp - 0x58]
push 0
push eax
mov dword [ebp - 0x5c], 0x44
call fcn.005d1b40
add esp, 0x1c
mov eax, 1
push 0x6508f0
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x30], 0x20
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x74], 0
call fcn.0042ea30
mov byte [ebp - 4], 4
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x70]
mov dword [ebp - 0x7c], 0
mov edx, dword [esi - 0xc]
test edx, edx
js 0x4572d9
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x45712d
push edx
lea ecx, [ebp - 0x70]
call fcn.00403150
mov esi, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x457161
push 0x3e8
call ebx
push dword [ebp - 0x68]
call edi
push dword [ebp - 0x6c]
call edi
jmp 0x45716c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x80]
mov dword [ecx], eax
mov edi, 2
push 0x3e8
call ebx
dec edi
jne 0x457171
mov edi, dword [ebp + 0x10]
push ecx
mov ecx, dword [edi - 0x10]
add edi, 0xfffffff0
mov eax, dword [ecx]
mov dword [ebp - 0x78], esp
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x4571a7
cmp ecx, dword [edi]
jne 0x4571a7
mov eax, 1
lock xadd dword [edx], eax
jmp 0x4571e2
mov eax, dword [ecx]
push 1
push dword [edi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x84], edx
test edx, edx
je 0x4572d4
mov ecx, dword [edi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [edi + 4]
inc ecx
push ecx
lea eax, [edi + 0x10]
push eax
push ecx
lea eax, [edx + 0x10]
push eax
call fcn.005cdefa
mov edi, dword [ebp - 0x84]
add esp, 0x10
mov ecx, dword [ebp - 0x78]
lea eax, [edi + 0x10]
mov dword [ecx], eax
call fcn.00456f90
add esp, 4
test eax, eax
jne 0x457210
mov eax, dword [ebp - 0x7c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
inc eax
mov dword [ebp - 0x7c], eax
cmp eax, 5
jl 0x457105
xor ebx, ebx
jmp 0x457215
mov ebx, 1
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x74]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x457238
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x457255
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x457275
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x457295
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 0x10]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x4572b6
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005cd355
mov esp, ebp
pop ebp
ret
call fcn.00403100
push 0x80070057
call fcn.00403360
int3