Function at 0x401630
Capabilities:
Get disk information
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x426018
push eax
mov eax, 0x1180
mov dword fs:[0], esp
call fcn.0040cb10
cmp dword [0x84b660], 0x5b1
push ebx
push esi
push edi
jne 0x40170d
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BackupRead]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TransmitCommChar]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeA]
push 0
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea esi, [ebp - 0x30]
call fcn.00401cc0
push 0
push 0
mov dword [ebp - 4], 0
call fcn.00403c1b
push 0
push 0
call fcn.00403c1b
add esp, 0x10
call fcn.0040378a
call fcn.00401620
push 0
call fcn.00403cff
add esp, 4
push 0
call fcn.00403d0f
mov dword [esp], 0
call fcn.00401260
fstp st(0)
lea edx, [ebp - 0x78]
push edx
call fcn.00401d10
lea ecx, [ebp - 0x78]
call fcn.00401d60
mov eax, esi
mov dword [ebp - 4], 0xffffffff
call fcn.00401cf0
mov eax, dword [0x42c4a0]
mov dword [0x84b664], eax
mov eax, dword [0x84b660]
add eax, 0x1134b
push eax
push 0
mov dword [0x84b660], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x84a5b0], eax
call fcn.00401560
mov edi, dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
xor esi, esi
cmp esi, 0x2710
jge 0x401754
lea ecx, [ebp - 0x58c]
push ecx
push 0
call edi
inc esi
cmp esi, 0x18ea14c
jl 0x401741
xor esi, esi
cmp dword [0x84b660], esi
jbe 0x4017ca
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ebx, dword [sym.imp.GDI32.dll_SetColorAdjustment]
mov edx, dword [0x84b664]
mov al, byte [edx + esi + 0x1134b]
mov ecx, dword [0x84a5b0]
mov byte [ecx + esi], al
cmp dword [0x84b660], 0xa8
jne 0x4017c1
push 0
lea edx, [ebp - 0x10]
push edx
call edi
push 0
push 0
call ebx
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x118c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea edx, [ebp - 0x18c]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
inc esi
cmp esi, dword [0x84b660]
jb 0x401773
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
xor eax, eax
mov dword [ebp - 0x10], eax
mov ecx, dword [0x84b660]
add ecx, eax
cmp ecx, 0xe
jne 0x40180f
push 0
push 0
push str.negodefivezefulisaw
call esi
push 0
call edi
push 0
call ebx
push 0x428d64
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
mov eax, dword [ebp - 0x10]
inc eax
cmp eax, 0x39621
mov dword [ebp - 0x10], eax
jl 0x4017e1
call fcn.00401490
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
call edi
cmp esi, 0x62
jne 0x401833
call fcn.00401540
inc esi
cmp esi, 0x674db
jl 0x401827
mov esi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalFlags]
mov dword [ebp - 0x10], 0x7b
jmp 0x401860
cmp dword [0x84b660], 0x86
jne 0x401898
push 0
lea edx, [ebp - 0x98c]
push edx
push str.Yic_tifimo_yim_navoho
call esi
push 0
push str.Dej_cevufahipiwe_caximijud_letuvewug
push str.Werapa
call edi
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
sub dword [ebp - 0x10], 1
jne 0x401860
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret