Function at 0x4035f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41fda0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push esi
push edi
mov eax, dword [0x42b4d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
call fcn.00401590
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x403637
push 0x80004005
call fcn.004012d0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x42693c
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.00403de0
push str.http_shellopencommand
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00403de0
push ecx
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x1c]
mov ecx, SysReAllocString
push eax
lea edx, [ebp - 0x10]
call fcn.00405630
mov byte [ebp - 4], 1
or ebx, 0xffffffff
mov esi, dword [ebp - 0x10]
add esp, 0xc
add esi, 0xfffffff0
mov edi, eax
mov ecx, ebx
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4036a9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4036c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
mov edi, dword [ebp - 0x14]
je 0x4038ef
push 0x40
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x80], 0
push 0
push eax
call fcn.0040ef90
add esp, 0xc
call fcn.00401590
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x403707
push 0x80004005
call fcn.004012d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 3
cmp dword [edi - 0xc], 0
jl 0x4037b0
push 0x426d64
push edi
call fcn.0040d52e
add esp, 8
test eax, eax
je 0x4037b0
sub eax, edi
sar eax, 1
js 0x4037b0
lea ecx, [edi - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x403785
cmp dword [esi + 0xc], 0
jl 0x403779
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x403779
call fcn.00404ca0
mov dword [ebp - 0x1c], eax
lea edx, [esi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403771
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
add eax, 0x10
mov dword [ebp - 0x10], eax
jmp 0x403785
push dword [edi - 0xc]
lea ecx, [ebp - 0x10]
push edi
call fcn.00404bd0
mov esi, dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
push esi
push 0x426d6c
call fcn.00403f80
test eax, eax
jne 0x4037a8
push esi
push 0x426d64
lea ecx, [ebp - 0x10]
call fcn.00403f80
mov esi, dword [ebp - 0x10]
jmp 0x403877
push 0x426bdc
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x28]
call fcn.004043a0
add esp, 4
push dword [ebp - 0x18]
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.004043a0
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [esi - 0x10]
mov edx, dword [eax]
mov dword [ebp - 0x20], ecx
lea eax, [edx - 0x10]
mov dword [ebp - 0x1c], eax
cmp eax, ecx
je 0x403837
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x403828
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x403828
mov ecx, dword [ebp - 0x1c]
call fcn.00404ca0
mov dword [ebp - 0x1c], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x403820
mov esi, dword [ebp - 0x20]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
jmp 0x403837
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.00404bd0
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 4
mov ecx, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x403857
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov ecx, ebx
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x403877
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0
push 0x1000000
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4038d2
push dword [ebp - 0x38]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [ebp - 0x34]
call ebx
add esi, 0xfffffff0
mov byte [ebp - 4], 0
or ebx, 0xffffffff
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4038cb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x4038f9
add esi, 0xfffffff0
mov byte [ebp - 4], 0
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4038ef
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
call fcn.00403930
mov esi, eax
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x403917
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret