Function at 0x4013f0
Capabilities:
Get disk information
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49a1f8
push eax
mov dword fs:[0], esp
sub esp, 0xd44
cmp dword [0x8bded8], 0x5b1
push ebx
push esi
push edi
jne 0x4014a9
push 0
push 0
push 0
lea eax, [ebp - 0x14]
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]
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea eax, [ebp - 0x30]
call fcn.004017c0
push 0
push 0
mov dword [ebp - 4], 0
call fcn.00401a54
push 0
push 0
call fcn.00401a54
add esp, 0x10
call fcn.0040190e
call fcn.004013e0
push 0
call fcn.00401a6a
push 0
call fcn.00401a7a
add esp, 8
lea esi, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.004017e0
mov eax, dword [0x8bded8]
mov edx, dword [0x49ee70]
add eax, 0x1134b
push eax
push 0
mov dword [0x8bdedc], edx
mov dword [0x8bded8], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x8bce28], eax
call fcn.00401320
mov edi, dword [sym.imp.GDI32.dll_GetCharABCWidthsFloatA]
mov esi, 0x18ea14c
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push 0
call edi
sub esi, 1
jne 0x4014e2
cmp dword [0x8bded8], esi
jbe 0x401566
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ebx, dword [sym.imp.GDI32.dll_SetColorAdjustment]
jmp 0x401510
mov ecx, dword [0x8bdedc]
mov dl, byte [ecx + esi + 0x1134b]
mov eax, dword [0x8bce28]
mov byte [eax + esi], dl
cmp dword [0x8bded8], 0xa8
jne 0x40155d
push 0
lea ecx, [ebp - 0x10]
push ecx
call edi
push 0
push 0
call ebx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0xd50]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea ecx, [ebp - 0x150]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
inc esi
cmp esi, dword [0x8bded8]
jb 0x401510
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
xor eax, eax
mov dword [ebp - 0x10], eax
mov edx, dword [0x8bded8]
add edx, eax
cmp edx, 0xe
jne 0x4015ab
push 0
push 0
push str.mekorat
call esi
push 0
call edi
push 0
call ebx
push 0x49c410
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
mov eax, dword [ebp - 0x10]
inc eax
cmp eax, 0x39621
mov dword [ebp - 0x10], eax
jl 0x40157d
call fcn.00401260
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
call edi
cmp esi, 0x62
jne 0x4015cf
call fcn.00401300
inc esi
cmp esi, 0x674db
jl 0x4015c3
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
cmp dword [0x8bded8], 0x86
jne 0x401629
push 0
lea eax, [ebp - 0x550]
push eax
push str.Yic_domixenidafomo_yim_vorubosixotiwijini
call esi
push 0
push str.Dej_hocinavekupunodilihuru_xazaxupiwemonuj_yitoragaxijasop
push str.kifofohirunivunonasaf
call edi
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
sub dword [ebp - 0x10], 1
jne 0x4015f1
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