Function at 0x4209b8
Capabilities:
Accept command line arguments
Create directory
Get file size
Get hostname
Identify system language via api
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x884
mov eax, dword [0x428004]
xor eax, esp
mov dword [esp + 0x880], eax
push ebx
push esi
xor esi, esi
push edi
xor ebx, ebx
cmp ebx, 0x112
jne 0x4209f0
mov eax, dword [0x429430]
add eax, 0x9e49
mov dword [0x42bec4], eax
cmp dword [0x42bec4], 0xe89
jne 0x420a2c
xor eax, eax
mov word [esp + 0xc], ax
lea edi, [esp + 0xe]
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
or dword [0x42a594], 0xffffffff
mov dword [0x42a590], 0xec58acac
inc ebx
cmp ebx, 0x1237836
jl 0x4209d9
xor edi, edi
cmp edi, 0x55ded1
jne 0x420a49
mov eax, dword [0x428c68]
mov dword [0x42bec8], eax
cmp dword [0x42bec4], 0x3c
jne 0x420a58
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
inc edi
cmp edi, 0x5ea53c
jl 0x420a37
cmp dword [0x42bec4], 0x7c
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
jne 0x420b6a
lea eax, [esp + 0x24]
push eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_LocalSize]
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 0x2e
lea eax, [esp + 0x5c]
push esi
push eax
mov dword [esp + 0x60], esi
call fcn.00405d20
add esp, 0xc
push esi
lea eax, [esp + 0x58]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDefaultCommConfigW]
lea eax, [esp + 0x488]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push esi
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
xor eax, eax
mov word [esp + 0x10], ax
lea edi, [esp + 0x12]
stosw word es:[edi], ax
mov word [esp + 0xc], ax
lea edi, [esp + 0xe]
stosw word es:[edi], ax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x10]
lea eax, [esp + 0x1c]
push dword [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
push esi
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
push esi
lea eax, [esp + 0x8c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push esi
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
cmp dword [0x42bec4], 0x2d
jne 0x420b47
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
cmp dword [0x42bec4], 0x54
jne 0x420b5c
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
call edi
push esi
call edi
push esi
call fcn.004011bc
pop ecx
push esi
call fcn.004011d2
pop ecx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x2c]
push eax
call sub.KERNEL32.dll_GetSystemTimes
cmp edi, 0x24bfc
jg 0x420b99
inc edi
cmp edi, 0xf2621
jl 0x420b6c
jmp 0x420bad
cmp dword [0x42bec4], 0xa
jne 0x420bad
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringA]
cmp dword [0x42bec4], 0x2a
jne 0x420c12
push esi
mov dword [0x42bd88], esi
mov dword [0x42bd8c], 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 dword [esp + 0x14]
lea eax, [esp + 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
push esi
call fcn.004010f2
pop ecx
push esi
call fcn.004010f2
pop ecx
push esi
call fcn.00401015
pop ecx
push esi
push esi
push esi
push esi
call fcn.00401547
push esi
call fcn.00401304
add esp, 0x14
push dword [0x42bec4]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [0x42bec4]
xor edi, edi
mov dword [0x42bbe0], eax
cmp ecx, esi
jbe 0x420c57
mov edx, dword [0x42bec8]
mov dl, byte [edx + edi + 0x9e49]
mov byte [eax + edi], dl
cmp ecx, 0x5ab
jne 0x420c52
mov dword [0x42bbe4], 0x19b0
inc edi
cmp edi, ecx
jb 0x420c30
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call fcn.0042083d
call fcn.00420932
xor edi, edi
cmp dword [0x42bec4], 0x41
jne 0x420c8e
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 0x420c9b
call fcn.00420832
cmp dword [0x42bec4], 0xc
jne 0x420cab
lea eax, [esp + 0x14]
push eax
call ebx
inc edi
cmp edi, 0x24e87d
jl 0x420c6e
mov dword [0x42bd90], 0x8e46a6f0
cmp esi, 0x408e
jle 0x420cd0
cmp dword [esp + 0x34], 0xf5bed7
jne 0x420cd9
inc esi
cmp esi, 0x687ed2
jl 0x420cbe
mov ecx, dword [esp + 0x88c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401006
mov esp, ebp
pop ebp
ret