Function at 0x4f5f60
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4ae8
mov eax, dword fs:[0]
push eax
sub esp, 0x4cc
mov eax, dword [0x60f520]
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 [0x6434f8]
test eax, eax
jne 0x4f6670
push 4
call fcn.00551c81
add esp, 4
mov dword [0x6434f8], eax
xorps xmm0, xmm0
mov dword [eax], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00429290
mov dword [ebp - 0x1c], eax
push str.Pbk
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.0040c2d0
mov byte [ebp - 4], 1
movzx eax, byte [0x641979]
push eax
lea eax, [ebp - 0x14]
push eax
push ecx
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004f7a30
mov byte [ebp - 4], 0
or ebx, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4f6025
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5cc2b8
lea ecx, [ebp - 0x14]
call fcn.0040c2d0
mov byte [ebp - 4], 2
movzx eax, byte [0x641979]
push eax
lea eax, [ebp - 0x14]
push eax
push ecx
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004f7a30
mov byte [ebp - 4], 0
mov ecx, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f6072
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5cc2dc
lea ecx, [ebp - 0x14]
call fcn.0040c2d0
mov byte [ebp - 4], 3
movzx eax, byte [0x641979]
push eax
lea eax, [ebp - 0x14]
push eax
push ecx
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004f7a30
mov byte [ebp - 4], 0
mov ecx, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f60bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5cc2d0
lea ecx, [ebp - 0x14]
call fcn.0040c2d0
mov byte [ebp - 4], 4
movzx eax, byte [0x641979]
push eax
lea eax, [ebp - 0x14]
push eax
push ecx
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004f7a30
mov byte [ebp - 4], 0
mov ecx, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f610c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5cc2f4
lea ecx, [ebp - 0x14]
call fcn.0040c2d0
mov byte [ebp - 4], 5
movzx eax, byte [0x641979]
push eax
lea eax, [ebp - 0x14]
push eax
push ecx
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004f7a30
mov byte [ebp - 4], 0
mov ecx, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f6159
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5cc2e8
lea ecx, [ebp - 0x14]
call fcn.0040c2d0
mov byte [ebp - 4], 6
movzx eax, byte [0x641979]
push eax
lea eax, [ebp - 0x14]
push eax
push ecx
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004f7a30
mov byte [ebp - 4], 0
mov ecx, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f61a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5cc308
lea ecx, [ebp - 0x14]
call fcn.0040c2d0
mov byte [ebp - 4], 7
movzx eax, byte [0x641979]
push eax
lea eax, [ebp - 0x14]
push eax
push ecx
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004f7a30
mov byte [ebp - 4], 0
mov ecx, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f61f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5cc300
lea ecx, [ebp - 0x14]
call fcn.0040c2d0
mov byte [ebp - 4], 8
movzx eax, byte [0x641979]
push eax
lea eax, [ebp - 0x14]
push eax
push ecx
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004f7a30
mov byte [ebp - 4], 0
mov ecx, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f6240
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x250
lea eax, [ebp - 0x278]
push 0
push eax
call fcn.00559380
add esp, 0xc
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
call fcn.0050b150
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 9
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4f6408
jmp 0x4f6290
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x14]
call fcn.0040c2d0
mov byte [ebp - 4], 0xa
mov edx, 0x5beef8
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x4f62da
test si, si
je 0x4f62d6
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x4f62da
add ecx, 4
add edx, 4
test si, si
jne 0x4f62b4
xor ecx, ecx
jmp 0x4f62df
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x4f63cd
mov edx, 0x5beefc
mov ecx, eax
mov edi, edi
mov si, word [ecx]
cmp si, word [edx]
jne 0x4f6316
test si, si
je 0x4f6312
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x4f6316
add ecx, 4
add edx, 4
test si, si
jne 0x4f62f0
xor ecx, ecx
jmp 0x4f631b
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x4f63cd
test byte [ebp - 0x278], 0x10
jne 0x4f63cd
cmp dword [eax - 4], 1
jle 0x4f6344
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
call fcn.0040c050
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
mov eax, dword [ebp - 0x14]
push dword [eax - 8]
push eax
call fcn.00551cd2
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4f64d4
mov eax, dword [ebp - 0x14]
cmp ecx, dword [eax - 8]
jg 0x4f64d4
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebp - 0x14]
mov word [eax + ecx*2], dx
lea eax, [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0041a440
mov esi, eax
mov eax, dword [ebp - 0x1c]
cmp esi, eax
je 0x4f63b6
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00419f80
test al, al
jne 0x4f63b3
mov dword [ebp - 0x284], esi
lea eax, [ebp - 0x284]
jmp 0x4f63c2
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0x27c]
cmp dword [eax], edi
jne 0x4f64ba
mov eax, dword [ebp - 0x14]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 9
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f63eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x278]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4f6290
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x250
lea eax, [ebp - 0x4d8]
push 0
push eax
call fcn.00559380
mov ecx, 0x94
mov dword [ebp - 0x24], 0
lea esi, [ebp - 0x4d8]
add esp, 0xc
lea edi, [ebp - 0x278]
mov edx, 0x5beef0
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x24]
call fcn.0050b1d0
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 0xb
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4f660a
jmp 0x4f6470
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x14]
call fcn.0040c2d0
mov byte [ebp - 4], 0xc
mov edx, 0x5beef8
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x4f64de
test si, si
je 0x4f64b6
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x4f64de
add ecx, 4
add edx, 4
test si, si
jne 0x4f6494
xor ecx, ecx
jmp 0x4f64e3
mov eax, dword [0x6434f8]
or ecx, 0xffffffff
mov byte [ebp - 4], 9
mov dword [eax], 1
mov edx, dword [ebp - 0x14]
jmp 0x4f66c5
push 0x80070057
call fcn.0040c390
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x4f65cf
mov edx, 0x5beefc
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x4f6518
test si, si
je 0x4f6514
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x4f6518
add ecx, 4
add edx, 4
test si, si
jne 0x4f64f2
xor ecx, ecx
jmp 0x4f651d
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x4f65cf
test byte [ebp - 0x278], 0x10
jne 0x4f65cf
cmp dword [eax - 4], 1
jle 0x4f6546
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
call fcn.0040c050
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
mov eax, dword [ebp - 0x14]
push dword [eax - 8]
push eax
call fcn.00551cd2
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4f64d4
mov eax, dword [ebp - 0x14]
cmp ecx, dword [eax - 8]
jg 0x4f64d4
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebp - 0x14]
mov word [eax + ecx*2], dx
lea eax, [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0041a440
mov esi, eax
mov eax, dword [ebp - 0x1c]
cmp esi, eax
je 0x4f65b8
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00419f80
test al, al
jne 0x4f65b5
mov dword [ebp - 0x27c], esi
lea eax, [ebp - 0x27c]
jmp 0x4f65c4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x284], eax
lea eax, [ebp - 0x284]
cmp dword [eax], edi
jne 0x4f668e
mov eax, dword [ebp - 0x14]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0xb
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f65ed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x278]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4f6470
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 9
or ebx, 0xffffffff
mov edx, dword [ebp - 0x24]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f662d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4f664b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
push eax
push dword [eax]
lea eax, [ebp - 0x27c]
push eax
call fcn.0041a380
push dword [ebp - 0x1c]
call fcn.00551995
mov eax, dword [0x6434f8]
add esp, 4
mov eax, dword [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.0055199a
mov esp, ebp
pop ebp
ret
mov eax, dword [0x6434f8]
or ebx, 0xffffffff
mov byte [ebp - 4], 0xb
mov ecx, ebx
mov dword [eax], 1
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f66bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov ecx, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f66dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
or ecx, 0xffffffff
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f66fd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
push eax
push dword [eax]
lea eax, [ebp - 0x27c]
push eax
call fcn.0041a380
push dword [ebp - 0x1c]
call fcn.00551995
add esp, 4
mov eax, 1
jmp 0x4f6672