Function at 0x50a000
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68b469
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
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
xor esi, esi
mov dword [ebp - 0x2c0], esi
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
mov dword [ebp - 4], esi
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x114]
push 0x6b5ba0
push eax
call fcn.00463c10
add esp, 0xc
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x2c4], eax
cmp eax, 0xffffffff
je 0x50a4e7
mov edi, eax
nop dword [eax]
mov ecx, 0x6b5ba8
lea eax, [ebp - 0x288]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x50a0b0
test dl, dl
je 0x50a0ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x50a0b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x50a090
xor eax, eax
jmp 0x50a0b5
sbb eax, eax
or eax, 1
test eax, eax
je 0x50a4ca
mov ecx, 0x6b5bac
lea eax, [ebp - 0x288]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x50a0e8
test dl, dl
je 0x50a0e4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x50a0e8
add eax, 2
add ecx, 2
test dl, dl
jne 0x50a0c8
xor eax, eax
jmp 0x50a0ed
sbb eax, eax
or eax, 1
test eax, eax
je 0x50a4ca
test byte [ebp - 0x2b4], 0x10
jne 0x50a4ca
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x134], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x50a130
sub ecx, edx
lea eax, [ebp - 0x288]
push ecx
push eax
lea ecx, [ebp - 0x144]
call fcn.00457e40
mov ecx, dword [ebp + 0x18]
mov eax, closesocket
sub eax, ecx
mov byte [ebp - 4], 1
cmp eax, 1
jb 0x50a6ca
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 - 0x2c8]
lea ecx, [ebp - 0x174]
call fcn.004dd840
or esi, 1
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 2
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x50a1a0
sub ecx, edx
lea eax, [ebp - 0x288]
push ecx
push eax
lea ecx, [ebp - 0x174]
call fcn.00457cb0
mov dword [ebp - 0x12c], 0
or esi, 2
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x2c0], esi
movups xmmword [ebp - 0x12c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x11c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x160]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x50a249
mov ecx, dword [ebp - 0x174]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50a23f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50a6c5
push edx
push ecx
call fcn.005df40c
add esp, 8
cmp dword [ebp - 0x130], 0x10
lea eax, [ebp - 0x144]
mov edx, dword [ebp - 0x144]
lea ecx, [ebp - 0x144]
cmovae eax, edx
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x2bc], eax
lea edi, [ebp - 0x144]
mov eax, dword [ebp - 0x134]
cmovae ecx, edx
add eax, ecx
mov dword [ebp - 0x160], 0xf
cmp dword [ebp - 0x130], 0x10
mov byte [ebp - 0x174], 0
cmovae edi, edx
mov dword [ebp - 0x2c8], eax
cmp edi, eax
je 0x50a2cb
mov esi, dword [ebp - 0x2bc]
sub esi, edi
movsx eax, byte [edi]
push eax
call fcn.00633b4d
mov byte [esi + edi], al
add esp, 4
inc edi
cmp edi, dword [ebp - 0x2c8]
jne 0x50a2b3
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.005087f0
add esp, 8
xor al, al
mov byte [ebp - 4], 5
mov byte [ebp - 0x2b6], al
mov esi, 0x752bb0
mov eax, dword [ebp - 0x15c]
mov byte [ebp - 0x2b5], 0
mov dword [ebp - 0x2bc], eax
cmp dword [esi + 0x14], 0x10
mov edx, esi
mov edi, dword [esi + 0x10]
jb 0x50a312
mov edx, dword [esi]
cmp dword [ebp - 0x14c], edi
lea eax, [ebp - 0x15c]
mov ecx, edi
cmovb ecx, dword [ebp - 0x14c]
cmp dword [ebp - 0x148], 0x10
push edi
cmovae eax, dword [ebp - 0x2bc]
push edx
push ecx
push eax
call fcn.00479df0
add esp, 0x10
test eax, eax
jne 0x50a358
mov ch, byte [esi + 0x18]
mov cl, 1
mov byte [ebp - 0x2b5], cl
mov byte [ebp - 0x2b6], ch
jmp 0x50a35e
mov cl, byte [ebp - 0x2b5]
add esi, 0x1c
cmp esi, 0x752c3c
jb 0x50a305
test cl, cl
je 0x50a3cc
mov edi, dword [ebp - 0x134]
mov esi, 0x752c40
nop dword [eax + eax]
cmp dword [ebp - 0x130], 0x10
lea eax, [ebp - 0x144]
mov ecx, esi
cmovae eax, dword [ebp - 0x144]
cmp dword [esi + 0x14], 0x10
jb 0x50a39e
mov ecx, dword [esi]
push edi
push eax
push dword [esi + 0x10]
push ecx
call fcn.00479df0
add esp, 0x10
test eax, eax
je 0x50a525
add esi, 0x20
cmp esi, 0x752d80
jb 0x50a380
cmp byte [ebp - 0x2b6], 0
jne 0x50a55d
mov edx, dword [ebp - 0x2bc]
mov eax, dword [ebp - 0x148]
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x50a40c
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x50a402
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50a6c5
push ecx
push edx
call fcn.005df40c
add esp, 8
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x50a465
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50a45b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50a6c5
push edx
push ecx
call fcn.005df40c
add esp, 8
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x50a4be
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50a4b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50a6c5
push edx
push ecx
call fcn.005df40c
add esp, 8
mov edi, dword [ebp - 0x2c4]
mov esi, dword [ebp - 0x2c0]
lea eax, [ebp - 0x2b4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x50a080
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x2b5], 0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x50a6a4
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50a69a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50a6c5
jmp 0x50a69a
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
push eax
call fcn.00525980
mov edx, dword [ebp - 0x294]
add esp, 4
cmp dword [esi + 0x18], edx
jne 0x50a588
cmp dword [esi + 0x1c], eax
jne 0x50a581
mov edx, dword [ebp - 0x15c]
jmp 0x50a3d2
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
push eax
push str.ambiguous_file_for__s
call fcn.0051ef80
add esp, 8
jmp 0x50a5ae
mov esi, str.wrong_crc32__u_for__s
jmp 0x50a58f
mov esi, str.wrong_size__u_for__s
mov eax, edx
cmp dword [ebp - 0x118], 0x10
lea ecx, [ebp - 0x12c]
cmovae ecx, dword [ebp - 0x12c]
push ecx
push eax
push esi
call fcn.0051ef80
add esp, 0xc
mov edx, dword [ebp - 0x148]
cmp edx, 0x10
jb 0x50a5e8
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50a5de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50a6c5
push edx
push ecx
call fcn.005df40c
add esp, 8
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
cmp edx, 0x10
jb 0x50a63d
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50a633
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50a6c5
push edx
push ecx
call fcn.005df40c
add esp, 8
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
cmp edx, 0x10
jb 0x50a68e
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x50a684
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x50a6c5
push edx
push ecx
call fcn.005df40c
add esp, 8
mov byte [ebp - 0x2b5], 1
jmp 0x50a4ee
push edx
push ecx
call fcn.005df40c
add esp, 8
mov al, byte [ebp - 0x2b5]
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.004556d0
int3