Function at 0x50a6d0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68b4ce
mov eax, dword fs:[0]
push eax
sub esp, 0x3a8
mov eax, dword [0x763480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x218]
push 0x6b5ba0
push eax
call fcn.00463c10
add esp, 0xc
lea eax, [ebp - 0x3a0]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x3a8], eax
cmp eax, 0xffffffff
je 0x50ab99
mov esi, eax
nop dword [eax]
mov ecx, 0x6b5ba8
lea eax, [ebp - 0x374]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x50a780
test dl, dl
je 0x50a77c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x50a780
add eax, 2
add ecx, 2
test dl, dl
jne 0x50a760
xor eax, eax
jmp 0x50a785
sbb eax, eax
or eax, 1
test eax, eax
je 0x50ab7c
mov ecx, 0x6b5bac
lea eax, [ebp - 0x374]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x50a7b8
test dl, dl
je 0x50a7b4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x50a7b8
add eax, 2
add ecx, 2
test dl, dl
jne 0x50a798
xor eax, eax
jmp 0x50a7bd
sbb eax, eax
or eax, 1
test eax, eax
je 0x50ab7c
test byte [ebp - 0x3a0], 0x10
lea ecx, [ebp - 0x374]
je 0x50a83c
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
push 0x6b5bb0
push eax
lea eax, [ebp - 0x114]
push str._s_s_s
push eax
call fcn.00463c10
push ecx
mov edx, esp
lea ecx, [ebp - 0x114]
lea esi, [ecx + 1]
mov dword [edx], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov al, byte [ecx]
inc ecx
test al, al
jne 0x50a817
sub ecx, esi
lea eax, [ebp - 0x114]
push ecx
push eax
mov ecx, edx
call fcn.00457e40
call fcn.0050a6d0
add esp, 0x18
jmp 0x50ab76
mov dword [ebp - 0x248], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x50a864
sub ecx, edx
lea eax, [ebp - 0x374]
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.00457e40
mov ecx, dword [ebp + 0x18]
mov eax, closesocket
sub eax, ecx
mov byte [ebp - 4], 1
cmp eax, 1
jb 0x50acd0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push 1
cmovae eax, dword [ebp + 8]
push 0x6b5588
push ecx
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x3ac]
lea ecx, [ebp - 0x260]
call fcn.004dd840
lea ecx, [ebp - 0x374]
mov byte [ebp - 4], 2
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x50a8d0
sub ecx, edx
lea eax, [ebp - 0x374]
push ecx
push eax
lea ecx, [ebp - 0x260]
call fcn.00457cb0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x220], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x24c]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x50a970
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50a966
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50accb
push edx
push ecx
call fcn.005df40c
add esp, 8
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
mov edi, dword [ebp - 0x230]
mov edx, dword [ebp - 0x220]
cmovae eax, edi
add edx, eax
mov dword [ebp - 0x250], 0
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
mov dword [ebp - 0x24c], 0xf
cmovae eax, edi
mov byte [ebp - 0x260], 0
cmp eax, edx
je 0x50a9d3
nop dword [eax]
cmp byte [eax], 0x5c
jne 0x50a9c8
mov byte [eax], 0x2f
inc eax
cmp eax, edx
jne 0x50a9c0
mov edi, dword [ebp - 0x230]
cmp dword [ebp - 0x234], 0x10
lea eax, [ebp - 0x248]
mov edx, dword [ebp - 0x248]
lea ecx, [ebp - 0x248]
cmovae eax, edx
mov dword [ebp - 0x3b0], edx
mov dword [ebp - 0x3b4], eax
lea esi, [ebp - 0x248]
mov eax, dword [ebp - 0x238]
cmovae ecx, edx
add eax, ecx
cmp dword [ebp - 0x234], 0x10
mov dword [ebp - 0x3ac], eax
cmovae esi, edx
cmp esi, eax
je 0x50aa5a
mov edi, dword [ebp - 0x3b4]
sub edi, esi
nop dword [eax + eax]
movsx eax, byte [esi]
push eax
call fcn.00633b4d
mov byte [esi + edi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x3ac]
jne 0x50aa30
mov edx, dword [ebp - 0x248]
mov edi, dword [ebp - 0x230]
mov dword [ebp - 0x3b0], edx
mov esi, 0x7525b0
nop
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
mov ecx, esi
cmovae eax, edi
cmp dword [esi + 0x14], 0x10
jb 0x50aa7a
mov ecx, dword [esi]
push dword [ebp - 0x220]
push eax
push dword [esi + 0x10]
push ecx
call fcn.00479df0
add esp, 0x10
test eax, eax
je 0x50aaa4
add esi, 0x20
cmp esi, 0x752bb0
jb 0x50aa60
mov ecx, dword [ebp - 0x3b0]
jmp 0x50aae1
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
cmovae eax, edi
push eax
call fcn.00525980
mov edx, dword [ebp - 0x380]
add esp, 4
cmp dword [esi + 0x18], edx
jne 0x50abde
cmp dword [esi + 0x1c], eax
jne 0x50abd7
mov ecx, dword [ebp - 0x248]
mov edi, dword [ebp - 0x230]
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x50ab21
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x50ab11
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50accb
push ecx
push edi
call fcn.005df40c
mov ecx, dword [ebp - 0x248]
add esp, 8
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x50ab76
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x50ab6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50accb
push edx
push ecx
call fcn.005df40c
add esp, 8
mov esi, dword [ebp - 0x3a8]
lea eax, [ebp - 0x3a0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x50a750
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x3a1], 0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x50aca5
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50ac9b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50acc6
jmp 0x50ac9b
mov esi, str.wrong_crc32__u_for__s
jmp 0x50abe5
mov esi, str.wrong_size__u_for__s
mov eax, edx
cmp dword [ebp - 0x21c], 0x10
lea ecx, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x230]
push ecx
push eax
push esi
call fcn.0051ef80
mov edx, dword [ebp - 0x21c]
add esp, 0xc
cmp edx, 0x10
jb 0x50ac3e
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50ac34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50accb
push edx
push ecx
call fcn.005df40c
add esp, 8
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
cmp edx, 0x10
jb 0x50ac8f
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50ac85
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50accb
push edx
push ecx
call fcn.005df40c
add esp, 8
mov byte [ebp - 0x3a1], 1
jmp 0x50aba0
push edx
push ecx
call fcn.005df40c
add esp, 8
mov al, byte [ebp - 0x3a1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005df41a
mov esp, ebp
pop ebp
ret
call fcn.00631407
call fcn.00631407
call fcn.004556d0
int3