Function at 0x4047a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4544e2
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x46ebd0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x10], edi
push 7
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 4], edi
call fcn.00404c80
mov byte [ebp - 4], 1
mov eax, dword [eax]
mov esi, 1
mov dword [ebp - 0x10], esi
mov ecx, str.http:__
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x404817
cmp dx, di
je 0x404813
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x404817
add eax, 4
add ecx, 4
cmp dx, di
jne 0x4047f1
xor eax, eax
jmp 0x40481c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x404873
push 8
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp + 8]
call fcn.00404c80
mov eax, dword [eax]
mov dword [ebp - 0x10], 3
mov ecx, str.https:__
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x404866
cmp dx, di
je 0x404862
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x404866
add eax, 4
add ecx, 4
cmp dx, di
jne 0x404840
xor eax, eax
jmp 0x40486b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x404873
xor bl, bl
jmp 0x404875
mov bl, 1
mov dword [ebp - 4], esi
test byte [ebp - 0x10], 2
je 0x4048a1
mov eax, dword [ebp - 0x18]
and dword [ebp - 0x10], 0xfffffffd
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4048a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], edi
test byte [ebp - 0x10], 1
je 0x4048c9
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4048c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x404aa0
mov ecx, dword [ebp + 8]
push esi
push edi
push edi
push ecx
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
cmp esi, 0x21
jge 0x404aa0
call fcn.0041b710
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x404909
push 0x80004005
call fcn.00401be0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
call fcn.0041b710
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x404936
push 0x80004005
call fcn.00401be0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
push esi
lea ecx, [ebp - 0x10]
push str.Shell_error_code__d
push ecx
mov byte [ebp - 4], 4
call fcn.004041e0
add esp, 8
lea edx, [ebp - 0x10]
mov dword [ebp - 0x18], esp
mov ecx, esp
push edx
lea edi, [ebp - 0x14]
call fcn.00403e90
push ecx
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.ShellError
call fcn.00404600
mov esi, dword [ebp + 0xc]
lea eax, [esi + 0x58]
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
jb 0x404992
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.00404600
push esi
mov byte [ebp - 4], 4
call fcn.004109c0
add esp, 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
call fcn.00403e90
call fcn.00411710
add esp, 4
call fcn.0041b710
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4049db
push 0x80004005
call fcn.00401be0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.00408710
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404a20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404a43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404a66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404a8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404ac6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret