Function at 0x40db92
Capabilities:
Get hostname
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1468
call fcn.0040c8c0
mov eax, dword [0x436090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
xor eax, eax
cmp eax, 0x180
jne 0x40dbc7
mov ecx, dword [0x439cc4]
add ecx, 0xa231
mov dword [0x1bb1124], ecx
cmp dword [0x1bb1124], 0x141
jne 0x40dbe4
or dword [0x43ac54], 0xffffffff
mov dword [0x43ac50], 0xec58acac
inc eax
cmp eax, 0x12376ec
jl 0x40dbae
push esi
xor esi, esi
cmp esi, 0x562d05
jne 0x40dc01
mov eax, dword [0x4370b8]
mov dword [0x1bb1128], eax
cmp dword [0x1bb1124], 0x3c
jne 0x40dc13
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
inc esi
cmp esi, 0x5f6c74
jl 0x40dbef
cmp dword [0x1bb1124], 0x7c
push edi
jne 0x40dcd7
lea eax, [ebp - 0x1458]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push ebx
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 ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointA]
push ebx
lea eax, [ebp - 0x1004]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push str.capikacahonudadaxe_manuheliso__s__d__f
push ebx
call fcn.0040212b
push 0x43492b
push 0x43abc8
call fcn.00401b2d
push ebx
call fcn.004022c9
add esp, 0x14
cmp dword [0x1bb1124], 0x110a
jne 0x40de4b
push ebx
mov dword [0x1bb0ff0], ebx
mov dword [0x1bb0ff4], ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push ebx
call dword [sym.imp.KERNEL32.dll_SetTimeZoneInformation]
lea eax, [ebp - 0x144c]
push eax
push ebx
push str.hahupiyizewisetahozi
push ebx
push ebx
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 ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
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 ebx
stosw word es:[edi], ax
lea eax, [ebp - 0x804]
push eax
push str.silagek_bisehakuhirabadacoye
lea eax, [ebp - 0x1468]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1404]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CompareStringA]
push ebx
push ebx
lea eax, [ebp - 0xc04]
push eax
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_PurgeComm]
fld qword [0x434998]
push 0x50
push ecx
push ecx
fstp qword [esp]
push 0x434964
push str._s__f__c
call fcn.00402148
push ebx
push ebx
call fcn.00401f4c
add esp, 0x1c
push 7
pop edi
xor eax, eax
push 1
lea esi, [ebp - 0x1420]
mov dword [ebp - 0x1408], edi
mov dword [ebp - 0x140c], ebx
mov word [ebp - 0x141c], ax
call fcn.00401091
push ebx
push ebx
call fcn.00401f4c
xor eax, eax
push ebx
push ebx
mov dword [ebp - 0x1424], edi
mov dword [ebp - 0x1428], ebx
mov word [ebp - 0x1438], ax
call fcn.004022df
push ebx
push ebx
call fcn.00401f4c
push ebx
call fcn.00401fdb
push ebx
call fcn.00401dd6
push ebx
push ebx
call fcn.004022df
push 0x434978
push 0x43abc8
call fcn.0040212b
push ebx
call fcn.00402295
add esp, 0x34
push 1
xor ebx, ebx
lea esi, [ebp - 0x143c]
call fcn.0040104c
push 1
lea esi, [ebp - 0x1420]
call fcn.0040104c
push dword [0x1bb1124]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
xor esi, esi
mov dword [0x1bb0e44], eax
pop edi
cmp dword [0x1bb1124], ebx
jbe 0x40deb5
mov eax, dword [0x1bb1128]
mov dword [ebp - 0x144c], eax
mov eax, 0xa231
add dword [ebp - 0x144c], eax
mov eax, dword [ebp - 0x144c]
mov al, byte [eax + esi]
mov ecx, dword [0x1bb0e44]
mov byte [ecx + esi], al
cmp dword [0x1bb1124], 0x5ab
jne 0x40deac
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov dword [0x1bb0e48], 0x19b0
inc esi
cmp esi, dword [0x1bb1124]
jb 0x40de68
push 0x43497c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call fcn.0040d8bd
call fcn.0040d89f
call fcn.0040db1e
xor eax, eax
cmp eax, 0xd606b
jne 0x40dedd
call fcn.0040d894
inc eax
cmp eax, 0x24e87d
jl 0x40ded1
mov esi, 0x1e4165
cmp dword [0x1bb1124], 0xcc1
jne 0x40deff
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
cmp dword [0x1bb1124], 0x7c4
mov dword [0x1bb0e4c], 0x8e46a6f0
jne 0x40df1e
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
dec esi
jne 0x40deea
pop esi
cmp ebx, 0x408e
jle 0x40df36
cmp dword [ebp - 0x1440], 0xf5bed7
jne 0x40df3f
inc ebx
cmp ebx, 0x687ed2
jl 0x40df22
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00401ac1
leave
ret