Function at 0x41bae0
Capabilities:
Accept command line arguments
Enumerate files on windows
Manipulate console buffer
Write file on windows

Disassembly:
mov eax, dword [0xf729dc]
sub esp, 0x994
push ebx
push ebp
push esi
mov esi, dword [0xf72944]
shr eax, 3
push edi
test eax, eax
je 0x41bd33
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
jmp 0x41bb14
mov esi, dword [esp + 0x1c]
cmp dword [0xf729dc], 0x1c
jne 0x41bb2e
lea eax, [esp + 0x54]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
mov ecx, dword [esi + 4]
mov edx, dword [0x81c6c0]
mov eax, dword [0x81c6c4]
mov edi, dword [esi]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x81c6c8]
mov dword [esp + 0x2c], edx
mov edx, dword [0x81c6cc]
mov ebx, 0xc6ef3720
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x20], 0x20
mov eax, edi
shl eax, 4
add eax, dword [esp + 0x30]
mov esi, edi
shr esi, 5
cmp dword [0xf729dc], 0x1b
mov dword [esp + 0x10], eax
lea ebp, [ebx + edi]
jne 0x41bbd8
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFiber]
push 0x40416c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoA]
xor eax, eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x54]
push edx
push eax
push eax
push eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x10]
add esi, dword [esp + 0x34]
xor eax, ebp
xor ebp, ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
mov dword [0xf72948], ebp
mov eax, dword [esp + 0x18]
add dword [0xf72948], eax
mov ecx, dword [0xf72948]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x28]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
sub dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
mov eax, ecx
shl eax, 4
add eax, dword [esp + 0x2c]
cmp dword [0xf729dc], 0x1be
mov dword [esp + 0x10], eax
lea esi, [ebx + ecx]
jne 0x41bc8d
push ebp
lea eax, [esp + 0x1a4]
push eax
push ebp
push 0x4041b8
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
lea ecx, [esp + 0x5c]
push ecx
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
push 0x40417c
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_HeapSize]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
shr ecx, 5
add ecx, dword [esp + 0x38]
cmp dword [0xf729dc], 0x979
mov dword [0xf72950], 0xff6b3619
mov dword [0xf72954], 0xffffffff
mov dword [esp + 0x18], ecx
jne 0x41bcc8
lea edx, [esp + 0x60]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov eax, dword [esp + 0x10]
xor eax, esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
xor dword [esp + 0x10], eax
sub edi, dword [esp + 0x10]
add ebx, 0x61c88647
dec dword [esp + 0x20]
jne 0x41bb6b
cmp dword [0xf729dc], 0x8d4
jne 0x41bcfc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov dword [esi], edi
mov dword [esi + 4], eax
cmp dword [0xf729dc], 0x17
jne 0x41bd22
lea ecx, [esp + 0x60]
push ecx
push 0x4041fc
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
add esi, 8
dec dword [esp + 0x24]
mov dword [esp + 0x1c], esi
jne 0x41bb10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x994
ret