Function at 0x4b8450
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509d61
mov eax, dword fs:[0]
push eax
sub esp, 0x314
mov eax, dword [0x54e938]
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 eax, dword [ebp + 8]
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
mov eax, dword [ebp + 0xc]
sub eax, ebx
mov dword [ebp - 4], ebx
je 0x4b8552
dec eax
jne 0x4b878d
mov eax, dword [0x5513c0]
cmp eax, ebx
je 0x4b8518
lea esi, [eax + 4]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dl, byte [edi + 0x51]
push esi
mov byte [ebp - 0x319], dl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x319], bl
je 0x4b8518
lea eax, [ebp - 0xc8]
push str.Acrobatplug_inspi_brokers.exe
push eax
call fcn.00415460
add esp, 8
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00406280
cmp dword [ebp - 0xb4], 8
mov byte [ebp - 4], bl
jb 0x4b85e8
mov ecx, dword [ebp - 0xc8]
push ecx
jmp 0x4b85e0
lea edx, [ebp - 0x90]
push str.Readerplug_inspi_brokers.exe
push edx
call fcn.00415460
add esp, 8
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00406280
cmp dword [ebp - 0x7c], 8
mov byte [ebp - 4], bl
jb 0x4b85e8
mov eax, dword [ebp - 0x90]
push eax
jmp 0x4b85e0
mov eax, dword [0x5513c0]
cmp eax, ebx
je 0x4b85b5
lea esi, [eax + 4]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov cl, byte [edi + 0x51]
push esi
mov byte [ebp - 0x319], cl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x319], bl
je 0x4b85b5
lea edx, [ebp - 0xac]
push str.Acrobatplug_insTest_Toolspi_brokers.exe
push edx
call fcn.00415460
add esp, 8
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00406280
cmp dword [ebp - 0x98], 8
mov byte [ebp - 4], bl
jb 0x4b85e8
mov eax, dword [ebp - 0xac]
push eax
jmp 0x4b85e0
lea ecx, [ebp - 0x6c]
push 0x52f6c0
push ecx
call fcn.00415460
add esp, 8
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00406280
cmp dword [ebp - 0x58], 8
mov byte [ebp - 4], bl
jb 0x4b85e8
mov edx, dword [ebp - 0x6c]
push edx
call fcn.00406ec9
add esp, 4
push 0x24c
lea eax, [ebp - 0x314]
push ebx
push eax
mov dword [ebp - 0x318], ebx
call fcn.004e15a0
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], 8
jae 0x4b860f
lea eax, [ebp - 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x318]
push ecx
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x4b865e
cmp byte [0x55035a], bl
je 0x4b864b
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4b863a
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x318]
push edx
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x4b865e
cmp dword [ebp - 0x18], 8
jb 0x4b878d
mov eax, dword [ebp - 0x2c]
push eax
jmp 0x4b8785
xor ecx, ecx
lea eax, [ebp - 0x2ec]
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x50], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4b8677
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x2ec]
push edx
lea ecx, [ebp - 0x50]
call fcn.00406300
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], bl
mov esi, dword [ebp - 0x320]
lea ecx, [ebp - 0x50]
push ecx
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.004b8320
lea edx, [ebp - 0x318]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4b874f
lea ebx, [ebx]
xor eax, eax
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x2ec]
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4b86f0
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x2ec]
push ecx
lea ecx, [ebp - 0x74]
call fcn.00406300
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x58], edx
mov byte [ebp - 0x54], bl
lea eax, [ebp - 0x74]
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.004b8320
cmp dword [ebp - 0x60], 8
mov byte [ebp - 4], 5
jb 0x4b873d
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.00406ec9
add esp, 4
lea edx, [ebp - 0x318]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4b86d0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 8
cmp dword [ebp - 0x3c], esi
jb 0x4b876c
mov eax, dword [ebp - 0x50]
push eax
call fcn.00406ec9
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x50], cx
cmp dword [ebp - 0x18], esi
jb 0x4b878d
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00406ec9
add esp, 4
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.00401316
mov esp, ebp
pop ebp
ret 8