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

Disassembly:
mov eax, dword [0xf721dc]
mov ecx, dword [0xf72144]
sub esp, 0xab4
push ebx
push ebp
shr eax, 3
xor ebp, ebp
push esi
push edi
cmp eax, ebp
jbe 0x41be49
mov esi, ecx
mov dword [esp + 0x44], 0x9e3779b9
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], eax
jmp 0x41bc04
mov esi, dword [esp + 0x28]
cmp dword [0xf721dc], 0x1c
jne 0x41bc1b
lea eax, [esp + 0x60]
push eax
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
mov ecx, dword [esi + 4]
mov edx, dword [0x81ca78]
mov eax, dword [0x81ca7c]
mov ebx, dword [esi]
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x81ca80]
mov dword [esp + 0x38], edx
mov edx, dword [0x81ca84]
mov dword [esp + 0x18], 0xc6ef3720
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x2c], 0x20
mov eax, ebx
shl eax, 4
cmp dword [0xf721dc], 5
mov dword [esp + 0x14], eax
jne 0x41bc81
push ebp
lea eax, [esp + 0x2c4]
push eax
push 0x40417c
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x18]
add dword [esp + 0x14], ecx
mov esi, ebx
add edi, ebx
shr esi, 5
cmp dword [0xf721dc], 0x1b
jne 0x41bce6
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFiber]
push 0x4041a8
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoA]
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x68]
push ecx
push ebp
push ebp
push ebp
mov dword [esp + 0x60], ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
lea edx, [esp + 0x6c]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
add esi, dword [esp + 0x48]
xor dword [esp + 0x14], edi
mov dword [esp + 0x24], esi
mov dword [0xf72148], ebp
mov eax, dword [esp + 0x24]
add dword [0xf72148], eax
mov eax, dword [0xf72148]
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x34]
add dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
xor eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x24]
sub dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov eax, ecx
shl eax, 4
add eax, dword [esp + 0x38]
add esi, ecx
cmp dword [0xf721dc], 0x1be
mov dword [esp + 0x14], eax
jne 0x41bd99
push ebp
lea eax, [esp + 0x2c4]
push eax
push ebp
push 0x4041b8
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
lea ecx, [esp + 0x6c]
push ecx
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
push 0x404200
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_HeapSize]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
shr ecx, 5
add ecx, dword [esp + 0x3c]
cmp dword [0xf721dc], 0x979
mov dword [0xf72150], 0xff6b3619
mov dword [0xf72154], 0xffffffff
mov dword [esp + 0x24], ecx
jne 0x41bdd4
lea edx, [esp + 0x70]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov eax, dword [esp + 0x14]
xor eax, esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
xor dword [esp + 0x14], eax
sub ebx, dword [esp + 0x14]
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x44]
add dword [esp + 0x20], eax
sub dword [esp + 0x18], eax
dec dword [esp + 0x2c]
jne 0x41bc5b
cmp dword [0xf721dc], 0x8d4
jne 0x41be12
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov dword [esi], ebx
mov dword [esi + 4], eax
cmp dword [0xf721dc], 0x17
jne 0x41be38
lea ecx, [esp + 0x70]
push ecx
push 0x404274
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add esi, 8
dec dword [esp + 0x30]
mov dword [esp + 0x28], esi
jne 0x41bc00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xab4
ret