Function at 0x4868e0
Capabilities:
Enumerate files on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x591454
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5eb3c0]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x9c]
xor ebx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x4c], ebx
mov al, byte [edi]
cmp al, bl
jne 0x486b43
cmp dword [edi + 0x2a8], ebx
je 0x486d9b
cmp al, bl
jne 0x486b43
mov eax, dword [edi + 0x2a4]
mov esi, dword [edi + 0x2a8]
add esi, eax
cmp eax, esi
jbe 0x48695a
call fcn.00565fa7
mov eax, dword [edi + 0x2a4]
mov ecx, dword [edi + 0x2a8]
add esi, 0xffffffff
add ecx, eax
cmp esi, ecx
ja 0x486973
cmp esi, eax
jae 0x486978
call fcn.00565fa7
mov edx, dword [edi + 0x2a4]
add edx, dword [edi + 0x2a8]
cmp esi, edx
jb 0x48698d
call fcn.00565fa7
mov eax, dword [edi + 0x2a0]
cmp eax, esi
ja 0x486999
sub esi, eax
mov eax, dword [edi + 0x29c]
mov esi, dword [eax + esi*4]
push 0xffffffffffffffff
lea ebp, [edi + 0x258]
push ebx
mov eax, esi
mov ecx, ebp
call fcn.0043a9a0
mov eax, dword [edi + 0x2a8]
cmp eax, ebx
je 0x486a0c
mov ecx, dword [edi + 0x2a4]
lea eax, [eax + ecx - 1]
mov ecx, dword [edi + 0x2a0]
cmp ecx, eax
ja 0x4869d4
sub eax, ecx
mov edx, dword [edi + 0x29c]
mov esi, dword [edx + eax*4]
cmp dword [esi + 0x18], 8
jb 0x4869ef
mov eax, dword [esi + 4]
push eax
call fcn.00563626
add esp, 4
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov word [esi + 4], bx
add dword [edi + 0x2a8], 0xffffffff
jne 0x486a0c
mov dword [edi + 0x2a4], ebx
push 0xffffffffffffffff
push ebx
mov eax, ebp
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
call fcn.0043a9a0
mov dword [esp + 0x94], ebx
cmp dword [edi + 0x290], ebx
jne 0x486abf
push 1
mov ebp, 7
push 0x5b288c
lea esi, [esp + 0x38]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
call fcn.0043a8d0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
mov byte [esp + 0x9c], 1
call fcn.00487460
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x58]
mov byte [esp + 0x9c], 2
call fcn.0043a9a0
mov esi, 8
cmp dword [esp + 0x2c], esi
jb 0x486aa5
mov edx, dword [esp + 0x18]
push edx
call fcn.00563626
add esp, 4
cmp dword [esp + 0x48], esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
jb 0x486afc
mov eax, dword [esp + 0x34]
push eax
jmp 0x486af4
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x54]
lea ecx, [edi + 0x27c]
push eax
call fcn.00487460
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x58]
mov byte [esp + 0x9c], 3
call fcn.0043a9a0
cmp dword [esp + 0x2c], 8
jb 0x486afc
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00563626
add esp, 4
mov ecx, dword [esp + 0x54]
mov esi, 8
cmp dword [esp + 0x68], esi
jae 0x486b0f
lea ecx, [esp + 0x54]
lea eax, [edi + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x94], 0xffffffff
cmp dword [esp + 0x68], esi
mov dword [edi + 0x254], eax
mov byte [edi], 1
jb 0x486b6f
mov edx, dword [esp + 0x54]
push edx
call fcn.00563626
add esp, 4
jmp 0x486b6f
lea eax, [edi + 4]
push eax
mov eax, dword [edi + 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x486b6f
mov ecx, dword [edi + 0x254]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [edi + 0x254], 0xffffffff
or esi, 0xffffffff
cmp dword [edi + 0x254], esi
jne 0x486bcd
mov byte [edi], bl
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
push esi
push ebx
lea ecx, [edi + 0x27c]
lea eax, [esp + 0x1c]
mov dword [esp + 0x9c], 4
call fcn.0043a9a0
mov dword [esp + 0x94], esi
cmp dword [esp + 0x2c], 8
jb 0x486925
mov edx, dword [esp + 0x18]
push edx
call fcn.00563626
add esp, 4
jmp 0x486925
lea ebp, [edi + 0x30]
mov eax, ebp
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x486be6
sub eax, edx
sar eax, 1
push eax
push ebp
lea esi, [esp + 0x58]
call fcn.0043a8d0
mov eax, esi
push eax
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0x9c], 5
call fcn.004871d0
mov byte [esp + 0x94], 7
cmp dword [esp + 0x68], 8
jb 0x486c34
mov edx, dword [esp + 0x54]
push edx
call fcn.00563626
add esp, 4
lea eax, [esp + 0x6c]
push eax
mov esi, 7
push edi
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
call fcn.00486680
test al, al
je 0x486c6d
mov dword [esp + 0x94], 0xffffffff
cmp dword [esp + 0x84], 8
jmp 0x486d83
mov eax, ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x486c80
sub eax, edx
sar eax, 1
push eax
push ebp
lea esi, [esp + 0x38]
call fcn.0043a8d0
lea edx, [esp + 0x14]
push edx
lea eax, [edi + 0x258]
push eax
mov ecx, esi
mov byte [esp + 0x9c], 8
call fcn.00487460
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x74]
mov byte [esp + 0x9c], 9
call fcn.0043a9a0
mov ebp, 8
cmp dword [esp + 0x2c], ebp
jb 0x486ce1
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00563626
add esp, 4
mov byte [esp + 0x94], 7
cmp dword [esp + 0x48], ebp
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
jb 0x486d0d
mov edx, dword [esp + 0x34]
push edx
call fcn.00563626
add esp, 4
test byte [edi + 4], 0x10
je 0x486d68
cmp byte [edi + 0x274], bl
je 0x486d2b
lea eax, [esp + 0x6c]
push eax
lea eax, [edi + 0x298]
call fcn.00486e10
test byte [edi + 0x278], 2
je 0x486d71
mov esi, dword [esp + 0x10]
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push ebx
lea eax, [esp + 0x74]
mov ecx, esi
mov word [esi + 4], bx
call fcn.0043a9a0
cmp dword [esp + 0x84], ebp
jb 0x486de5
mov edx, dword [esp + 0x70]
push edx
jmp 0x486ddd
test byte [edi + 0x278], 1
jne 0x486daf
mov dword [esp + 0x94], 0xffffffff
cmp dword [esp + 0x84], ebp
jb 0x486925
mov ecx, dword [esp + 0x70]
push ecx
call fcn.00563626
add esp, 4
jmp 0x486925
mov eax, dword [esp + 0x10]
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], ebx
mov word [eax + 4], bx
jmp 0x486de7
mov esi, dword [esp + 0x10]
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push ebx
lea eax, [esp + 0x74]
mov ecx, esi
mov word [esi + 4], bx
call fcn.0043a9a0
cmp dword [esp + 0x84], ebp
jb 0x486de5
mov eax, dword [esp + 0x70]
push eax
call fcn.00563626
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00564207
add esp, 0x88
ret 4