Function at 0x41c3a0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x190
push ebx
push esi
mov esi, dword [esp + 0x1a0]
push edi
push ebp
push esi
call fcn.0041c330
add esp, 4
mov ebp, eax
mov edi, 5
mov eax, dword [esp + 0x1ac]
push eax
call fcn.0041c330
add esp, 4
mov ebx, eax
cmp dword [esp + 0x1b0], 0
jne 0x41c549
test ebp, ebp
je 0x41c549
movsx eax, byte [ebp - 1]
push eax
push 0x431a6c
call fcn.00420180
add esp, 8
test eax, eax
je 0x41c549
test ebx, ebx
je 0x41c549
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x41c549
mov byte [ebp - 1], 0
push esi
push str.CWD__s
mov esi, dword [esp + 0x1c0]
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x1b0]
add esp, 0xc
push esi
push eax
call fcn.00415e20
add esp, 8
mov edi, eax
cmp edi, 2
jne 0x41c649
push ebp
push str.NLST__s
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x1b0]
add esp, 0xc
push esi
push eax
call fcn.00416520
add esp, 8
cmp eax, 2
jne 0x41c649
push 0x4315a8
push 0x438990
call fcn.00420090
add esp, 8
mov ebp, eax
test ebp, ebp
je 0x41c649
push ebp
push 0x50
push str.input:
call fcn.00421300
add esp, 0xc
test eax, eax
je 0x41c53b
push 0xa
push str.input:
call fcn.00420180
add esp, 8
test eax, eax
je 0x41c4c5
mov byte [eax], 0
lea eax, [esp + 0x10]
push str.input:
push eax
call fcn.00417000
lea eax, [esp + 0x18]
add esp, 8
cmp dword [0x431640], 0
push eax
push ebx
je 0x41c4f0
call fcn.0041c360
add esp, 8
jmp 0x41c4f6
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.input:
push str.RETR__s
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x1c0]
mov ecx, dword [esp + 0x1b8]
mov edx, dword [esp + 0x1b0]
add esp, 0xc
push 0
push eax
push ecx
push esi
push edx
call fcn.0040b010
add esp, 0x14
mov edi, eax
mov byte [ebx], 0
cmp edi, 2
je 0x41c497
push ebp
call fcn.0041ff60
add esp, 4
jmp 0x41c649
cmp dword [esp + 0x1b0], 1
jne 0x41c649
test ebp, ebp
je 0x41c649
movsx eax, byte [ebp - 1]
push eax
push 0x431a6c
call fcn.00420180
add esp, 8
test eax, eax
je 0x41c649
test ebx, ebx
je 0x41c649
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x41c649
mov byte [ebp - 1], 0
push esi
call fcn.00411450
add esp, 4
test eax, eax
jne 0x41c649
lea eax, [esp + 0x60]
push eax
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
call ebp
cmp eax, 0xffffffff
mov ebp, eax
je 0x41c649
mov esi, dword [esp + 0x1b8]
test byte [esp + 0x60], 0x10
jne 0x41c632
cmp dword [0x431640], 0
lea eax, [esp + 0x8c]
push eax
push ebx
je 0x41c5e8
call fcn.0041c360
add esp, 8
jmp 0x41c5ee
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x1ac]
push eax
push str.STOR__s
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x1c0]
lea ecx, [esp + 0x98]
mov edx, dword [esp + 0x1b0]
add esp, 0xc
push 0
push eax
push ecx
push esi
push edx
call fcn.0040a9c0
add esp, 0x14
mov edi, eax
mov byte [ebx], 0
cmp edi, 2
jne 0x41c642
lea eax, [esp + 0x60]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41c5c5
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x190
ret