Function at 0x4a81e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x50beb9
mov eax, dword fs:[0]
push eax
sub esp, 0xa78
mov eax, dword [0x56957c]
xor eax, esp
mov dword [esp + 0xa74], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56957c]
xor eax, esp
push eax
lea eax, [esp + 0xa8c]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa9c]
mov edi, dword [esp + 0xaa4]
xor ebx, ebx
push str.UserManager
mov ebp, ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ebx
call fcn.00405400
xor ecx, ecx
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ecx
jne 0x4a826a
push 0x51e648
mov ecx, esi
call fcn.00416430
mov ecx, eax
call fcn.00417d40
xor al, al
jmp 0x4a8782
mov eax, dword [esp + 0xaa0]
cmp eax, 5
ja case.0x4a8276.0
jmp dword [eax*4 + 0x4a87ac]
mov dword [esp + 0x14], 1
jmp 0x4a82c3
mov dword [esp + 0x14], 3
jmp 0x4a82c3
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], 1
jmp 0x4a82c7
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 3
jmp 0x4a82c7
mov dword [esp + 0x14], 5
jmp 0x4a82c3
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x28]
mov esi, dword [esp + eax*4 + 0x14]
lea ecx, [esp + 0x284]
mov dword [esp + 0x2c], esi
call fcn.0041dc00
mov dword [esp + 0xa94], 0
cmp esi, 5
ja case.0x4a82f7.0
jmp dword [esi*4 + 0x4a87c4]
lea ecx, [esp + 0x284]
push ecx
mov ecx, dword [esp + 0x34]
call fcn.0044cd40
test al, al
jne 0x4a83f4
push 0x51e634
mov ecx, dword [esp + 0x28]
call fcn.00416430
mov ecx, eax
call fcn.00417d40
lea ecx, [esp + 0x284]
mov dword [esp + 0xa94], 0xffffffff
call fcn.00417650
xor al, al
jmp 0x4a8782
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0xaa8]
push edx
lea eax, [esp + 0x288]
push eax
call fcn.004a4f20
test al, al
jne 0x4a83f4
push 0x51e620
jmp 0x4a831c
push 0
push 0
push 0
push 0
push 0
push edi
lea ecx, [esp + 0x72c]
call fcn.0041dc60
lea ecx, [esp + 0x284]
push ecx
lea ecx, [esp + 0x718]
mov byte [esp + 0xa98], 1
call fcn.0041fbf0
lea ecx, [esp + 0x284]
call fcn.00417d60
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a83b4
sub eax, edx
sar eax, 1
lea eax, [edi + eax*2 + 2]
mov edx, 0x5c
mov dword [esp + 0x20], eax
cmp dx, word [eax]
jne 0x4a83dc
add eax, 2
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x714]
mov byte [esp + 0xa94], 0
call fcn.00417650
mov edi, dword [esp + 0x20]
push 0
push 0
push 0
push 0
push edi
lea eax, [esp + 0x298]
push eax
lea ecx, [esp + 0x3c0]
call fcn.0041df20
lea ecx, [esp + 0x4cc]
mov byte [esp + 0xa94], 2
call fcn.0041dc00
lea ecx, [esp + 0x4cc]
push ecx
lea ecx, [esp + 0x3ac]
mov byte [esp + 0xa98], 3
call fcn.0041fbf0
test al, al
je 0x4a86fa
lea edx, [esp + 0x838]
push edx
lea ecx, [esp + 0x3ac]
call fcn.00417d60
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x34], esi
cmp esi, 0xffffffff
je 0x4a86a7
jmp 0x4a8480
lea eax, [esp + 0x864]
push eax
lea ecx, [esp + 0x5f4]
call fcn.004175e0
push 0x2a
push edi
lea ecx, [esp + 0x5f8]
mov byte [esp + 0xa9c], 4
call fcn.00417930
test al, al
jne 0x4a84c8
lea ecx, [esp + 0x5f0]
mov byte [esp + 0xa94], 3
call fcn.00417650
jmp 0x4a8689
xor edi, edi
lea ebx, [ebx]
cmp edi, dword [ebp + 4]
jge 0x4a853b
mov ecx, dword [ebp]
mov esi, dword [ecx + edi*4]
lea ecx, [esi + 0x128]
call fcn.00417d60
push eax
lea edx, [esp + 0x868]
push edx
call fcn.004ecf82
add esp, 8
test eax, eax
sete al
test al, al
jne 0x4a8503
inc edi
jmp 0x4a84d0
mov eax, dword [esi]
cmp eax, 3
jne 0x4a851c
cmp dword [esp + 0x2c], 1
jne 0x4a851c
mov dword [esi], 4
jmp 0x4a866d
cmp eax, 1
jne 0x4a866d
cmp dword [esp + 0x2c], 3
jne 0x4a866d
mov dword [esi], 2
jmp 0x4a866d
push 0x24c
call fcn.004ee78a
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
mov byte [esp + 0xa94], 5
test esi, esi
je 0x4a85c0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x878]
push eax
lea ecx, [esp + 0x54]
call fcn.0041dc60
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x164]
or ebx, 1
push edx
lea ecx, [esp + 0x4d4]
mov byte [esp + 0xa9c], 6
mov dword [esp + 0x24], ebx
call fcn.0041e3b0
push eax
mov eax, dword [esp + 0x30]
or ebx, 2
push eax
mov ecx, esi
mov dword [esp + 0xa9c], 7
mov dword [esp + 0x24], ebx
call fcn.004a77b0
mov edi, eax
jmp 0x4a85c2
xor edi, edi
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
mov dword [esp + 0xa94], 9
cmp eax, ecx
jne 0x4a8618
test ecx, ecx
jne 0x4a85e7
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4a85ec
lea esi, [ecx + 1]
jmp 0x4a85f6
lea esi, [eax + eax]
test esi, esi
jl 0x4a862a
cmp esi, 0x1fffffff
ja 0x4a862a
cmp esi, ecx
jle 0x4a8618
mov eax, dword [ebp]
mov edx, dword [ebp + 0x14]
lea ecx, [esi*4]
push ecx
push eax
call edx
add esp, 8
test eax, eax
je 0x4a862a
mov dword [ebp + 8], esi
mov dword [ebp], eax
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
lea eax, [ecx + eax*4]
test eax, eax
je 0x4a8627
mov dword [eax], edi
inc dword [ebp + 4]
mov dword [esp + 0xa94], 8
test bl, 2
je 0x4a864d
and ebx, 0xfffffffd
lea ecx, [esp + 0x160]
mov dword [esp + 0x1c], ebx
call fcn.00417650
mov dword [esp + 0xa94], 4
test bl, 1
je 0x4a866d
and ebx, 0xfffffffe
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], ebx
call fcn.00417650
lea ecx, [esp + 0x5f0]
mov byte [esp + 0xa94], 3
call fcn.00417650
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
lea edx, [esp + 0x838]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4a8480
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x4cc]
mov byte [esp + 0xa94], 2
call fcn.00417650
lea ecx, [esp + 0x3a8]
mov byte [esp + 0xa94], 0
call fcn.00417650
lea ecx, [esp + 0x284]
mov dword [esp + 0xa94], 0xffffffff
call fcn.00417650
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, 2
jb 0x4a82cb
jmp 0x4a8769
mov ecx, dword [esp + 0x24]
push 0x51e60c
call fcn.00416430
mov ecx, eax
call fcn.00417d40
lea ecx, [esp + 0x3a8]
mov esi, eax
call fcn.00417d60
push eax
mov ecx, esi
call fcn.00417d40
lea ecx, [esp + 0x4cc]
mov byte [esp + 0xa94], 2
call fcn.00417650
lea ecx, [esp + 0x3a8]
mov byte [esp + 0xa94], 0
call fcn.00417650
jmp 0x4a832c
lea ecx, [esp + 0x284]
mov dword [esp + 0xa94], 0xffffffff
call fcn.00417650
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
push 0x4a7840
push 4
push eax
push ecx
call fcn.004f2ca0
add esp, 0x10
mov al, 1
mov ecx, dword [esp + 0xa8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa74]
xor ecx, esp
call fcn.004ecddb
add esp, 0xa84
ret 0x10