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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1060
call fcn.0040aea0
mov eax, dword [0x4a9090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
xor eax, eax
cmp eax, 0x180
jne 0x40bd66
mov ecx, dword [0x4ac7c4]
add ecx, 0xa231
mov dword [0x1ff4004], ecx
cmp dword [0x1ff4004], 0x141
jne 0x40bd83
or dword [0x4ad35c], 0xffffffff
mov dword [0x4ad358], 0xec58acac
inc eax
cmp eax, 0x12376ec
jl 0x40bd4d
push esi
xor esi, esi
cmp esi, 0x562d05
jne 0x40bda0
mov eax, dword [0x4a9fb8]
mov dword [0x1ff4134], eax
cmp dword [0x1ff4004], 0x3c
jne 0x40bdb0
push ebx
call dword [sym.imp.KERNEL32.dll_LocalLock]
inc esi
cmp esi, 0x5f6c74
jl 0x40bd8e
cmp dword [0x1ff4004], 0x7c
jne 0x40be94
push edi
lea eax, [ebp - 0x1044]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [ebp - 0x101c]
push eax
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
xor eax, eax
mov word [ebp - 0x1034], ax
lea edi, [ebp - 0x1032]
stosw word es:[edi], ax
mov word [ebp - 0x1030], ax
lea edi, [ebp - 0x102e]
stosw word es:[edi], ax
lea eax, [ebp - 0x1060]
push eax
push dword [ebp - 0x1030]
lea eax, [ebp - 0x1038]
push dword [ebp - 0x1034]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
xor eax, eax
mov dword [ebp - 0x1058], ebx
lea edi, [ebp - 0x1054]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1058]
push eax
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFileScatter]
push ebx
lea eax, [ebp - 0x1004]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
lea eax, [ebp - 0x1040]
push eax
mov dword [ebp - 0x1040], ebx
mov dword [ebp - 0x103c], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push 0x4a7677
push 0x4ad2d0
call fcn.00401b21
push ebx
call fcn.00402008
add esp, 0xc
pop edi
cmp dword [0x1ff4004], 0x110a
jne 0x40bf65
push ebx
push ebx
mov dword [0x1ff3ff8], ebx
mov dword [0x1ff3ffc], ebx
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
lea eax, [ebp - 0x1038]
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push str.vujahebetunagubidiyuxugacazezon
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
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
call dword [sym.imp.KERNEL32.dll_ActivateActCtx]
push ebx
push ebx
call fcn.00401f40
push ebx
push ebx
call fcn.00401f40
add esp, 0x10
xor eax, eax
push 1
lea esi, [ebp - 0x1020]
mov dword [ebp - 0x1008], 7
mov dword [ebp - 0x100c], ebx
mov word [ebp - 0x101c], ax
call fcn.00401091
push ebx
push ebx
call fcn.00401f40
push ebx
call fcn.00401dca
push ebx
push ebx
push ebx
call fcn.00401b21
add esp, 0x18
push 1
xor ebx, ebx
call fcn.0040104c
call fcn.0040ba44
xor ecx, ecx
cmp dword [0x1ff4004], ebx
jbe 0x40bfb7
mov eax, dword [0x1ff4134]
mov dword [ebp - 0x1030], eax
mov eax, 0xa231
add dword [ebp - 0x1030], eax
mov eax, dword [ebp - 0x1030]
mov al, byte [eax + ecx]
mov edx, dword [0x1ff3e4c]
mov byte [edx + ecx], al
mov eax, dword [0x1ff4004]
cmp eax, 0x5ab
jne 0x40bfb2
mov dword [0x1ff3e50], 0x19b0
inc ecx
cmp ecx, eax
jb 0x40bf74
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.0040ba99
call fcn.0040ba7b
call fcn.0040bcc2
xor eax, eax
cmp eax, 0xd606b
jne 0x40bfdf
call fcn.0040ba70
inc eax
cmp eax, 0x24e87d
jl 0x40bfd3
mov esi, 0x1e4165
cmp dword [0x1ff4004], 0xcc1
jne 0x40c001
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
cmp dword [0x1ff4004], 0x7c4
mov dword [0x1ff3e54], 0x8e46a6f0
jne 0x40c01f
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeaps]
dec esi
jne 0x40bfec
pop esi
cmp ebx, 0x408e
jle 0x40c037
cmp dword [ebp - 0x1024], 0xf5bed7
jne 0x40c040
inc ebx
cmp ebx, 0x687ed2
jl 0x40c023
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00401ab5
leave
ret