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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1060
call fcn.004070f0
mov eax, dword [0x43e004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
xor eax, eax
cmp eax, 0x180
jne 0x40757e
mov ecx, dword [0x441474]
add ecx, 0xa231
mov dword [0x1bb8304], ecx
cmp dword [0x1bb8304], 0x141
jne 0x40759b
or dword [0x441f5c], 0xffffffff
mov dword [0x441f58], 0xec58acac
inc eax
cmp eax, 0x12376ec
jl 0x407565
push edi
xor edi, edi
cmp edi, 0x562d05
jne 0x4075b8
mov eax, dword [0x43ec68]
mov dword [0x1bb8434], eax
cmp dword [0x1bb8304], 0x3c
jne 0x4075c8
push esi
call dword [sym.imp.KERNEL32.dll_LocalLock]
inc edi
cmp edi, 0x5f6c74
jl 0x4075a6
cmp dword [0x1bb8304], 0x7c
jne 0x407699
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 esi
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 esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
xor eax, eax
mov dword [ebp - 0x1058], esi
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 esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFileScatter]
push esi
lea eax, [ebp - 0x1004]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
lea eax, [ebp - 0x1040]
push eax
mov dword [ebp - 0x1040], esi
mov dword [ebp - 0x103c], esi
call dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push esi
call fcn.0040105a
pop ecx
cmp dword [0x1bb8304], 0x110a
jne 0x407757
push esi
push esi
mov dword [0x1bb82f8], esi
mov dword [0x1bb82fc], esi
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 esi
push esi
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
push str.jiboxohekururevawolovoxayoyowex
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
push esi
push esi
lea eax, [ebp - 0xc04]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CompareStringA]
push esi
call dword [sym.imp.KERNEL32.dll_ZombifyActCtx]
push esi
push esi
call fcn.0040100f
push esi
push esi
call fcn.0040100f
xor eax, eax
push esi
push esi
mov dword [ebp - 0x1008], 7
mov dword [ebp - 0x100c], esi
mov word [ebp - 0x101c], ax
call fcn.0040100f
add esp, 0x18
cmp dword [ebp - 0x1008], 8
jb 0x407757
push dword [ebp - 0x101c]
call fcn.0040104f
pop ecx
call fcn.00407264
xor ecx, ecx
cmp dword [0x1bb8304], esi
jbe 0x4077a9
mov eax, dword [0x1bb8434]
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 [0x1bb814c]
mov byte [edx + ecx], al
mov eax, dword [0x1bb8304]
cmp eax, 0x5ab
jne 0x4077a4
mov dword [0x1bb8150], 0x19b0
inc ecx
cmp ecx, eax
jb 0x407766
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.004072b9
call fcn.0040729b
call fcn.004074da
xor eax, eax
cmp eax, 0xd606b
jne 0x4077d1
call fcn.00407290
inc eax
cmp eax, 0x24e87d
jl 0x4077c5
mov edi, 0x1e4165
cmp dword [0x1bb8304], 0xcc1
jne 0x4077f3
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
cmp dword [0x1bb8304], 0x7c4
mov dword [0x1bb8154], 0x8e46a6f0
jne 0x407810
push esi
call dword [sym.imp.KERNEL32.dll_HeapLock]
dec edi
jne 0x4077de
pop edi
cmp esi, 0x408e
jle 0x407828
cmp dword [ebp - 0x1024], 0xf5bed7
jne 0x407831
inc esi
cmp esi, 0x687ed2
jl 0x407814
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00401000
leave
ret