Function at 0x408240
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426a2c
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x433500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0xb4], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0xac], ecx
xor ecx, ecx
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xb0], ecx
lea ecx, [ebp - 0x28]
push eax
call fcn.004027c0
push esi
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
call fcn.004027c0
cmp dword [edi + 0x14], 0xf
mov eax, edi
mov byte [ebp - 4], 1
jbe 0x4082bd
mov eax, dword [edi]
push 4
push str.open
push dword [edi + 0x10]
push eax
call fcn.00402540
add esp, 0x10
test al, al
je 0x40837a
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.http:__
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
call fcn.00401e60
mov ecx, 1
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xb0], ecx
lea ecx, [ebp - 0x28]
push eax
call fcn.00403d90
test al, al
jne 0x40836d
push 8
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
push str.https:__
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0
movups xmmword [ebp - 0x70], xmm0
call fcn.00401e60
mov ecx, 3
mov dword [ebp - 4], 3
lea eax, [ebp - 0x70]
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xb0], ecx
lea ecx, [ebp - 0x28]
push eax
call fcn.00403d90
test al, al
je 0x40837a
cmp dword [ebp - 0x48], 0
mov byte [ebp - 0xa1], 1
je 0x408381
mov byte [ebp - 0xa1], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 4], 2
test al, 2
je 0x4083e7
mov ecx, dword [ebp - 0x5c]
and eax, 0xfffffffd
mov dword [ebp - 0xa8], eax
cmp ecx, 0xf
jbe 0x4083d5
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4083c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4087a3
push ecx
push edx
call fcn.0040e10c
mov eax, dword [ebp - 0xa8]
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov dword [ebp - 4], 1
test al, 1
je 0x408426
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x408426
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40841c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4087a3
push ecx
push edx
call fcn.0040e10c
add esp, 8
cmp byte [ebp - 0xa1], 0
je 0x408576
mov ecx, dword [ebp - 0x18]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 0x1c
jb 0x4087a8
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push ecx
cmova eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x88]
push eax
push 0x1c
push str.url.dll_FileProtocolHandler
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0xac]
call fcn.00402870
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xa0]
call fcn.004027c0
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x4084b9
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4084af
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4087ad
push ecx
push edx
call fcn.0040e10c
add esp, 8
movups xmm0, xmmword [ebp - 0xa0]
mov ecx, dword [ebp - 0x74]
mov byte [ebp - 4], 1
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [ebp - 0x90]
movq qword [ebp - 0x48], xmm0
cmp ecx, 0xf
jbe 0x40850c
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408502
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4087ad
push ecx
push edx
call fcn.0040e10c
add esp, 8
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.rundll32.exe
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
call fcn.00401e60
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x408564
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40855a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4087ad
push ecx
push edx
call fcn.0040e10c
add esp, 8
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x18], xmm0
cmp byte [ebp + 8], 0
je 0x4086c7
lea eax, [ebp - 0x88]
push edi
push eax
call fcn.004051c0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.004051c0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004051c0
push dword [ebp - 0xb4]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 7
push eax
call fcn.004051c0
mov esi, dword [ebp - 0xac]
lea eax, [ebp - 0x88]
add esp, 0x20
mov dword [ebp - 0xe8], 0
cmp dword [ebp - 0x74], 7
xorps xmm0, xmm0
movlpd qword [ebp - 0xd0], xmm0
cmova eax, dword [ebp - 0x88]
cmp dword [ebp - 0x8c], 7
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0xa0]
cmova eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x5c], 7
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0x70]
cmova eax, dword [ebp - 0x70]
cmp dword [ebp - 0x2c], 7
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0xf0]
push eax
movlpd qword [ebp - 0xc8], xmm0
movlpd qword [ebp - 0xc0], xmm0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xf0], 0x3c
mov dword [ebp - 0xec], 0x40
mov dword [ebp - 0xd4], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
mov eax, dword [ebp - 0xb8]
setne byte [ebp - 0xa1]
test eax, eax
je 0x40869f
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xb8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x40]
call fcn.004014e0
lea ecx, [ebp - 0x70]
call fcn.004014e0
lea ecx, [ebp - 0xa0]
call fcn.004014e0
lea ecx, [ebp - 0x88]
call fcn.004014e0
jmp 0x408710
mov eax, dword [ebp - 0xb4]
cmp dword [eax + 0x14], 0xf
jbe 0x4086d5
mov eax, dword [eax]
cmp dword [ebp - 0x44], 0xf
lea ecx, [ebp - 0x58]
lea edx, [ebp - 0x28]
cmova ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x14], 0xf
cmova edx, dword [ebp - 0x28]
cmp dword [edi + 0x14], 0xf
jbe 0x4086f3
mov edi, dword [edi]
mov esi, dword [ebp - 0xac]
push esi
push eax
push ecx
push edx
push edi
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
setg byte [ebp - 0xa1]
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x408740
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408736
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4087ad
push ecx
push edx
call fcn.0040e10c
add esp, 8
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp ecx, 0xf
jbe 0x408782
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408778
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4087ad
push ecx
push edx
call fcn.0040e10c
add esp, 8
mov al, byte [ebp - 0xa1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040e11a
mov esp, ebp
pop ebp
ret
call fcn.0041166f
call fcn.004015b0
call fcn.0041166f
int3