Function at 0x40bb3e
Capabilities:
Get hostname
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1468
call fcn.0040a730
mov eax, dword [0x459008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1bd3fd4]
push esi
xor esi, esi
xor ecx, ecx
cmp ecx, 0x180
jne 0x40bb71
mov eax, dword [0x45cbf4]
add eax, 0xa231
cmp eax, 0x141
jne 0x40bb89
or dword [0x45db04], 0xffffffff
mov dword [0x45db00], 0xec58acac
inc ecx
cmp ecx, 0x12376ec
jl 0x40bb5f
push edi
mov dword [0x1bd3fd4], eax
xor edi, edi
cmp edi, 0x562d05
jne 0x40bbae
mov ecx, dword [0x459fe8]
mov dword [0x1bd3fd8], ecx
cmp eax, 0x3c
jne 0x40bbc1
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov eax, dword [0x1bd3fd4]
inc edi
cmp edi, 0x5f6c74
jl 0x40bb9a
push ebx
mov ebx, 0x45da78
cmp eax, 0x7c
jne 0x40bc80
lea eax, [ebp - 0x1458]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteAtom]
xor eax, eax
mov word [ebp - 0x1450], ax
lea edi, [ebp - 0x144e]
stosw word es:[edi], ax
mov word [ebp - 0x144c], ax
lea edi, [ebp - 0x144a]
stosw word es:[edi], ax
lea eax, [ebp - 0x1460]
push eax
push dword [ebp - 0x144c]
lea eax, [ebp - 0x1454]
push dword [ebp - 0x1450]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
push esi
lea eax, [ebp - 0x1004]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push str.capikacahonudadaxe_manuheliso__s__d__f
push esi
call fcn.004013de
push 0x457e43
push ebx
call fcn.0040101b
push esi
call fcn.004014c0
mov eax, dword [0x1bd3fd4]
add esp, 0x14
cmp eax, 0x110a
jne 0x40bda3
push esi
mov dword [0x1bd3ea0], esi
mov dword [0x1bd3ea4], esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
lea eax, [ebp - 0x144c]
push eax
push esi
push str.hahupiyizewisetahozi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetStringTypeExA]
lea eax, [ebp - 0x1454]
push eax
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
xor eax, eax
mov word [ebp - 0x1468], ax
lea edi, [ebp - 0x1466]
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 - 0x804]
push eax
push str.silagek_bisehakuhirabadacoye
lea eax, [ebp - 0x1468]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push esi
push esi
push esi
lea eax, [ebp - 0x1404]
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_FormatMessageA]
fld qword [0x457ea0]
push 0x50
push ecx
push ecx
fstp qword [esp]
push 0x457e7c
push str._s__f__c
call fcn.004013fb
push esi
push esi
call fcn.00401318
push 7
pop edi
xor eax, eax
push esi
push esi
mov dword [ebp - 0x1408], edi
mov dword [ebp - 0x140c], esi
mov word [ebp - 0x141c], ax
call fcn.00401318
xor eax, eax
push esi
push esi
mov dword [ebp - 0x1424], edi
mov dword [ebp - 0x1428], esi
mov word [ebp - 0x1438], ax
call fcn.004014d6
push esi
call fcn.004012c4
push esi
push esi
call fcn.004014d6
push 0x457e8c
push ebx
call fcn.004013de
add esp, 0x40
push esi
call fcn.00401991
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
xor edi, edi
mov dword [0x1bd3cf4], eax
pop ebx
cmp dword [0x1bd3fd4], esi
jbe 0x40be08
mov eax, dword [0x1bd3fd8]
mov dword [ebp - 0x144c], eax
mov eax, 0xa231
add dword [ebp - 0x144c], eax
mov eax, dword [ebp - 0x144c]
mov al, byte [eax + edi]
mov ecx, dword [0x1bd3cf4]
mov byte [ecx + edi], al
cmp dword [0x1bd3fd4], 0x5ab
jne 0x40bdff
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov dword [0x1bd3cf8], 0x19b0
inc edi
cmp edi, dword [0x1bd3fd4]
jb 0x40bdbb
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.0040b86d
call fcn.0040b84f
call fcn.0040bacd
xor eax, eax
cmp eax, 0xd606b
jne 0x40be30
call fcn.0040b844
inc eax
cmp eax, 0x24e87d
jl 0x40be24
mov edi, 0x1e4165
cmp dword [0x1bd3fd4], 0xcc1
jne 0x40be52
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
cmp dword [0x1bd3fd4], 0x7c4
mov dword [0x1bd3cfc], 0x8e46a6f0
jne 0x40be71
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
dec edi
jne 0x40be3d
pop edi
cmp esi, 0x408e
jle 0x40be89
cmp dword [ebp - 0x1440], 0xf5bed7
jne 0x40be92
inc esi
cmp esi, 0x687ed2
jl 0x40be75
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040100c
leave
ret