Function at 0x4adb90
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ceea6
mov eax, dword fs:[0]
push eax
mov eax, 0x22c8
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 - 0x22ac], 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 0x4adf6c
mov ecx, dword [ebp - 0x126c]
and ecx, 0x10
je 0x4ade2c
movzx edx, byte [ebp + 0x10]
test edx, edx
jne 0x4adc3e
jmp 0x4ade27
mov dword [ebp - 0x22b0], 0x5fc5b0
lea eax, [ebp - 0x1240]
mov dword [ebp - 0x22b4], eax
mov ecx, dword [ebp - 0x22b4]
mov dx, word [ecx]
mov word [ebp - 0x22b6], dx
mov eax, dword [ebp - 0x22b0]
cmp dx, word [eax]
jne 0x4adcba
cmp word [ebp - 0x22b6], 0
je 0x4adcae
mov ecx, dword [ebp - 0x22b4]
mov dx, word [ecx + 2]
mov word [ebp - 0x22b8], dx
mov eax, dword [ebp - 0x22b0]
cmp dx, word [eax + 2]
jne 0x4adcba
add dword [ebp - 0x22b4], 4
add dword [ebp - 0x22b0], 4
cmp word [ebp - 0x22b8], 0
jne 0x4adc54
mov dword [ebp - 0x22bc], 0
jmp 0x4adcc5
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0x22bc], ecx
mov edx, dword [ebp - 0x22bc]
mov dword [ebp - 0x22c0], edx
cmp dword [ebp - 0x22c0], 0
jne 0x4adcdf
jmp 0x4ade27
mov dword [ebp - 0x22c4], 0x5fc5b4
lea eax, [ebp - 0x1240]
mov dword [ebp - 0x22c8], eax
mov ecx, dword [ebp - 0x22c8]
mov dx, word [ecx]
mov word [ebp - 0x22ca], dx
mov eax, dword [ebp - 0x22c4]
cmp dx, word [eax]
jne 0x4add5b
cmp word [ebp - 0x22ca], 0
je 0x4add4f
mov ecx, dword [ebp - 0x22c8]
mov dx, word [ecx + 2]
mov word [ebp - 0x22cc], dx
mov eax, dword [ebp - 0x22c4]
cmp dx, word [eax + 2]
jne 0x4add5b
add dword [ebp - 0x22c8], 4
add dword [ebp - 0x22c4], 4
cmp word [ebp - 0x22cc], 0
jne 0x4adcf5
mov dword [ebp - 0x22d0], 0
jmp 0x4add66
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0x22d0], ecx
mov edx, dword [ebp - 0x22d0]
mov dword [ebp - 0x22d4], edx
cmp dword [ebp - 0x22d4], 0
jne 0x4add80
jmp 0x4ade27
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 - 0x2280]
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 - 0x2280]
push eax
mov ecx, dword [ebp - 0x22ac]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x22ac]
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2280]
call fcn.004b3860
jmp 0x4adf43
mov byte [ebp - 0x2271], 1
push 0x2e
lea ecx, [ebp - 0x1240]
push ecx
call fcn.00404aa0
add esp, 8
mov dword [ebp - 0x2270], eax
cmp dword [ebp - 0x2270], 0
jne 0x4ade58
jmp 0x4adf2a
lea edx, [ebp - 0x2290]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00431bd0
push eax
lea eax, [ebp - 0x2270]
push eax
lea ecx, [ebp - 0x2288]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004511b0
mov ecx, eax
call fcn.0047fbc0
movzx edx, al
test edx, edx
je 0x4ade91
jmp 0x4adf2a
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 - 0x229c]
call fcn.004b3550
mov dword [ebp - 4], 1
lea edx, [ebp - 0x229c]
push edx
lea eax, [ebp - 0x22a8]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.0042feb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x229c]
call fcn.004b3860
mov byte [ebp - 0x2271], 0
movzx ecx, byte [ebp - 0x2271]
test ecx, ecx
je 0x4adf43
cmp dword [ebp + 0x18], 0
je 0x4adf43
mov ecx, dword [ebp + 0x18]
call fcn.00412ef0
lea edx, [ebp - 0x126c]
push edx
mov eax, dword [ebp - 0x1018]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4adc22
mov ecx, dword [ebp - 0x1018]
push ecx
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