Function at 0x40c5f0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x435036
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x4451b0]
xor eax, esp
mov dword [esp + 0x350], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4451b0]
xor eax, esp
push eax
lea eax, [esp + 0x368]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
call fcn.004029c0
xor ebx, ebx
mov dword [esp + 0x370], ebx
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
jne 0x40c674
or ebp, 0xffffffff
mov dword [esp + 0x370], ebp
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x40c66a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x40c896
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x98]
push edx
push str.open
push str.http
push 1
push ebx
mov dword [esp + 0x30], 0x168
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
or ebp, 0xffffffff
test eax, eax
jl 0x40c850
xor eax, eax
mov word [esp + 0x7c], ax
lea eax, [esp + 0x94]
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40c6d0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x98]
push ecx
lea esi, [esp + 0x80]
call fcn.00405230
push 2
push 0x43b6c8
mov eax, esi
mov byte [esp + 0x378], 1
call fcn.0040d3b0
cmp eax, ebp
je 0x40c737
mov esi, dword [esp + 0x14]
mov ecx, esi
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x40c717
sub ecx, edi
sar ecx, 1
push ecx
push esi
push eax
lea esi, [esp + 0x84]
call fcn.0040d200
jmp 0x40c770
push 1
push 0x43a8cc
lea eax, [esp + 0x80]
call fcn.0040d5e0
mov edx, dword [esp + 0x14]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40c753
sub eax, esi
sar eax, 1
push eax
push edx
lea eax, [esp + 0x80]
call fcn.0040d5e0
mov ecx, 0x44
lea eax, [esp + 0x2c]
lea esp, [esp]
mov byte [eax], bl
inc eax
sub ecx, 1
jne 0x40c780
mov ecx, 0x10
lea eax, [esp + 0x1c]
mov byte [eax], bl
inc eax
sub ecx, 1
jne 0x40c791
mov eax, dword [esp + 0x7c]
mov edi, 8
mov dword [esp + 0x2c], 0x44
cmp dword [esp + 0x90], edi
jae 0x40c7b7
lea eax, [esp + 0x7c]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x30]
push ecx
push eax
call fcn.0040c500
add esp, 0xc
test eax, eax
je 0x40c821
mov edx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x20]
push eax
call esi
cmp dword [esp + 0x90], edi
jb 0x40c7f8
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.0041a784
add esp, 4
xor edx, edx
mov dword [esp + 0x370], ebp
mov eax, dword [esp + 0x14]
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], dx
jmp 0x40c651
cmp dword [esp + 0x90], edi
jb 0x40c837
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.0041a784
add esp, 4
xor edx, edx
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], dx
mov eax, dword [esp + 0x14]
push 0xa
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0x20
cmp ecx, eax
mov dword [esp + 0x370], ebp
mov eax, dword [esp + 0x14]
sbb esi, esi
add eax, 0xfffffff0
neg esi
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
test ebp, ebp
jg 0x40c894
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x368]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x350]
xor ecx, esp
call fcn.0041a78f
add esp, 0x360
ret