Function at 0x408210
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426afc
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x4334c0]
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.004027e0
push esi
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
call fcn.004027e0
cmp dword [edi + 0x14], 0xf
mov eax, edi
mov byte [ebp - 4], 1
jbe 0x40828d
mov eax, dword [edi]
push 4
push str.open
push dword [edi + 0x10]
push eax
call fcn.00402560
add esp, 0x10
test al, al
je 0x40834a
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.00401e80
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.00403da0
test al, al
jne 0x40833d
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.00401e80
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.00403da0
test al, al
je 0x40834a
cmp dword [ebp - 0x48], 0
mov byte [ebp - 0xa1], 1
je 0x408351
mov byte [ebp - 0xa1], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 4], 2
test al, 2
je 0x4083b7
mov ecx, dword [ebp - 0x5c]
and eax, 0xfffffffd
mov dword [ebp - 0xa8], eax
cmp ecx, 0xf
jbe 0x4083a5
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408395
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408773
push ecx
push edx
call fcn.0040e136
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 0x4083f6
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x4083f6
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4083ec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408773
push ecx
push edx
call fcn.0040e136
add esp, 8
cmp byte [ebp - 0xa1], 0
je 0x408546
mov ecx, dword [ebp - 0x18]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 0x1c
jb 0x408778
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.00402890
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xa0]
call fcn.004027e0
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x408489
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40847f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40877d
push ecx
push edx
call fcn.0040e136
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 0x4084dc
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4084d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40877d
push ecx
push edx
call fcn.0040e136
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.00401e80
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x408534
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40852a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40877d
push ecx
push edx
call fcn.0040e136
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 0x408697
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 0x40866f
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.00401500
lea ecx, [ebp - 0x70]
call fcn.00401500
lea ecx, [ebp - 0xa0]
call fcn.00401500
lea ecx, [ebp - 0x88]
call fcn.00401500
jmp 0x4086e0
mov eax, dword [ebp - 0xb4]
cmp dword [eax + 0x14], 0xf
jbe 0x4086a5
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 0x4086c3
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 0x408710
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408706
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40877d
push ecx
push edx
call fcn.0040e136
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 0x408752
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408748
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40877d
push ecx
push edx
call fcn.0040e136
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.0040e144
mov esp, ebp
pop ebp
ret
call fcn.0041154f
call fcn.004015d0
call fcn.0041154f
int3