Function at 0x408310
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426fec
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x4334c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x18]
xor ebx, ebx
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0xb0], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0xa8], ecx
lea ecx, [ebp - 0x58]
push eax
mov dword [ebp - 0xac], ebx
call fcn.00402750
push esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], ebx
call fcn.00402750
cmp dword [edi + 0x14], 0x10
mov eax, edi
mov byte [ebp - 4], 1
jb 0x408384
mov eax, dword [edi]
push 4
push str.open
push dword [edi + 0x10]
push eax
call fcn.004024d0
add esp, 0x10
test al, al
je 0x40843c
push 7
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push str.http:__
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040cf20
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
mov ebx, 1
lea ecx, [ebp - 0x58]
push eax
mov dword [ebp - 0xac], ebx
call fcn.00403d40
test al, al
jne 0x40842f
push 8
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x40]
push str.https:__
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0040cf20
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 3
mov ebx, 3
lea ecx, [ebp - 0x58]
push eax
mov dword [ebp - 0xac], ebx
call fcn.00403d40
test al, al
je 0x40843c
cmp dword [ebp - 0x60], 0
mov byte [ebp - 0xa1], 1
je 0x408443
mov byte [ebp - 0xa1], 0
mov dword [ebp - 4], 2
test bl, 2
je 0x408498
mov edx, dword [ebp - 0x2c]
and ebx, 0xfffffffd
cmp edx, 0x10
jb 0x408486
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40847c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408841
push edx
push ecx
call fcn.0040e748
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 1
test bl, 1
je 0x4084d8
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4084d8
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4084ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408841
push edx
push ecx
call fcn.0040e748
add esp, 8
cmp byte [ebp - 0xa1], 0
je 0x40861f
mov ecx, dword [ebp - 0x48]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 0x1c
jb 0x408846
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
push ecx
cmovae eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x88]
push eax
push 0x1c
push str.url.dll_FileProtocolHandler
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0xa8]
call fcn.004027e0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xa0]
call fcn.00402750
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x70]
call fcn.00403020
mov edx, dword [ebp - 0x8c]
cmp edx, 0x10
jb 0x408580
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408576
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40884b
push edx
push ecx
call fcn.0040e748
add esp, 8
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x4085bb
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4085b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40884b
push edx
push ecx
call fcn.0040e748
add esp, 8
push 0xc
push str.rundll32.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
call fcn.0040cf20
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.00403020
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40861f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408615
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40884b
push edx
push ecx
call fcn.0040e748
add esp, 8
cmp byte [ebp + 8], 0
je 0x40876c
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00405230
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00405230
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00405230
push dword [ebp - 0xb0]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
call fcn.00405230
mov esi, dword [ebp - 0xa8]
lea eax, [ebp - 0xa0]
add esp, 0x20
mov dword [ebp - 0xe4], 0
cmp dword [ebp - 0x8c], 8
xorps xmm0, xmm0
movlpd qword [ebp - 0xcc], xmm0
cmovae eax, dword [ebp - 0xa0]
cmp dword [ebp - 0x74], 8
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0xec]
push eax
movlpd qword [ebp - 0xc4], xmm0
movlpd qword [ebp - 0xbc], xmm0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xec], 0x3c
mov dword [ebp - 0xe8], 0x40
mov dword [ebp - 0xd0], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
mov eax, dword [ebp - 0xb4]
setne bl
test eax, eax
je 0x408744
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xb4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x28]
call fcn.004013e0
lea ecx, [ebp - 0x40]
call fcn.004013e0
lea ecx, [ebp - 0x88]
call fcn.004013e0
lea ecx, [ebp - 0xa0]
call fcn.004013e0
jmp 0x4087b1
mov eax, dword [ebp - 0xb0]
cmp dword [eax + 0x14], 0x10
jb 0x40877a
mov eax, dword [eax]
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebp - 0x70]
lea edx, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x70]
cmp dword [ebp - 0x44], 0x10
cmovae edx, dword [ebp - 0x58]
cmp dword [edi + 0x14], 0x10
jb 0x408798
mov edi, dword [edi]
mov esi, dword [ebp - 0xa8]
push esi
push eax
push ecx
push edx
push edi
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
setg bl
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x4087e1
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4087d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40884b
push edx
push ecx
call fcn.0040e748
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp edx, 0x10
jb 0x408823
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408819
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40884b
push edx
push ecx
call fcn.0040e748
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040e93b
mov esp, ebp
pop ebp
ret
call fcn.00411d1f
call fcn.004014b0
call fcn.00411d1f
int3