Function at 0x406730
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa890
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x5543c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x12c]
push 1
push 0x64
push 0
push str.http_shellopencommand
push accept
push eax
call fcn.004020f0
add esp, 0x18
push 0
push 0x52720c
lea ecx, [ebp - 0x12c]
mov dword [ebp - 4], 0
call fcn.00402670
mov edx, dword [ebp - 0x11c]
xorps xmm0, xmm0
mov edi, edx
mov dword [ebp - 0x178], 0
sub edi, eax
mov dword [ebp - 0x174], 0
lea ecx, [eax + 1]
dec edi
movups xmmword [ebp - 0x188], xmm0
cmp edx, ecx
jb 0x4069fe
sub edx, ecx
lea eax, [ebp - 0x12c]
cmp edx, edi
cmovb edi, edx
cmp dword [ebp - 0x118], 0x10
push edi
cmovae eax, dword [ebp - 0x12c]
add eax, ecx
lea ecx, [ebp - 0x188]
push eax
call fcn.00404480
lea ecx, [ebp - 0x12c]
call fcn.00403880
movups xmm0, xmmword [ebp - 0x188]
push 0
push 0x52720c
movups xmmword [ebp - 0x12c], xmm0
lea ecx, [ebp - 0x12c]
movq xmm0, qword [ebp - 0x178]
movq qword [ebp - 0x11c], xmm0
call fcn.00402670
mov edx, eax
mov dword [ebp - 0x194], 0
cmp dword [ebp - 0x11c], edx
lea ecx, [ebp - 0x12c]
xorps xmm0, xmm0
mov dword [ebp - 0x190], 0
cmovb edx, dword [ebp - 0x11c]
cmp dword [ebp - 0x118], 0x10
push edx
cmovae ecx, dword [ebp - 0x188]
push ecx
lea ecx, [ebp - 0x1a4]
movups xmmword [ebp - 0x1a4], xmm0
call fcn.00404480
lea ecx, [ebp - 0x12c]
call fcn.00403880
movups xmm1, xmmword [ebp - 0x1a4]
lea ecx, [ebp - 0x12c]
movq xmm0, qword [ebp - 0x194]
movq qword [ebp - 0x11c], xmm0
cmp dword [ebp - 0x118], 0x10
movd eax, xmm1
movups xmmword [ebp - 0x12c], xmm1
cmovae ecx, eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4068ec
push 1
push 0
push 0
push esi
push 0x527214
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
test eax, eax
je 0x4069ab
cmp eax, 0x20
ja 0x4069ab
xorps xmm0, xmm0
mov dword [ebp - 0x170], 0x44
push 0x104
lea eax, [ebp - 0x114]
movlpd qword [ebp - 0x16c], xmm0
push 0
push eax
movlpd qword [ebp - 0x164], xmm0
movlpd qword [ebp - 0x15c], xmm0
movlpd qword [ebp - 0x154], xmm0
movlpd qword [ebp - 0x14c], xmm0
movlpd qword [ebp - 0x144], xmm0
movlpd qword [ebp - 0x13c], xmm0
movlpd qword [ebp - 0x134], xmm0
movups xmmword [ebp - 0x180], xmm0
call fcn.004cf400
push esi
lea eax, [ebp - 0x114]
push str._C:Program_FilesInternet_Exploreriexplore.exe___s
push eax
call fcn.00404520
add esp, 0x18
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x170]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4069ab
push dword [ebp - 0x180]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x17c]
call esi
mov ecx, dword [ebp - 0x118]
cmp ecx, 0x10
jb 0x4069e1
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4069d7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406a03
push ecx
push edx
call fcn.004cd29e
add esp, 8
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.004cd2ac
mov esp, ebp
pop ebp
ret 4
call fcn.00402cc0
call fcn.004d2fbf
int3