Function at 0x47bd30
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d2410
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x6385e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10], 0
push 0x25
lea eax, [ebp - 0xd4]
push eax
call fcn.004c0e70
add esp, 8
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x118], ecx
mov dword [ebp - 4], 0
push 0
push str.explorer.exe
mov ecx, dword [ebp - 0x118]
call fcn.004b3b40
push eax
mov ecx, dword [ebp + 8]
call fcn.004b4c90
mov byte [ebp - 0xc5], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd4]
call fcn.004b3860
movzx edx, byte [ebp - 0xc5]
test edx, edx
je 0x47bdd2
jmp 0x47c4fa
push 0x25
lea eax, [ebp - 0xe4]
push eax
call fcn.004c0e70
add esp, 8
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x120], ecx
mov dword [ebp - 4], 1
push 0
push str.driversetchosts
mov ecx, dword [ebp - 0x120]
call fcn.004b3b40
push eax
mov ecx, dword [ebp + 8]
call fcn.004b4c90
mov byte [ebp - 0xd5], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.004b3860
movzx edx, byte [ebp - 0xd5]
test edx, edx
je 0x47bf4f
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004b34d0
mov dword [ebp - 4], 2
push str._hitmanpro.bak
lea ecx, [ebp - 0x1c]
call fcn.004b3b40
push 1
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004bbfc0
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x47be7c
jmp 0x47bf3b
mov ecx, dword [ebp + 8]
push ecx
call fcn.004bc0c0
add esp, 4
movzx edx, al
test edx, edx
jne 0x47be94
jmp 0x47bf3b
push str.Resetting_host_file_r_n
call fcn.0054d5e0
add esp, 4
mov eax, dword [ebp + 8]
push eax
call fcn.004bbff0
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x47bebb
jmp 0x47bf3b
push str.127.0.0.1_localhost
lea ecx, [ebp - 0x30]
call fcn.004c7d10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.004553f0
push eax
lea ecx, [ebp - 0x30]
call fcn.00404b70
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x20]
mov eax, dword [edx + 0x24]
call eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xec], ecx
mov edx, dword [ebp - 0xec]
mov dword [ebp - 0xe8], edx
cmp dword [ebp - 0xe8], 0
je 0x47bf25
push 1
mov eax, dword [ebp - 0xe8]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xe8]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x124], eax
jmp 0x47bf2f
mov dword [ebp - 0x124], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.004c7cf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004b3860
jmp 0x47c4fa
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x47bfaa
mov edx, dword [ebp - 0x110]
mov byte [edx + 6], 1
mov eax, dword [ebp - 0x110]
mov byte [eax + 8], 1
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x110]
call fcn.0047d8a0
mov byte [ebp - 0x31], al
movzx edx, byte [ebp - 0x31]
push edx
push str.replace_MZ_with_SR::_d_r_n
call fcn.0054d5e0
add esp, 8
mov dword [ebp - 0x10], 2
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x110]
call fcn.004798c0
jmp 0x47c4fa
mov ecx, dword [ebp + 8]
call fcn.004553f0
push eax
push str.Deleting:__s_r_n
call fcn.0054eca8
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
call fcn.004bc0c0
add esp, 4
movzx edx, al
test edx, edx
je 0x47bfec
push str.__DELETED_r_n
call fcn.0054eca8
add esp, 4
mov dword [ebp - 0x10], 1
jmp 0x47c0a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
push str.__FAILED__error__d__r_n
call fcn.0054eca8
add esp, 8
cmp dword [ebp - 0x38], 5
jne 0x47c0a7
mov ecx, dword [ebp + 8]
push ecx
call fcn.0047e850
add esp, 4
mov ecx, dword [ebp + 8]
call fcn.004553f0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
je 0x47c093
mov edx, dword [ebp - 0x3c]
and edx, 0xfffffffe
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004553f0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x47c06a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.__SetFileAttributesW_failed__error__d__r_n
call fcn.0054eca8
add esp, 8
jmp 0x47c091
mov ecx, dword [ebp + 8]
push ecx
call fcn.004bc0c0
add esp, 4
movzx edx, al
test edx, edx
je 0x47c091
push str.__DELETED_r_n
call fcn.0054eca8
add esp, 4
mov dword [ebp - 0x10], 1
jmp 0x47c0a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.__GetFileAttributesW_failed__error__d__r_n
call fcn.0054eca8
add esp, 8
mov eax, dword [ebp - 0x110]
movzx ecx, byte [eax + 4]
test ecx, ecx
jne 0x47c413
cmp dword [ebp - 0x10], 1
je 0x47c413
mov edx, dword [ebp - 0x110]
movzx eax, byte [edx + 9]
test eax, eax
je 0x47c118
mov ecx, dword [ebp - 0x110]
mov byte [ecx + 8], 1
push str.__ReplaceMZwithSR:
call fcn.0054eca8
add esp, 4
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x110]
call fcn.0047d8a0
mov byte [ebp - 0x3d], al
movzx eax, byte [ebp - 0x3d]
push eax
push str._d_r_n
call fcn.0054eca8
add esp, 8
mov dword [ebp - 0x10], 2
jmp 0x47c413
push str.AutoRestartShell
lea ecx, [ebp - 0x4c]
call fcn.004b3550
mov dword [ebp - 4], 4
push str.HKLMSOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
lea ecx, [ebp - 0x5c]
call fcn.004b3550
mov byte [ebp - 4], 5
push 1
lea ecx, [ebp - 0x5c]
push ecx
call fcn.00414b70
add esp, 8
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x47c3f8
mov edx, dword [ebp - 0x110]
add edx, 0xc
push edx
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.00478850
push 0
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x50]
call fcn.00478a80
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0xf4], edx
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0
je 0x47c1b6
push 1
mov ecx, dword [ebp - 0xf0]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xf0]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x128], eax
jmp 0x47c1c0
mov dword [ebp - 0x128], 0
lea ecx, [ebp - 0x70]
call fcn.0047f460
mov byte [ebp - 4], 6
push 0x5fefa8
lea ecx, [ebp - 0x100]
call fcn.004b3550
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x100]
push edx
call fcn.00479cb0
add esp, 8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x100]
call fcn.004b3860
lea ecx, [ebp - 0x6c]
call fcn.004c3bf0
test eax, eax
jle 0x47c29e
lea ecx, [ebp - 0x70]
call fcn.0047f5c0
push eax
lea ecx, [ebp - 0x90]
call fcn.0047f610
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x90]
call fcn.004b9730
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x12c]
mov eax, dword [edx]
call eax
movzx ecx, al
test ecx, ecx
je 0x47c28f
lea ecx, [ebp - 0x90]
call fcn.004b9730
mov dword [ebp - 0x130], eax
mov edx, dword [ebp - 0x130]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x130]
mov edx, dword [eax + 8]
call edx
mov eax, dword [eax]
push eax
call fcn.0047d6c0
add esp, 4
mov ecx, dword [ebp - 0x110]
mov byte [ecx + 9], 1
jmp 0x47c22a
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x90]
call fcn.0047f650
lea ecx, [ebp - 0x84]
call fcn.0047f460
mov byte [ebp - 4], 9
push str.iexplorer.exe
lea ecx, [ebp - 0x10c]
call fcn.004b3550
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x10c]
push eax
call fcn.00479cb0
add esp, 8
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x10c]
call fcn.004b3860
lea ecx, [ebp - 0x80]
call fcn.004c3bf0
test eax, eax
jle 0x47c37b
lea ecx, [ebp - 0x84]
call fcn.0047f5c0
push eax
lea ecx, [ebp - 0x9c]
call fcn.0047f610
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x9c]
call fcn.004b9730
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x134]
mov eax, dword [edx]
call eax
movzx ecx, al
test ecx, ecx
je 0x47c36c
lea ecx, [ebp - 0x9c]
call fcn.004b9730
mov dword [ebp - 0x138], eax
mov edx, dword [ebp - 0x138]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x138]
mov edx, dword [eax + 8]
call edx
mov eax, dword [eax]
push eax
call fcn.0047d6c0
add esp, 4
jmp 0x47c311
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x9c]
call fcn.0047f650
push 0xd05
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 8]
push ecx
call fcn.004bc0c0
add esp, 4
movzx edx, al
test edx, edx
jne 0x47c3d6
mov eax, dword [ebp - 0x110]
mov byte [eax + 8], 1
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x110]
call fcn.0047d8a0
mov byte [ebp - 0x9d], al
movzx edx, byte [ebp - 0x9d]
push edx
push str.replace_MZ_with_SR::_d_r_n
call fcn.0054d5e0
add esp, 8
mov dword [ebp - 0x10], 2
jmp 0x47c3dd
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x84]
call fcn.0047f4c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.0047f4c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.004b3860
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.004b3860
mov eax, dword [ebp - 0x110]
movzx ecx, byte [eax + 4]
test ecx, ecx
jne 0x47c4fa
mov edx, dword [ebp - 0x110]
mov byte [edx + 6], 1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x110]
call fcn.004798c0
mov dword [ebp - 0xc0], 0x6054b4
mov dword [ebp - 0xbc], 0x6054bc
mov dword [ebp - 0xb8], str.jpeg
mov dword [ebp - 0xb4], 0x6054d0
mov dword [ebp - 0xb0], str.html
push 0x2e
mov ecx, dword [ebp + 8]
call fcn.004b5770
add eax, 1
push eax
lea ecx, [ebp - 0xac]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004b64e0
mov dword [ebp - 4], 0xc
mov dword [ebp - 0xc4], 0
jmp 0x47c4af
mov edx, dword [ebp - 0xc4]
add edx, 1
mov dword [ebp - 0xc4], edx
cmp dword [ebp - 0xc4], 5
jae 0x47c4e8
push 0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp + eax*4 - 0xc0]
push ecx
lea ecx, [ebp - 0xac]
call fcn.004b4b20
movzx edx, al
test edx, edx
je 0x47c4e6
mov eax, dword [ebp - 0x110]
mov byte [eax + 5], 1
jmp 0x47c4e8
jmp 0x47c4a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.004b3860
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8