Function at 0x41b710
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd118
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x52c1c8]
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 esi, dword [ebp + 0x20]
mov dword [ebp - 0x1b4], esi
push str.policy_running.
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004025e0
push str.policy_running
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004025e0
push eax
mov byte [ebp - 4], 2
call fcn.00423820
add esp, 0x1c
mov byte [ebp - 4], 1
test al, al
mov eax, dword [ebp - 0x14]
sete bl
cmp eax, 0x10
jb 0x41b7a1
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00423630
test bl, bl
je 0x41b7dd
push str.Policy_running
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004025e0
push eax
mov byte [ebp - 4], 3
call fcn.00423550
mov eax, dword [ebp - 0x14]
add esp, 0x10
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x41b7dd
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00423630
push 0x140
lea eax, [ebp - 0x1b0]
push 0
push eax
call fcn.004d8600
add esp, 0xc
lea ecx, [ebp - 0x1b0]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x41b952
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov ebx, dword [ebp - 0x1b4]
push 0x504d9c
lea eax, [ebp - 0x184]
push eax
call esi
test eax, eax
je 0x41b92f
push 0x504da0
lea eax, [ebp - 0x184]
push eax
call esi
test eax, eax
je 0x41b92f
test byte [ebp - 0x1b0], 0x10
je 0x41b92f
push 0x504da4
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004025e0
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00402580
add esp, 0x18
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 6
cmp eax, 0x10
jb 0x41b89f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00423630
push 0x14
push str._fileTracePolicy.xml
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00421d40
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00419e70
add esp, 8
cmp dword [ebp - 0x48], 0
mov byte [ebp - 4], 7
je 0x41b8ed
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
call fcn.0042c380
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x41b902
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004237a0
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x41b92f
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00423630
lea eax, [ebp - 0x1b0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41b823
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x1b4]
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [esi]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push str.policy_size___d_n
call fcn.0041e360
mov eax, dword [ebp - 0x2c]
add esp, 8
cmp eax, 0x10
jb 0x41b98b
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00423630
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x41b9b2
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00423630
xor eax, eax
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.004bedf5
mov esp, ebp
pop ebp
ret