Function at 0x5881f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x6689f1
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x70903c]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70903c]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xf8]
mov esi, dword [esp + 0xfc]
mov dword [esp + 0x1c], ecx
call fcn.005881a0
xor ebx, ebx
mov eax, esi
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
lea edi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x588260
sub eax, edi
push eax
push esi
lea ecx, [esp + 0x7c]
call fcn.00417040
mov eax, dword [esp + 0x88]
mov dword [esp + 0xf0], ebx
cmp eax, ebx
je 0x5882b8
lea esi, [eax - 1]
cmp esi, eax
jbe 0x588292
call fcn.00615e0c
cmp dword [esp + 0x8c], 0x10
mov eax, dword [esp + 0x78]
jae 0x5882a4
lea eax, [esp + 0x78]
mov al, byte [eax + esi]
cmp al, 0x5c
je 0x5882b8
push 0x5c
push 1
lea ecx, [esp + 0x7c]
call fcn.00420820
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0xfc], 1
call fcn.00416cc0
push 3
push 0x68a634
lea ecx, [esp + 0x60]
call fcn.00416dc0
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x5c]
mov esi, 0x10
or dword [edi + 4], esi
lea ecx, [edi + 4]
cmp dword [esp + 0x70], esi
jae 0x58830e
lea eax, [esp + 0x5c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [edi + 0x144], eax
cmp eax, 0xffffffff
jne 0x588360
cmp dword [esp + 0x70], esi
jb 0x588334
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00613a18
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0x8c], esi
jb 0x58867f
mov edx, dword [esp + 0x78]
push edx
jmp 0x588677
cmp byte [edi + 0x30], 0x2e
lea edx, [edi + 0x30]
je 0x58862d
mov ecx, edi
call fcn.00588140
test al, al
je 0x5883dd
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x8c], esi
jae 0x588389
lea eax, [esp + 0x78]
push edx
push eax
mov eax, dword [edi]
mov eax, dword [eax + 4]
push ebp
mov ecx, edi
call eax
test al, al
jne 0x58862d
cmp dword [esp + 0x70], esi
jb 0x5883b0
mov edx, dword [esp + 0x5c]
push edx
call fcn.00613a18
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0x8c], esi
jb 0x5883d6
mov eax, dword [esp + 0x78]
push eax
call fcn.00613a18
add esp, 4
xor al, al
jmp 0x588681
push 0x2e
push edx
call fcn.00618920
add esp, 8
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x58862d
cmp dword [esp + 0x100], ebx
je 0x588606
mov eax, ebp
mov dword [esp + 0xa8], 0xf
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x588420
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x98]
call fcn.00417040
push 1
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x9c]
mov byte [esp + 0xfc], 2
mov byte [esp + 0x20], 0x3b
call fcn.00495fd0
mov esi, eax
cmp esi, ebx
push ebp
jle 0x5886ab
lea ecx, [esp + 0x40]
call fcn.00417170
push esi
push ebx
lea edx, [esp + 0xd0]
push edx
mov ecx, eax
mov byte [esp + 0xfc], 3
call fcn.00494720
cmp dword [esp + 0x54], 0x10
mov byte [esp + 0xf0], 5
jb 0x5884a1
mov eax, dword [esp + 0x40]
push eax
call fcn.00613a18
add esp, 4
mov eax, ebp
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5884b6
sub eax, edx
push ebp
lea ecx, [esp + 0x24]
mov edi, eax
call fcn.00417170
push edi
inc esi
push esi
lea ecx, [esp + 0xb4]
push ecx
mov ecx, eax
mov byte [esp + 0xfc], 6
call fcn.00494720
cmp dword [esp + 0x38], 0x10
mov byte [esp + 0xf0], 8
jb 0x588501
mov edx, dword [esp + 0x24]
push edx
call fcn.00613a18
add esp, 4
mov esi, dword [esp + 0x18]
inc esi
mov edi, 0xf
mov eax, esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x588520
sub eax, edx
push eax
mov eax, dword [esp + 0xe0]
push esi
push eax
push ebx
lea ecx, [esp + 0xd8]
call fcn.0042f8e0
test eax, eax
je 0x58858f
push esi
lea ecx, [esp + 0xb0]
call fcn.00452080
test eax, eax
je 0x58858f
lea ecx, [esp + 0xac]
call fcn.005d2b30
lea ecx, [esp + 0xc8]
call fcn.005d2b30
lea ecx, [esp + 0x90]
mov byte [esp + 0xf0], 1
call fcn.005d2b30
mov edi, dword [esp + 0x1c]
mov esi, 0x10
jmp 0x58862d
mov esi, 0x10
cmp dword [esp + 0xc4], esi
jb 0x5885ad
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.00613a18
add esp, 4
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc0], ebx
mov byte [esp + 0xb0], bl
cmp dword [esp + 0xe0], esi
jb 0x5885db
mov edx, dword [esp + 0xcc]
push edx
call fcn.00613a18
add esp, 4
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0xa8], 0x10
mov byte [esp + 0xf0], 1
jb 0x588601
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00613a18
add esp, 4
mov esi, 0x10
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x8c], esi
jae 0x588617
lea eax, [esp + 0x78]
mov edx, dword [edi]
lea ecx, [edi + 0x30]
push ecx
push eax
mov eax, dword [edx + 8]
mov ecx, edi
call eax
test al, al
je 0x5886df
mov ecx, dword [edi + 0x144]
lea eax, [edi + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x588360
cmp dword [esp + 0x70], esi
jb 0x588659
mov eax, dword [esp + 0x5c]
push eax
call fcn.00613a18
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0x8c], esi
jb 0x58867f
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00613a18
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00613e6e
add esp, 0xe0
ret 0xc
mov eax, dword [esp + 0x1c]
inc eax
push eax
call fcn.0061678c
add esp, 8
test eax, eax
je 0x5885df
lea ecx, [esp + 0x90]
mov byte [esp + 0xf0], 1
call fcn.005d2b30
mov esi, 0x10
jmp 0x58862d
cmp dword [esp + 0x70], esi
jb 0x5886f2
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00613a18
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0x8c], esi
jb 0x5883d6
mov edx, dword [esp + 0x78]
push edx
call fcn.00613a18
add esp, 4
xor al, al
jmp 0x588681