Function at 0x45c860
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff678
push ebx
push esi
push edi
mov ebx, eax
mov eax, 0x4a6384
call fcn.00494df8
cmp byte [ebx], 0
je 0x45c88e
mov edx, dword [ebp - 0x44]
mov dword fs:[0], edx
mov eax, edx
jmp 0x45cb17
mov byte [ebx], 1
xor ecx, ecx
mov dword [ebx + 0x204], ecx
push 0x32cc
call fcn.00493000
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x45c8c4
mov word [ebp - 0x34], 0x14
mov eax, dword [ebp - 4]
call fcn.0045fa34
mov word [ebp - 0x34], 8
mov edx, dword [ebp - 4]
jmp 0x45c8c7
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x204]
mov dword [ebx + eax*4 + 4], edx
push 4
call fcn.00493000
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x45c903
mov word [ebp - 0x34], 0x2c
mov edx, dword [ebp - 8]
mov dword [edx], 0x4a6c14
mov ecx, dword [ebp - 8]
mov dword [ecx], 0x4a6c48
mov word [ebp - 0x34], 0x20
mov eax, dword [ebp - 8]
jmp 0x45c906
mov eax, dword [ebp - 8]
mov edx, dword [ebx + 0x204]
inc dword [ebx + 0x204]
mov dword [ebx + edx*4 + 0x104], eax
push 0x28
call fcn.00493000
pop ecx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x45c941
mov word [ebp - 0x34], 0x44
mov eax, dword [ebp - 0xc]
call fcn.00460044
mov word [ebp - 0x34], 0x38
mov esi, dword [ebp - 0xc]
jmp 0x45c944
mov esi, dword [ebp - 0xc]
mov eax, dword [ebx + 0x204]
mov dword [ebx + eax*4 + 4], esi
push 8
call fcn.00493000
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x45c988
mov word [ebp - 0x34], 0x5c
mov edi, esi
mov edx, dword [ebp - 0x10]
mov dword [edx], 0x4a6c14
mov ecx, dword [ebp - 0x10]
mov dword [ecx], 0x4a6be0
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov word [ebp - 0x34], 0x50
mov edx, dword [ebp - 0x10]
jmp 0x45c98b
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x204]
lea ecx, [ebp - 0x448]
inc dword [ebx + 0x204]
mov dword [ebx + eax*4 + 0x104], edx
push 0x400
push ecx
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push str.Formats.fmt
lea eax, [ebp - 0x448]
call fcn.0040ba30
push eax
call fcn.004949c8
add esp, 8
lea edx, [ebp - 0x588]
push edx
lea ecx, [ebp - 0x448]
push ecx
call sub.KERNEL32.DLL_FindFirstFileA
mov dword [ebp - 0x48], eax
cmp eax, 0xffffffff
sete al
and eax, 1
jmp 0x45cafd
lea edx, [ebp - 0x448]
push edx
lea ecx, [ebp - 0x988]
push ecx
call fcn.004949c8
add esp, 8
lea eax, [ebp - 0x55c]
push eax
lea eax, [ebp - 0x988]
call fcn.0040ba30
push eax
call fcn.004949c8
add esp, 8
push 0x4b4
call fcn.00493000
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x45ca4a
mov word [ebp - 0x34], 0x74
mov eax, dword [ebp - 0x14]
call fcn.0045cc8c
mov word [ebp - 0x34], 0x68
mov esi, dword [ebp - 0x14]
jmp 0x45ca4d
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x588]
lea edx, [ebp - 0x988]
mov eax, esi
call fcn.0045cd50
test al, al
je 0x45cac0
push 8
call fcn.00493000
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x45ca9e
mov word [ebp - 0x34], 0x8c
mov edi, esi
mov edx, dword [ebp - 0x18]
mov dword [edx], 0x4a6c14
mov ecx, dword [ebp - 0x18]
mov dword [ecx], 0x4a6bac
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], edi
mov word [ebp - 0x34], 0x80
mov eax, dword [ebp - 0x18]
jmp 0x45caa1
mov eax, dword [ebp - 0x18]
mov edx, dword [ebx + 0x204]
mov dword [ebx + edx*4 + 4], esi
mov ecx, dword [ebx + 0x204]
inc dword [ebx + 0x204]
mov dword [ebx + ecx*4 + 0x104], eax
jmp 0x45cae6
mov edi, esi
mov dword [ebp - 0x20], edi
test edi, edi
je 0x45cae6
mov eax, dword [edi]
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x34], 0xa4
mov edx, 3
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx]
mov word [ebp - 0x34], 0x98
lea edx, [ebp - 0x588]
push edx
push dword [ebp - 0x48]
call sub.KERNEL32.DLL_FindNextFileA
test eax, eax
sete al
and eax, 1
test al, al
je 0x45c9ee
push dword [ebp - 0x48]
call sub.KERNEL32.DLL_FindClose
mov edx, dword [ebp - 0x44]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret