Function at 0x485750
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad522
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x5bd344]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x270], edx
mov ebx, ecx
mov dword [ebp - 0x274], ebx
call fcn.0045d8a0
mov ecx, eax
test ecx, ecx
je 0x485af0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x268], eax
mov dword [ebp - 4], 0
test ebx, ebx
jne 0x4857b8
xor ecx, ecx
jmp 0x4857cf
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4857c0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x268]
call fcn.004631c0
mov edi, dword [ebp - 0x268]
or ebx, 0xffffffff
cmp dword [edi - 0xc], 0
je 0x485ab8
push 0x420b94
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.00487a40
add esp, 0xc
lea ecx, [ebp - 0x260]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x278]
mov esi, eax
mov dword [ebp - 0x284], esi
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x48583e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, 0xffffffff
je 0x485ab8
call fcn.0045d8a0
test eax, eax
je 0x485af0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x485886
movzx eax, ax
lea ecx, [ebp - 0x264]
push eax
call fcn.00462e20
jmp 0x4858b2
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x485890
sub eax, edx
lea ecx, [ebp - 0x264]
sar eax, 1
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.004631c0
mov byte [ebp - 4], 2
mov ecx, 0x416968
mov esi, dword [ebp - 0x264]
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4858e9
test dx, dx
je 0x4858e5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4858e9
add eax, 4
add ecx, 4
test dx, dx
jne 0x4858c3
xor eax, eax
jmp 0x4858ee
sbb eax, eax
or eax, 1
test eax, eax
je 0x485a7a
mov ecx, 0x41696c
mov eax, esi
nop dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x485926
test dx, dx
je 0x485922
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x485926
add eax, 4
add ecx, 4
test dx, dx
jne 0x485900
xor eax, eax
jmp 0x48592b
sbb eax, eax
or eax, 1
test eax, eax
je 0x485a7a
test byte [ebp - 0x260], 0x10
je 0x4859a7
push dword [ebp - 0x274]
lea ecx, [ebp - 0x26c]
call fcn.00462a00
push esi
push dword [ebp - 0x274]
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 3
push 0x420ba0
push eax
call fcn.00488a60
mov edx, dword [ebp - 0x270]
add esp, 0x10
mov ecx, dword [ebp - 0x26c]
call fcn.00485750
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x26c]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x485a7a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x485a7a
mov eax, dword [esi - 0xc]
lea ecx, [ebp - 0x264]
add eax, 0xfffffffc
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.00487c30
push 0x420bac
push dword [eax]
call fcn.00589ef6
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x27c]
test eax, eax
sete bl
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4859f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x485a77
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.00487b10
add esp, 0xc
mov ecx, dword [ebp - 0x270]
mov byte [ebp - 4], 5
mov ebx, dword [ecx + 4]
cmp dword [ecx + 8], ebx
je 0x485a5b
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00488a00
add eax, 0x10
add esp, 4
mov dword [ebx], eax
mov eax, dword [ebp - 0x270]
add dword [eax + 4], 4
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x280]
add edx, 0xfffffff0
or ebx, 0xffffffff
jmp 0x48598a
push eax
push ebx
call fcn.00488b20
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x280]
add edx, 0xfffffff0
or ebx, 0xffffffff
jmp 0x48598a
or ebx, 0xffffffff
mov eax, ebx
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x485a95
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x284]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x485847
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x485ad4
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0045d5a0
int3