Function at 0x4e8790
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3696
mov eax, dword fs:[0]
push eax
sub esp, 0x304
mov eax, dword [0x61ce74]
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 edi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x304], ebx
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x308], eax
mov dword [ebp - 0x300], ebx
mov dword [ebp - 0x2fc], ebx
mov dword [ebp - 0x2f8], ebx
mov dword [ebp - 4], ebx
cmp dword [edi + 0x10], ebx
jne 0x4e87fe
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x4e89c8
push 0x250
lea eax, [ebp - 0x2f0]
push 0
push eax
call fcn.00540d70
add esp, 0xc
lea ecx, [ebp - 0x40]
push 0xffffffffffffffff
push 0x5b14ac
call fcn.004e5a00
mov esi, eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push edi
push eax
call fcn.004eac20
push esi
push eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 2
push eax
call fcn.004e6800
add esp, 0x14
lea ecx, [ebp - 0x58]
call fcn.00430d50
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.00430d50
push 0xffffffffffffffff
push 0x5b1518
lea ecx, [ebp - 0xa0]
call fcn.004e5a00
push eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004e6800
add esp, 0xc
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 8
call fcn.00430d50
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x2f0]
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x308], eax
cmp eax, 0xffffffff
jne 0x4e89e6
mov ebx, dword [ebp - 0x30c]
lea ecx, [ebp - 0x70]
mov eax, dword [ebp - 0x300]
mov dword [ebp - 0x300], 0
mov dword [ebx], eax
mov eax, dword [ebp - 0x2fc]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x2f8]
mov dword [ebx + 8], eax
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x2f8], 0
call fcn.00430d50
lea ecx, [ebp - 0x88]
call fcn.00430d50
mov esi, dword [ebp - 0x300]
test esi, esi
je 0x4e89c6
mov edi, dword [ebp - 0x2fc]
cmp esi, edi
je 0x4e897f
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x4e895f
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4e8955
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e8f6d
mov eax, edx
push ecx
push eax
call fcn.0053d0af
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x4e8926
mov esi, dword [ebp - 0x300]
mov ecx, dword [ebp - 0x2f8]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4e89bc
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e8f6d
push ecx
push esi
call fcn.0053d0af
add esp, 8
mov eax, ebx
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.0053d079
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp - 0x308]
test byte [ebp - 0x2f0], 0x10
mov eax, dword [ebp + 0xc]
je 0x4e8e16
push 0xffffffffffffffff
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x28]
call fcn.004e5a00
push 0xffffffffffffffff
push 0x5b14c4
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 9
call fcn.004e5a00
or ebx, 2
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x304], ebx
jb 0x4e8a35
mov eax, dword [eax]
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp edi, 8
cmovae ecx, edx
mov si, word [ecx]
cmp si, word [eax]
jne 0x4e8a6a
test si, si
je 0x4e8a66
mov si, word [ecx + 2]
cmp si, word [eax + 2]
jne 0x4e8a6a
add ecx, 4
add eax, 4
test si, si
jne 0x4e8a44
xor eax, eax
jmp 0x4e8a6f
sbb eax, eax
or eax, 1
test eax, eax
je 0x4e8ad8
push 0xffffffffffffffff
push 0x5af938
lea ecx, [ebp - 0x40]
call fcn.004e5a00
or ebx, 4
mov dword [ebp - 0x304], ebx
cmp dword [eax + 0x14], 8
jb 0x4e8a93
mov eax, dword [eax]
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp edi, 8
cmovae ecx, edx
mov si, word [ecx]
cmp si, word [eax]
jne 0x4e8ac8
test si, si
je 0x4e8ac4
mov si, word [ecx + 2]
cmp si, word [eax + 2]
jne 0x4e8ac8
add ecx, 4
add eax, 4
test si, si
jne 0x4e8aa2
xor eax, eax
jmp 0x4e8acd
sbb eax, eax
or eax, 1
mov byte [ebp - 0x2f1], 0
test eax, eax
jne 0x4e8adf
mov byte [ebp - 0x2f1], 1
test bl, 4
je 0x4e8b41
mov eax, dword [ebp - 0x2c]
and ebx, 0xfffffffb
mov dword [ebp - 0x304], ebx
cmp eax, 8
jb 0x4e8b2d
mov ecx, dword [ebp - 0x40]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e8b1d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e8f6d
push edx
push ecx
call fcn.0053d0af
mov edi, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 9
test bl, 2
je 0x4e8b96
mov eax, dword [ebp - 0x44]
and ebx, 0xfffffffd
mov dword [ebp - 0x304], ebx
cmp eax, 8
jb 0x4e8b96
mov ecx, dword [ebp - 0x58]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e8b86
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e8f6d
push edx
push ecx
call fcn.0053d0af
mov edi, dword [ebp - 0x14]
add esp, 8
mov edx, dword [ebp - 0x28]
cmp byte [ebp - 0x2f1], 0
jne 0x4e8cb3
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x4e8bb3
test al, 1
je 0x4e8cb3
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x58]
call fcn.00439650
push dword [ebp - 0x18]
or ebx, 0x20
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x304], ebx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00439c70
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004eac20
add esp, 8
mov eax, dword [ebp - 0x2fc]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xc
push ecx
cmp eax, dword [ebp - 0x2f8]
je 0x4e8c1c
mov ecx, eax
call fcn.00439650
add dword [ebp - 0x2fc], 0x18
jmp 0x4e8c28
push eax
lea ecx, [ebp - 0x300]
call fcn.004e4660
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xb
cmp edx, 8
jb 0x4e8c66
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e8c5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e8f6d
push edx
push ecx
call fcn.0053d0af
add esp, 8
mov edx, dword [ebp - 0x44]
and ebx, 0xffffffdf
mov dword [ebp - 0x304], ebx
mov byte [ebp - 4], 9
cmp edx, 8
jb 0x4e8cad
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e8ca3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e8f6d
push edx
push ecx
call fcn.0053d0af
add esp, 8
mov edx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x14]
mov byte [ebp - 4], 8
cmp edi, 8
jb 0x4e8ceb
lea edi, [edi*2 + 2]
mov eax, edx
cmp edi, 0x1000
jb 0x4e8ce1
mov edx, dword [edx - 4]
add edi, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e8f6d
push edi
push edx
call fcn.0053d0af
add esp, 8
mov esi, dword [ebp - 0x308]
lea eax, [ebp - 0x2f0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4e89ec
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp - 0x30c]
lea ecx, [ebp - 0x70]
mov eax, dword [ebp - 0x300]
mov dword [ebp - 0x300], 0
mov dword [ebx], eax
mov eax, dword [ebp - 0x2fc]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x2f8]
mov dword [ebx + 8], eax
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x2f8], 0
call fcn.00430d50
lea ecx, [ebp - 0x88]
call fcn.00430d50
mov esi, dword [ebp - 0x300]
test esi, esi
je 0x4e89c6
mov edi, dword [ebp - 0x2fc]
cmp esi, edi
je 0x4e8dd0
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x4e8db0
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4e8da6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e8f6d
mov eax, edx
push ecx
push eax
call fcn.0053d0af
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x4e8d77
mov esi, dword [ebp - 0x300]
mov ecx, dword [ebp - 0x2f8]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4e89bc
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e8f6d
jmp 0x4e89bc
cmp eax, 0xffffffff
je 0x4e8e23
test al, 2
je 0x4e8cf1
push 0xffffffffffffffff
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x28]
call fcn.004e5a00
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x40]
call fcn.00439650
push dword [ebp - 0x18]
or ebx, 0x40
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x304], ebx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00439c70
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004eac20
add esp, 8
mov eax, dword [ebp - 0x2fc]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xf
push ecx
cmp eax, dword [ebp - 0x2f8]
je 0x4e8e9d
mov ecx, eax
call fcn.00439650
add dword [ebp - 0x2fc], 0x18
jmp 0x4e8ea9
push eax
lea ecx, [ebp - 0x300]
call fcn.004e4660
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0xe
cmp edx, 8
jb 0x4e8ee7
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e8edd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e8f6d
push edx
push ecx
call fcn.0053d0af
add esp, 8
mov edx, dword [ebp - 0x2c]
and ebx, 0xffffffbf
mov dword [ebp - 0x304], ebx
mov byte [ebp - 4], 0xd
cmp edx, 8
jb 0x4e8f2a
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e8f20
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e8f6d
push edx
push ecx
call fcn.0053d0af
add esp, 8
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x4e8cf1
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4e8f5e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e8f6d
push edx
push ecx
call fcn.0053d0af
add esp, 8
jmp 0x4e8cf1
call fcn.0054b0c3
int3