Function at 0x40b7ab
Capabilities:
Get file attributes
Get hostname
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x184c
call fcn.0040a430
mov eax, dword [0x43e008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1bb8cb4]
push esi
xor esi, esi
xor ecx, ecx
cmp ecx, 0x180
jne 0x40b7de
mov eax, dword [0x441bf4]
add eax, 0xa231
cmp eax, 0x141
jne 0x40b7f6
or dword [0x4427e4], 0xffffffff
mov dword [0x4427e0], 0xec58acac
inc ecx
cmp ecx, 0x12376ec
jl 0x40b7cc
push edi
mov dword [0x1bb8cb4], eax
xor edi, edi
cmp edi, 0x562d05
jne 0x40b81b
mov ecx, dword [0x43efe8]
mov dword [0x1bb8cb8], ecx
cmp eax, 0x3c
jne 0x40b82e
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov eax, dword [0x1bb8cb4]
inc edi
cmp edi, 0x5f6c74
jl 0x40b807
push ebx
mov ebx, 0x442758
cmp eax, 0x7c
jne 0x40b8e1
lea eax, [ebp - 0x184c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
xor eax, eax
mov word [ebp - 0x1838], ax
lea edi, [ebp - 0x1836]
stosw word es:[edi], ax
mov word [ebp - 0x1830], ax
lea edi, [ebp - 0x182e]
stosw word es:[edi], ax
lea eax, [ebp - 0x1840]
push eax
push dword [ebp - 0x1830]
lea eax, [ebp - 0x1834]
push dword [ebp - 0x1838]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputW]
push esi
call dword [sym.imp.KERNEL32.dll_FindVolumeMountPointClose]
push esi
lea eax, [ebp - 0x404]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push esi
call dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
push 0x43ca5a
push ebx
call fcn.0040100f
push esi
call fcn.004014c8
mov eax, dword [0x1bb8cb4]
add esp, 0xc
cmp eax, 0x110a
jne 0x40b9d5
lea eax, [ebp - 0x1830]
push eax
push esi
push str.gehidudujuzevumaraxixabizakinixovozesozoyakesovilugayuyoyopobedoloxujazafezucuficapizitedofucocasibaw
push esi
push esi
mov dword [0x1bb8b80], esi
mov dword [0x1bb8b84], esi
call dword [sym.imp.KERNEL32.dll_GetStringTypeExW]
lea eax, [ebp - 0x1834]
push eax
lea eax, [ebp - 0x1404]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
xor eax, eax
mov word [ebp - 0x1848], ax
lea edi, [ebp - 0x1846]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
lea eax, [ebp - 0x404]
push eax
push str.riputuliriv_vuromelehicareperewogigolemoxit
lea eax, [ebp - 0x1848]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push str.popericezanariteyohezakig
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
push esi
push esi
lea eax, [ebp - 0x1804]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CompareStringA]
push esi
push esi
lea eax, [ebp - 0xc04]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push esi
call fcn.0040135b
push esi
call fcn.0040135b
xor eax, eax
push esi
mov dword [ebp - 0x1808], 7
mov dword [ebp - 0x180c], esi
mov word [ebp - 0x181c], ax
call fcn.0040135b
push esi
call fcn.004012b8
push esi
push esi
call fcn.004014de
push 0x43cb74
push ebx
call fcn.004014ab
add esp, 0x20
push esi
call fcn.00401999
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
xor edi, edi
mov dword [0x1bb89d4], eax
pop ebx
cmp dword [0x1bb8cb4], esi
jbe 0x40ba42
mov eax, dword [0x1bb8cb8]
mov dword [ebp - 0x1830], eax
mov eax, 0xa231
add dword [ebp - 0x1830], eax
mov eax, dword [ebp - 0x1830]
mov al, byte [eax + edi]
mov ecx, dword [0x1bb89d4]
mov byte [ecx + edi], al
cmp dword [0x1bb8cb4], 0x5ab
jne 0x40ba39
push esi
push dword [ebp - 0x1834]
push esi
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
mov dword [0x1bb89d8], 0x19b0
inc edi
cmp edi, dword [0x1bb8cb4]
jb 0x40b9ed
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.0040b54d
call fcn.0040b52f
call fcn.0040b72c
xor eax, eax
cmp eax, 0xd606b
jne 0x40ba6a
call fcn.0040b524
inc eax
cmp eax, 0x24e87d
jl 0x40ba5e
mov edi, 0x1e4165
cmp dword [0x1bb8cb4], 0xcc1
jne 0x40ba8c
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
cmp dword [0x1bb8cb4], 0x7c4
mov dword [0x1bb89dc], 0x8e46a6f0
jne 0x40baab
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
dec edi
jne 0x40ba77
pop edi
cmp esi, 0x408e
jle 0x40bac3
cmp dword [ebp - 0x1824], 0xf5bed7
jne 0x40bacc
inc esi
cmp esi, 0x687ed2
jl 0x40baaf
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401000
leave
ret