Function at 0x4adf90
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cee66
mov eax, dword fs:[0]
push eax
mov eax, 0x22b0
call fcn.0055b970
mov eax, dword [0x6385e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2294], ecx
mov ecx, dword [ebp + 8]
call fcn.004553f0
push eax
push 0x800
lea eax, [ebp - 0x1014]
push eax
call fcn.0054d766
add esp, 0xc
push 0x60ab50
push 0x800
lea ecx, [ebp - 0x1014]
push ecx
call fcn.0054eb7c
add esp, 0xc
lea edx, [ebp - 0x126c]
push edx
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x1018], eax
cmp dword [ebp - 0x1018], 0xffffffff
je 0x4ae323
mov ecx, dword [ebp - 0x126c]
and ecx, 0x10
je 0x4ae22c
movzx edx, byte [ebp + 0x10]
test edx, edx
jne 0x4ae03e
jmp 0x4ae227
mov dword [ebp - 0x2298], 0x5fc5b0
lea eax, [ebp - 0x1240]
mov dword [ebp - 0x229c], eax
mov ecx, dword [ebp - 0x229c]
mov dx, word [ecx]
mov word [ebp - 0x229e], dx
mov eax, dword [ebp - 0x2298]
cmp dx, word [eax]
jne 0x4ae0ba
cmp word [ebp - 0x229e], 0
je 0x4ae0ae
mov ecx, dword [ebp - 0x229c]
mov dx, word [ecx + 2]
mov word [ebp - 0x22a0], dx
mov eax, dword [ebp - 0x2298]
cmp dx, word [eax + 2]
jne 0x4ae0ba
add dword [ebp - 0x229c], 4
add dword [ebp - 0x2298], 4
cmp word [ebp - 0x22a0], 0
jne 0x4ae054
mov dword [ebp - 0x22a4], 0
jmp 0x4ae0c5
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0x22a4], ecx
mov edx, dword [ebp - 0x22a4]
mov dword [ebp - 0x22a8], edx
cmp dword [ebp - 0x22a8], 0
jne 0x4ae0df
jmp 0x4ae227
mov dword [ebp - 0x22ac], 0x5fc5b4
lea eax, [ebp - 0x1240]
mov dword [ebp - 0x22b0], eax
mov ecx, dword [ebp - 0x22b0]
mov dx, word [ecx]
mov word [ebp - 0x22b2], dx
mov eax, dword [ebp - 0x22ac]
cmp dx, word [eax]
jne 0x4ae15b
cmp word [ebp - 0x22b2], 0
je 0x4ae14f
mov ecx, dword [ebp - 0x22b0]
mov dx, word [ecx + 2]
mov word [ebp - 0x22b4], dx
mov eax, dword [ebp - 0x22ac]
cmp dx, word [eax + 2]
jne 0x4ae15b
add dword [ebp - 0x22b0], 4
add dword [ebp - 0x22ac], 4
cmp word [ebp - 0x22b4], 0
jne 0x4ae0f5
mov dword [ebp - 0x22b8], 0
jmp 0x4ae166
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0x22b8], ecx
mov edx, dword [ebp - 0x22b8]
mov dword [ebp - 0x22bc], edx
cmp dword [ebp - 0x22bc], 0
jne 0x4ae180
jmp 0x4ae227
mov ecx, dword [ebp + 8]
call fcn.004553f0
push eax
push 0x800
lea eax, [ebp - 0x226c]
push eax
call fcn.0054d766
add esp, 0xc
push 0x5fc5a0
push 0x800
lea ecx, [ebp - 0x226c]
push ecx
call fcn.0054eb7c
add esp, 0xc
lea edx, [ebp - 0x1240]
push edx
push 0x800
lea eax, [ebp - 0x226c]
push eax
call fcn.0054eb7c
add esp, 0xc
lea ecx, [ebp - 0x226c]
push ecx
lea ecx, [ebp - 0x2278]
call fcn.004b3550
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
movzx ecx, byte [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x2278]
push eax
mov ecx, dword [ebp - 0x2294]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2294]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2278]
call fcn.004b3860
jmp 0x4ae2fa
mov ecx, dword [ebp + 0xc]
call fcn.00404b70
test eax, eax
je 0x4ae258
mov ecx, dword [ebp + 0xc]
call fcn.004553f0
push eax
lea ecx, [ebp - 0x1240]
push ecx
call fcn.0054e942
add esp, 8
test eax, eax
jne 0x4ae2ec
mov ecx, dword [ebp + 8]
call fcn.004553f0
push eax
push 0x800
lea edx, [ebp - 0x226c]
push edx
call fcn.0054d766
add esp, 0xc
push 0x5fc5a0
push 0x800
lea eax, [ebp - 0x226c]
push eax
call fcn.0054eb7c
add esp, 0xc
lea ecx, [ebp - 0x1240]
push ecx
push 0x800
lea edx, [ebp - 0x226c]
push edx
call fcn.0054eb7c
add esp, 0xc
lea eax, [ebp - 0x226c]
push eax
lea ecx, [ebp - 0x2284]
call fcn.004b3550
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2284]
push ecx
lea edx, [ebp - 0x2290]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.0042feb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2284]
call fcn.004b3860
jmp 0x4ae2fa
cmp dword [ebp + 0x18], 0
je 0x4ae2fa
mov ecx, dword [ebp + 0x18]
call fcn.00412ef0
lea eax, [ebp - 0x126c]
push eax
mov ecx, dword [ebp - 0x1018]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4ae022
mov edx, dword [ebp - 0x1018]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054d4f5
mov esp, ebp
pop ebp
ret 0x14