Function at 0x403220
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41fd50
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 0x403267
push 0x80004005
call fcn.004012d0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.Progid
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.00403de0
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
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 0x4032d9
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 0x4032f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x4035a4
push 0x42693c
lea ecx, [ebp - 0x1c]
call fcn.00403de0
push str._shellopencommand
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.004043a0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
push ecx
lea ecx, [ebp - 0x1c]
mov edx, eax
push ecx
mov ecx, SysReAllocString
call fcn.00405630
mov byte [ebp - 4], 3
add esp, 0xc
mov esi, dword [ebp - 0x10]
mov edi, eax
add esi, 0xfffffff0
mov edx, ebx
lea ecx, [esi + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40335f
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 0x40337f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x4035a4
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 0x4033ba
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], 5
mov edi, dword [ebp - 0x14]
cmp dword [edi - 0xc], 0
jl 0x403466
push 0x426d64
push edi
call fcn.0040d52e
add esp, 8
test eax, eax
je 0x403466
sub eax, edi
sar eax, 1
js 0x403466
lea ecx, [edi - 0x10]
add esi, 0xfffffff0
cmp ecx, esi
je 0x40343b
cmp dword [esi + 0xc], 0
jl 0x40342f
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x40342f
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 0x403427
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 0x40343b
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 0x40345e
push esi
push 0x426d64
lea ecx, [ebp - 0x10]
call fcn.00403f80
mov esi, dword [ebp - 0x10]
jmp 0x40352d
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], 6
lea ecx, [ebp - 0x24]
call fcn.004043a0
add esp, 4
mov byte [ebp - 4], 7
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 0x4034ed
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x4034de
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4034de
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 0x4034d6
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 0x4034ed
push dword [edx - 0xc]
lea ecx, [ebp - 0x10]
push edx
call fcn.00404bd0
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 6
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 0x40350d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
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 0x40352d
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 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x403585
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 0x40357e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x4035b1
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 0x4035a7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4035a7
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
call fcn.004035f0
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 0x4035cf
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