Function at 0x40abe0
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e65e
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x43a660]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x298], esi
mov eax, 0x104
push esi
mov edi, 0xf
push 0x433179
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x2a4], ebx
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x240], esi
mov byte [ebp - 0x250], 0
call fcn.00401700
lea eax, [ebp - 0x294]
push eax
push esi
push closesocket
mov dword [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x40ad13
mov edx, dword [ebp - 0x294]
lea ecx, [ebp - 0x290]
push ecx
push 0xf003f
push esi
push str.http_shellopencommand
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40ad05
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x2a8]
push edx
mov edx, dword [ebp - 0x290]
push esi
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x218]
push ecx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea eax, [ebp - 0x114]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ace0
sub eax, edx
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x250]
call fcn.00401700
mov ecx, dword [ebp - 0x290]
push ecx
call edi
mov edx, dword [ebp - 0x294]
push edx
call edi
mov edi, 0xf
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], esi
mov byte [ebp - 0x234], 0
call fcn.00401610
push 1
lea ecx, [ebp - 0x28c]
push ecx
lea edx, [ebp - 0x234]
mov byte [ebp - 4], 2
push edx
xor eax, eax
mov byte [ebp - 0x28c], 0x22
call fcn.00401800
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x10], esi
mov byte [ebx], 0
mov dword [ebp - 0x298], 1
cmp eax, 0xffffffff
je 0x40ae0e
mov ecx, dword [ebp - 0x224]
push ecx
lea ecx, [eax + 1]
lea esi, [ebp - 0x26c]
lea edx, [ebp - 0x234]
call fcn.00401400
push 1
lea edx, [ebp - 0x28c]
push edx
mov eax, esi
push eax
mov byte [ebp - 4], 3
xor eax, eax
mov byte [ebp - 0x28c], 0x22
call fcn.00401800
push eax
xor ecx, ecx
lea esi, [ebp - 0x288]
lea edx, [ebp - 0x26c]
call fcn.00401400
mov edi, eax
mov esi, ebx
mov byte [ebp - 4], 4
call fcn.00401480
mov edi, 0x10
cmp dword [ebp - 0x274], edi
jb 0x40adef
mov ecx, dword [ebp - 0x288]
push ecx
call fcn.00419012
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x258], edi
jb 0x40ae0a
mov edx, dword [ebp - 0x26c]
push edx
call fcn.00419012
add esp, 4
xor esi, esi
jmp 0x40ae13
mov edi, 0x10
cmp dword [ebp - 0x224], esi
jne 0x40ae29
push 0x2f
push str.C:Program_FilesInternet_Exploreriexplore.exe
mov ecx, ebx
call fcn.00401700
cmp dword [ebx + 0x14], edi
jb 0x40ae32
mov eax, dword [ebx]
jmp 0x40ae34
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40ae44
test edi, eax
je 0x40ae52
push 0x2f
push str.C:Program_FilesInternet_Exploreriexplore.exe
mov ecx, ebx
call fcn.00401700
cmp dword [ebp - 0x220], edi
jb 0x40ae69
mov eax, dword [ebp - 0x234]
push eax
call fcn.00419012
add esp, 4
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], esi
mov byte [ebp - 0x234], 0
cmp dword [ebp - 0x23c], edi
jb 0x40ae97
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.00419012
add esp, 4
mov eax, ebx
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.0041891c
mov esp, ebp
pop ebp
ret