Function at 0x42ea87
Capabilities:
Accept command line arguments
Create directory
Get file attributes
Get file size
Get hostname

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
xor esi, esi
push edi
xor ebx, ebx
cmp ebx, 0x112
jne 0x42eaae
mov eax, dword [0x437430]
add eax, 0x9e49
mov dword [0x4463a4], eax
cmp dword [0x4463a4], 0xe89
jne 0x42eaea
xor eax, eax
mov word [esp + 0x10], ax
lea edi, [esp + 0x12]
stosw word es:[edi], ax
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x14]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
or dword [0x438594], 0xffffffff
mov dword [0x438590], 0xec58acac
inc ebx
cmp ebx, 0x1237836
jl 0x42ea97
xor edi, edi
cmp edi, 0x55ded1
jne 0x42eb07
mov eax, dword [0x436c68]
mov dword [0x4463a8], eax
cmp dword [0x4463a4], 0x3c
jne 0x42eb16
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
inc edi
cmp edi, 0x5ea53c
jl 0x42eaf5
cmp dword [0x4463a4], 0x7c
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jne 0x42ebea
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push esi
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFlags]
push esi
call dword [sym.imp.KERNEL32.dll_FindAtomA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteAtom]
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberOfConsoleMouseButtons]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_RaiseException]
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
call sub.KERNEL32.dll_GetSystemTimes
cmp edi, 0x257b4
jg 0x42ec19
inc edi
cmp edi, 0xed801
jl 0x42ebec
jmp 0x42ec2d
cmp dword [0x4463a4], 0xa
jne 0x42ec2d
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringA]
cmp dword [0x4463a4], 0x2a
jne 0x42ec8e
push esi
mov dword [0x446268], esi
mov dword [0x44626c], esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
call fcn.00401132
pop ecx
push esi
call fcn.00401132
pop ecx
push esi
call fcn.00401015
pop ecx
push esi
push esi
push esi
push esi
call fcn.00401587
push esi
push esi
call fcn.004010a3
push esi
call fcn.00401344
add esp, 0x1c
push dword [0x4463a4]
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [0x4463a4]
xor edi, edi
mov dword [0x4460c0], eax
cmp ecx, esi
jbe 0x42ecd3
mov edx, dword [0x4463a8]
mov dl, byte [edx + edi + 0x9e49]
mov byte [eax + edi], dl
cmp ecx, 0x5ab
jne 0x42ecce
mov dword [0x4460c4], 0x19b0
inc edi
cmp edi, ecx
jb 0x42ecac
push str.msimg32.dll
call ebx
call fcn.0042e908
call fcn.0042ea01
xor edi, edi
cmp dword [0x4463a4], 0x41
jne 0x42ed06
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp edi, 0xd606b
jne 0x42ed13
call fcn.0042e8fd
cmp dword [0x4463a4], 0xc
jne 0x42ed27
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
inc edi
cmp edi, 0x24e87d
jl 0x42ece6
mov dword [0x446270], 0x8e46a6f0
cmp esi, 0x408e
jle 0x42ed4c
cmp dword [esp + 0x38], 0xf5bed7
jne 0x42ed55
inc esi
cmp esi, 0x687ed2
jl 0x42ed3a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret