Function at 0x4f5570
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x51d05e
mov eax, dword fs:[0]
push eax
sub esp, 0x954
mov eax, dword [0x589560]
xor eax, esp
mov dword [esp + 0x950], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x968]
mov dword fs:[0], eax
mov esi, dword [esp + 0x978]
mov edi, dword [esp + 0x980]
xor ebx, ebx
push str.UserManager
mov ebp, ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x20], ebx
call fcn.00407970
xor ecx, ecx
add esp, 4
cmp eax, ecx
mov dword [esp + 0x2c], eax
jne 0x4f55fa
push 0x544e98
mov ecx, esi
call fcn.00470820
mov ecx, eax
call fcn.00471770
xor al, al
jmp 0x4f5a62
mov eax, dword [esp + 0x97c]
cmp eax, 4
ja case.0x4f5606.0
jmp dword [eax*4 + 0x4f5a8c]
mov dword [esp + 0x14], 1
jmp 0x4f5649
mov dword [esp + 0x14], 3
jmp 0x4f5649
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], 1
jmp 0x4f564d
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 3
jmp 0x4f564d
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x24]
mov esi, dword [esp + eax*4 + 0x14]
lea ecx, [esp + 0x284]
mov dword [esp + 0x28], esi
call fcn.0046da30
mov eax, esi
sub eax, 0
mov dword [esp + 0x970], 0
je 0x4f5a18
sub eax, 1
je 0x4f56b4
sub eax, 2
jne 0x4f5a18
lea ecx, [esp + 0x984]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x288]
push edx
call fcn.004f27f0
test al, al
jne 0x4f56cd
push 0x544e84
jmp 0x4f5995
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x284]
push eax
call fcn.0040f010
test al, al
je 0x4f5990
push 0
push 0
push 0
push 0
push edi
lea ecx, [esp + 0x298]
push ecx
lea ecx, [esp + 0x3c0]
call fcn.0046dd20
lea ecx, [esp + 0x4cc]
mov byte [esp + 0x970], 1
call fcn.0046da30
lea edx, [esp + 0x4cc]
push edx
lea ecx, [esp + 0x3ac]
mov byte [esp + 0x974], 2
call fcn.0046f810
test al, al
je 0x4f59c3
lea eax, [esp + 0x714]
push eax
lea ecx, [esp + 0x3ac]
call fcn.0046adb0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x34], esi
je 0x4f5938
lea esp, [esp]
lea ecx, [esp + 0x740]
push ecx
lea ecx, [esp + 0x5f4]
call fcn.0046a770
push 0x2a
push edi
lea ecx, [esp + 0x5f8]
mov byte [esp + 0x978], 3
call fcn.0046a9a0
test al, al
jne 0x4f5798
lea ecx, [esp + 0x5f0]
mov byte [esp + 0x970], 2
call fcn.0046dfd0
jmp 0x4f591a
xor esi, esi
lea ebx, [ebx]
mov ecx, ebp
call fcn.004f42a0
cmp esi, eax
jae 0x4f581b
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x4f57be
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4f57c3
call fcn.004fed81
mov edx, dword [ebp + 4]
mov edi, dword [edx + esi*4]
push 0
lea eax, [esp + 0x744]
push eax
mov ecx, edi
call fcn.004f40a0
test al, al
jne 0x4f57e3
add esi, 1
jmp 0x4f57a0
mov eax, dword [edi]
cmp eax, 3
jne 0x4f57fc
cmp dword [esp + 0x28], 1
jne 0x4f57fc
mov dword [edi], 4
jmp 0x4f58fe
cmp eax, 1
jne 0x4f58fe
cmp dword [esp + 0x28], 3
jne 0x4f58fe
mov dword [edi], 2
jmp 0x4f58fe
push 0x12c
call fcn.004fde48
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
test esi, esi
mov byte [esp + 0x970], 4
je 0x4f589e
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x754]
push ecx
lea ecx, [esp + 0x54]
call fcn.0046da80
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x164]
or ebx, 1
push eax
lea ecx, [esp + 0x4d4]
mov byte [esp + 0x978], 5
mov dword [esp + 0x24], ebx
call fcn.0046e1d0
mov ecx, dword [esp + 0x28]
push eax
or ebx, 2
push ecx
mov ecx, esi
mov dword [esp + 0x978], 6
mov dword [esp + 0x24], ebx
call fcn.004f3fc0
jmp 0x4f58a0
xor eax, eax
lea edx, [esp + 0x30]
push edx
mov ecx, ebp
mov dword [esp + 0x974], 8
mov dword [esp + 0x34], eax
call fcn.004f5500
test bl, 2
mov dword [esp + 0x970], 7
je 0x4f58de
and ebx, 0xfffffffd
lea ecx, [esp + 0x160]
mov dword [esp + 0x1c], ebx
call fcn.0046dfd0
test bl, 1
mov dword [esp + 0x970], 3
je 0x4f58fe
and ebx, 0xfffffffe
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], ebx
call fcn.0046dfd0
lea ecx, [esp + 0x5f0]
mov byte [esp + 0x970], 2
call fcn.0046dfd0
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x714]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4f5750
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x4cc]
mov byte [esp + 0x970], 1
call fcn.0046dfd0
lea ecx, [esp + 0x3a8]
mov byte [esp + 0x970], 0
call fcn.0046dfd0
lea ecx, [esp + 0x284]
mov dword [esp + 0x970], 0xffffffff
call fcn.0046dfd0
mov eax, dword [esp + 0x24]
add eax, 1
cmp eax, 2
mov dword [esp + 0x24], eax
jb 0x4f5651
jmp 0x4f5a2f
push 0x544e70
mov ecx, dword [esp + 0x24]
call fcn.00470820
mov ecx, eax
call fcn.00471770
lea ecx, [esp + 0x284]
mov dword [esp + 0x970], 0xffffffff
call fcn.0046dfd0
xor al, al
jmp 0x4f5a62
mov ecx, dword [esp + 0x20]
push 0x544e5c
call fcn.00470820
mov ecx, eax
call fcn.00471770
lea ecx, [esp + 0x3a8]
mov esi, eax
call fcn.0046adb0
push eax
mov ecx, esi
call fcn.00471770
lea ecx, [esp + 0x4cc]
mov byte [esp + 0x970], 1
call fcn.0046dfd0
lea ecx, [esp + 0x3a8]
mov byte [esp + 0x970], 0
call fcn.0046dfd0
jmp 0x4f59a5
lea ecx, [esp + 0x284]
mov dword [esp + 0x970], 0xffffffff
call fcn.0046dfd0
mov edi, dword [ebp + 8]
cmp dword [ebp + 4], edi
jbe 0x4f5a3c
call fcn.004fed81
mov esi, dword [ebp + 4]
cmp esi, dword [ebp + 8]
jbe 0x4f5a49
call fcn.004fed81
mov ecx, edi
sub ecx, esi
push 0x4f4040
sar ecx, 2
push ecx
push edi
push esi
call fcn.004f48f0
add esp, 0x10
mov al, 1
mov ecx, dword [esp + 0x968]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x950]
xor ecx, esp
call fcn.004fe05a
add esp, 0x960
ret 0x10