Function at 0x45c020
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543b1b
mov eax, dword fs:[0]
push eax
sub esp, 0x330
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x324], ecx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x48]
call fcn.00407860
mov dword [ebp - 4], 0
mov ecx, dword [0x549d4c]
push ecx
push 0x5c
lea ecx, [ebp - 0x48]
call fcn.00444010
add eax, 1
push eax
push 0
lea edx, [ebp - 0x2d8]
push edx
lea ecx, [ebp - 0x48]
call fcn.0041f580
mov dword [ebp - 0x328], eax
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x32c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x32c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.004078a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2d8]
call fcn.00406040
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x68]
call fcn.00407860
mov byte [ebp - 4], 2
push 0x55a200
lea ecx, [ebp - 0x68]
call fcn.004078c0
lea eax, [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x68]
call fcn.004012c0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00407860
mov byte [ebp - 4], 3
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x45c146
mov dword [ebp - 0x2dc], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00406040
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00406040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00406040
mov eax, dword [ebp - 0x2dc]
jmp 0x45c2b2
mov edx, dword [ebp - 0x2bc]
and edx, 0x10
je 0x45c167
movzx eax, word [ebp - 0x290]
cmp eax, 0x2e
jne 0x45c162
jmp 0x45c258
jmp 0x45c258
movzx ecx, byte [ebp + 0x14]
push ecx
lea edx, [ebp - 0x290]
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2fc]
push ecx
call fcn.00452290
add esp, 0xc
mov dword [ebp - 0x330], eax
mov edx, dword [ebp - 0x330]
mov dword [ebp - 0x334], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x334]
push eax
lea ecx, [ebp - 0x290]
push ecx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x318]
push eax
call fcn.00452290
add esp, 0xc
mov dword [ebp - 0x338], eax
mov ecx, dword [ebp - 0x338]
mov dword [ebp - 0x33c], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x33c]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x324]
call fcn.0045bbd0
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x2dd], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x318]
call fcn.00406040
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2fc]
call fcn.00406040
movzx ecx, byte [ebp - 0x2dd]
test ecx, ecx
je 0x45c258
mov dword [ebp - 0x31c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00406040
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00406040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00406040
mov eax, dword [ebp - 0x31c]
jmp 0x45c2b2
lea edx, [ebp - 0x2bc]
push edx
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45c146
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x320], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00406040
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00406040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00406040
mov eax, dword [ebp - 0x320]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret 0x10