Function at 0x569d40
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5db751
mov eax, dword fs:[0]
push eax
sub esp, 0x348
mov eax, dword [0x645624]
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 esi, ecx
mov ebx, dword [ebp + 8]
push str.Loading_license_references...
push 4
mov dword [ebp - 0x34c], ebx
call fcn.00561a10
push dword [ebp - 0x348]
push ebx
push dword [ebx + 4]
push dword [ebx]
call fcn.0046e900
mov eax, dword [ebx]
add esp, 0x18
mov dword [ebx + 4], eax
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp byte [esi + 4], 0
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push eax
je 0x569dc8
call fcn.00565cc0
jmp 0x569dcd
call fcn.00565b60
add esp, 4
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.0049b870
add esp, 4
test eax, eax
jne 0x569e25
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
mov ecx, esi
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00569c00
mov esi, eax
test esi, esi
je 0x56a231
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
push str.Couldnt_read_licenses_from_the_License_Store_:__s
push 2
call fcn.00561a10
add esp, 0xc
jmp 0x56a233
xor esi, esi
mov dword [ebp - 0x354], str..lic
mov dword [ebp - 0x350], str..lc2
mov dword [ebp - 0x344], esi
push 0x60c330
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00482b80
mov ebx, dword [ebp + esi*4 - 0x354]
push ebx
push eax
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x33c], ebx
call fcn.00468ce0
add esp, 0x18
mov eax, dword [ebp - 0x8c]
mov byte [ebp - 4], 3
cmp eax, 0x10
jb 0x569ec8
mov ecx, dword [ebp - 0xa0]
inc eax
cmp eax, 0x1000
jb 0x569ebf
test cl, 0x1f
jne 0x56a268
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x56a268
sub ecx, eax
cmp ecx, 4
jb 0x56a268
cmp ecx, 0x23
ja 0x56a268
mov ecx, eax
push ecx
call fcn.0053bd50
add esp, 4
cmp dword [ebp - 0x74], 0x10
lea eax, [ebp - 0x88]
mov dword [ebp - 0x8c], 0xf
cmovae eax, dword [ebp - 0x88]
push eax
mov dword [ebp - 0x90], 0
mov byte [ebp - 0xa0], 0
call fcn.0049bd40
add esp, 4
mov dword [ebp - 0x348], eax
lea ecx, [ebp - 0x338]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x340], eax
cmp eax, 0xffffffff
je 0x56a1ed
mov eax, dword [ebp - 0x338]
xor eax, 0x11716
je 0x56a1c6
lea eax, [ebp - 0x30c]
push eax
call fcn.0049bda0
mov esi, eax
mov dword [ebp - 0x5c], 0xf
add esp, 4
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
cmp byte [esi], 0
jne 0x569f5d
xor eax, eax
jmp 0x569f6b
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x569f62
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x70]
call fcn.0045f8d0
push esi
mov byte [ebp - 4], 4
call fcn.00593b50
add esp, 4
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp byte [ebx], 0
jne 0x569f9d
xor ecx, ecx
jmp 0x569fab
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x569fa2
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x40]
call fcn.0045f8d0
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x40]
mov ebx, dword [ebp - 0x30]
lea ecx, [ebp - 0x70]
mov esi, dword [ebp - 0x40]
cmp edi, 0x10
push ebx
cmovae eax, esi
mov byte [ebp - 4], 5
push 0xffffffffffffffff
push eax
call fcn.00467910
mov ecx, eax
cmp ecx, 0xffffffff
je 0x569feb
mov eax, dword [ebp - 0x60]
sub eax, ebx
cmp ecx, eax
jne 0x569feb
mov al, 1
jmp 0x569fed
xor al, al
test al, al
je 0x56a14e
push 0x60a09c
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00482b80
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00487550
add esp, 0x18
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 8
cmp eax, 0x10
jb 0x56a06f
mov ecx, dword [ebp - 0xb8]
inc eax
cmp eax, 0x1000
jb 0x56a066
test cl, 0x1f
jne 0x56a268
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x56a268
sub ecx, eax
cmp ecx, 4
jb 0x56a268
cmp ecx, 0x23
ja 0x56a268
mov ecx, eax
push ecx
call fcn.0053bd50
add esp, 4
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0xa4], 0xf
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
call fcn.0049b840
add esp, 4
test eax, eax
lea eax, [ebp - 0x28]
je 0x56a289
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0049b810
add esp, 4
test eax, eax
lea eax, [ebp - 0x28]
je 0x56a26d
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0xe8]
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0049b7d0
add esp, 8
test eax, eax
jne 0x56a0fe
mov eax, dword [ebp - 0xd4]
cmp eax, dword [0x5f86fc]
jae 0x56a0fe
mov ecx, dword [ebp - 0x34c]
lea eax, [ebp - 0x70]
push eax
call fcn.004792d0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, 0x10
jb 0x56a148
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x1000
jb 0x56a13f
test cl, 0x1f
jne 0x56a268
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x56a268
sub ecx, eax
cmp ecx, 4
jb 0x56a268
cmp ecx, 0x23
ja 0x56a268
mov ecx, eax
push ecx
call fcn.0053bd50
add esp, 4
mov esi, dword [ebp - 0x40]
mov edi, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
cmp edi, 0x10
jb 0x56a195
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x56a18c
test byte [ebp - 0x40], 0x1f
jne 0x56a268
mov eax, dword [esi - 4]
cmp eax, esi
jae 0x56a268
sub esi, eax
cmp esi, 4
jb 0x56a268
cmp esi, 0x23
ja 0x56a268
mov esi, eax
push esi
call fcn.0053bd50
add esp, 4
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 3
cmp eax, 0x10
jb 0x56a1c0
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00459720
mov ebx, dword [ebp - 0x33c]
lea eax, [ebp - 0x338]
push eax
push dword [ebp - 0x340]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x569f20
mov eax, dword [ebp - 0x340]
mov esi, dword [ebp - 0x344]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x348]
call fcn.00593b50
mov eax, dword [ebp - 0x74]
add esp, 4
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x56a221
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00459720
inc esi
mov dword [ebp - 0x344], esi
cmp esi, 2
jl 0x569e41
xor esi, esi
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x56a248
inc ecx
push ecx
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.00459720
mov eax, esi
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.0057b676
mov esp, ebp
pop ebp
ret 4
call fcn.0059357c
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push eax
push str.GetAllLicenseRefs::file_path_is_not_writable__s
push 2
call fcn.00561a10
mov esi, 5
jmp 0x56a2a3
cmp dword [ebp - 0x14], 0x10
cmovae eax, dword [ebp - 0x28]
push eax
push str.GetAllLicenseRefs::read_permission_error___s
push 2
call fcn.00561a10
mov esi, 4
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp eax, 0x10
jb 0x56a2bb
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00459720
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x56a2e2
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00459720
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 0x10
jb 0x56a309
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00459720
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
cmp eax, 0x10
jb 0x56a233
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00459720
jmp 0x56a233