Function at 0x474430
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x540800
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x168
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], 0
mov eax, dword [0x591288]
mov ebp, 1
mov dword [esp + 0x180], ebp
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x194]
mov byte [esp + 0x180], 2
mov eax, dword [edx - 8]
test eax, eax
je 0x474499
lea eax, [esp + 0x194]
lea ecx, [esp + 0x20]
push eax
call fcn.0050d536
jmp 0x4744c6
lea edx, [esp + 0x18]
push edx
call fcn.00465200
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x184], 3
call fcn.0050d536
lea ecx, [esp + 0x18]
mov byte [esp + 0x180], 2
call fcn.0050d3fd
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
call fcn.0050d172
mov ecx, 0x50
xor eax, eax
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [0x591288]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
push 0x2e
lea ecx, [esp + 0x18]
mov byte [esp + 0x184], 6
call fcn.00505d13
mov esi, eax
test esi, esi
jl 0x47454a
lea ecx, [esp + 0x18]
push esi
push ecx
lea ecx, [esp + 0x1c]
call fcn.00505c45
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x184], 7
call fcn.0050d536
lea ecx, [esp + 0x18]
mov byte [esp + 0x180], 6
call fcn.0050d3fd
push str.__d_
push esi
lea ecx, [esp + 0x1c]
call fcn.0050586a
jmp 0x47458f
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.0050d536
lea eax, [esp + 0x14]
push str.__d_
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.0050d692
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x184], 8
call fcn.0050d536
lea ecx, [esp + 0x18]
mov byte [esp + 0x180], 6
call fcn.0050d3fd
lea edx, [esp + 0x10]
push 0x58be6c
lea eax, [esp + 0x28]
push edx
push eax
mov ebx, ebp
mov dword [esp + 0x24], ebp
call fcn.0050d692
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x184], 9
call fcn.0050d536
lea ecx, [esp + 0x24]
mov byte [esp + 0x180], 6
call fcn.0050d3fd
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [esp + 0x38]
push ecx
push edx
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x474601
lea eax, [esp + 0x38]
inc ebp
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4745e5
push edi
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x14]
push ebx
lea edx, [esp + 0x14]
push ecx
push edx
xor edi, edi
xor ebp, ebp
call fcn.005060bb
add esp, 0xc
lea eax, [esp + 0x10]
push 0x5c
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.0050d172
lea ecx, [esp + 0x2c]
push ecx
call fcn.0042ec10
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x184], 0xa
call fcn.0050d536
lea ecx, [esp + 0x24]
mov byte [esp + 0x180], 6
call fcn.0050d3fd
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x38]
push edx
push eax
call esi
cmp eax, 0xffffffff
jne 0x474671
mov edi, 1
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
push str..jc_
lea edx, [esp + 0x38]
push ecx
push edx
call fcn.0050d692
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x184], 0xb
call fcn.0050d536
lea ecx, [esp + 0x34]
mov byte [esp + 0x180], 6
call fcn.0050d3fd
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x38]
push eax
push ecx
call esi
cmp eax, 0xffffffff
jne 0x4746c5
mov ebp, 1
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
je 0x4746d4
test ebp, ebp
jne 0x4746e2
mov eax, dword [esp + 0x18]
inc ebx
cmp ebx, eax
jg 0x47473f
jmp 0x474601
mov edx, dword [esp + 0x194]
mov eax, dword [edx - 8]
test eax, eax
jne 0x474722
mov esi, dword [esp + 0x2c]
push 0
push 0xef6d
mov ecx, esi
call fcn.0046bab0
mov eax, dword [esp + 0x190]
lea edx, [esp + 0x1c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.0050d172
mov ecx, esi
call fcn.00464dc0
mov esi, dword [esp + 0x188]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0050d172
mov dword [esp + 0x28], 1
jmp 0x47475a
mov esi, dword [esp + 0x188]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0050d172
mov dword [esp + 0x28], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x180], 5
call fcn.0050d3fd
lea ecx, [esp + 0x1c]
mov byte [esp + 0x180], 4
call fcn.0050d3fd
lea ecx, [esp + 0x14]
mov byte [esp + 0x180], 2
call fcn.0050d3fd
lea ecx, [esp + 0x20]
mov byte [esp + 0x180], 1
call fcn.0050d3fd
lea ecx, [esp + 0x194]
mov byte [esp + 0x180], 0
call fcn.0050d3fd
mov ecx, dword [esp + 0x178]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x174
ret 0x10