Function at 0x4da560
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63a339
mov eax, dword fs:[0]
push eax
sub esp, 0x2b8
mov eax, dword [0x6d5600]
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 - 0x2c4], 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 0x663c38
push eax
call fcn.0045b850
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 - 0x2c0], eax
cmp eax, 0xffffffff
je 0x4daa37
mov edi, eax
nop dword [eax]
mov ecx, 0x663c40
lea eax, [ebp - 0x288]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4da610
test dl, dl
je 0x4da60c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4da610
add eax, 2
add ecx, 2
test dl, dl
jne 0x4da5f0
xor eax, eax
jmp 0x4da615
sbb eax, eax
or eax, 1
test eax, eax
je 0x4daa1a
mov ecx, 0x663c44
lea eax, [ebp - 0x288]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4da648
test dl, dl
je 0x4da644
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4da648
add eax, 2
add ecx, 2
test dl, dl
jne 0x4da628
xor eax, eax
jmp 0x4da64d
sbb eax, eax
or eax, 1
test eax, eax
je 0x4daa1a
test byte [ebp - 0x2b4], 0x10
jne 0x4daa1a
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 0x4da690
sub ecx, edx
lea eax, [ebp - 0x288]
push ecx
push eax
lea ecx, [ebp - 0x144]
call fcn.00451ee0
mov ecx, dword [ebp + 0x18]
mov eax, SysReAllocString
sub eax, ecx
mov byte [ebp - 4], 1
cmp eax, 1
jb 0x4dac1a
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push 1
cmovae eax, dword [ebp + 8]
push 0x663604
push ecx
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x2c0]
lea ecx, [ebp - 0x174]
call fcn.004bf600
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 0x4da700
sub ecx, edx
lea eax, [ebp - 0x288]
push ecx
push eax
lea ecx, [ebp - 0x174]
call fcn.00451d50
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 - 0x2c4], 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 ecx, dword [ebp - 0x160]
mov byte [ebp - 4], 4
cmp ecx, 0x10
jb 0x4da7a9
mov edx, dword [ebp - 0x174]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4da79f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4dac15
push ecx
push edx
call fcn.005994f5
add esp, 8
cmp dword [ebp - 0x130], 0x10
lea edi, [ebp - 0x144]
mov esi, dword [ebp - 0x144]
lea edx, [ebp - 0x144]
mov eax, dword [ebp - 0x134]
setae cl
cmovae edi, esi
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0xf
mov byte [ebp - 0x174], 0
test cl, cl
je 0x4da7f1
add eax, esi
jmp 0x4da7f9
add eax, edx
lea esi, [ebp - 0x144]
mov dword [ebp - 0x2bc], eax
cmp esi, eax
je 0x4da81d
sub edi, esi
movsx eax, byte [esi]
push eax
call fcn.005e28ed
mov byte [edi + esi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x2bc]
jne 0x4da805
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004d9080
add esp, 8
xor al, al
mov byte [ebp - 4], 5
mov byte [ebp - 0x2b6], al
mov esi, 0x6c4ff8
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 0x4da864
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.0046b6b0
add esp, 0x10
test eax, eax
jne 0x4da8aa
mov cl, byte [esi + 0x18]
mov al, 1
mov byte [ebp - 0x2b5], al
mov byte [ebp - 0x2b6], cl
jmp 0x4da8b0
mov al, byte [ebp - 0x2b5]
add esi, 0x1c
cmp esi, 0x6c5084
jb 0x4da857
test al, al
je 0x4da91c
mov edi, dword [ebp - 0x134]
mov esi, 0x6c5088
nop word [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 0x4da8ee
mov ecx, dword [esi]
push edi
push eax
push dword [esi + 0x10]
push ecx
call fcn.0046b6b0
add esp, 0x10
test eax, eax
je 0x4daa75
add esi, 0x20
cmp esi, 0x6c51c8
jb 0x4da8d0
cmp byte [ebp - 0x2b6], 0
jne 0x4daaad
mov edx, dword [ebp - 0x2bc]
mov eax, dword [ebp - 0x148]
mov byte [ebp - 4], 4
cmp eax, 0x10
jb 0x4da95c
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4da952
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4dac15
push ecx
push edx
call fcn.005994f5
add esp, 8
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
mov byte [ebp - 4], 1
cmp ecx, 0x10
jb 0x4da9b5
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4da9ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4dac15
push ecx
push edx
call fcn.005994f5
add esp, 8
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
mov byte [ebp - 4], 0
cmp ecx, 0x10
jb 0x4daa0e
mov edx, dword [ebp - 0x144]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4daa04
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4dac15
push ecx
push edx
call fcn.005994f5
add esp, 8
mov edi, dword [ebp - 0x2c0]
mov esi, dword [ebp - 0x2c4]
lea eax, [ebp - 0x2b4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4da5e0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x2b5], 0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x4dabf4
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4dabea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4dac15
jmp 0x4dabea
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
push eax
call fcn.004f55a0
mov edx, dword [ebp - 0x294]
add esp, 4
cmp dword [esi + 0x18], edx
jne 0x4daad8
cmp dword [esi + 0x1c], eax
jne 0x4daad1
mov edx, dword [ebp - 0x15c]
jmp 0x4da922
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
push eax
push str.ambiguous_file_for__s
call fcn.004ef1c0
add esp, 8
jmp 0x4daafe
mov esi, str.wrong_crc32__u_for__s
jmp 0x4daadf
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.004ef1c0
add esp, 0xc
mov ecx, dword [ebp - 0x148]
cmp ecx, 0x10
jb 0x4dab38
mov edx, dword [ebp - 0x15c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4dab2e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4dac15
push ecx
push edx
call fcn.005994f5
add esp, 8
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
cmp ecx, 0x10
jb 0x4dab8d
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4dab83
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4dac15
push ecx
push edx
call fcn.005994f5
add esp, 8
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
cmp ecx, 0x10
jb 0x4dabde
mov edx, dword [ebp - 0x144]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4dabd4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4dac15
push ecx
push edx
call fcn.005994f5
add esp, 8
mov byte [ebp - 0x2b5], 1
jmp 0x4daa3e
push ecx
push edx
call fcn.005994f5
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.005994b1
mov esp, ebp
pop ebp
ret
call fcn.005e01aa
call fcn.0044f9e0
int3