Function at 0x10017dc0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10070c1b
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x10085510]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
push 0xdf
push str.skp::CSKPApi::GetDevInfo
push str._s__d
push ebx
mov dword [ebp - 4], ebx
call fcn.1006cba0
push eax
call fcn.1006dd30
mov eax, dword [0x10087154]
mov esi, 0x10
add esp, 0x14
cmp dword [0x10087168], esi
jae 0x10017e34
mov eax, 0x10087154
push eax
push str.gSoftDir:_s
push ebx
call fcn.1006cba0
push eax
call fcn.1006dd30
add esp, 0x10
cmp dword [0x1008866c], ebx
je 0x10018053
cmp dword [0x10087164], ebx
je 0x10018053
lea eax, [ebp - 0x2c]
push eax
call fcn.10017ab0
mov esi, eax
cmp esi, ebx
je 0x10017e89
cmp dword [ebp - 0x18], 0x10
jb 0x10017e82
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.10053416
add esp, 4
mov eax, esi
jmp 0x10018069
cmp dword [ebp - 0x18], 0x10
mov esi, dword [ebp - 0x2c]
jae 0x10017e95
lea esi, [ebp - 0x2c]
push 0xffffffffffffffff
push ebx
push 0x10087154
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.10004ab0
push ebx
push 0x1007d581
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.10004990
push 5
push str..inf
lea ecx, [ebp - 0x48]
call fcn.10004990
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x10017edf
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x1e0]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1e4], eax
cmp eax, 0xffffffff
jne 0x10017f12
lea ecx, [ebp - 0x48]
call fcn.10003c90
lea ecx, [ebp - 0x2c]
call fcn.10003c90
mov eax, 0x73
jmp 0x10018069
push 0x1007d581
lea ecx, [ebp - 0x9c]
call fcn.10003c50
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1b4]
push 0x5f
push eax
call fcn.100535a0
add esp, 8
test eax, eax
jne 0x10018007
mov edx, esi
lea ecx, [ebp - 0x1b4]
call fcn.10017790
test eax, eax
je 0x10018007
lea eax, [ebp - 0x1b4]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10017f70
sub eax, edx
push eax
lea ecx, [ebp - 0x1b4]
push ecx
lea ecx, [ebp - 0x64]
call fcn.100040d0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x54]
add edx, 0xfffffffc
push edx
push ebx
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x64]
call fcn.1000cc00
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.10003fa0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x6c], 0x10
jb 0x10017fc4
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.10053416
add esp, 4
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10017fd0
sub eax, edx
push eax
push esi
lea ecx, [edi + 0x1c]
call fcn.100040d0
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x64]
push edx
mov ecx, edi
call fcn.10004ab0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 0x10
jb 0x10018007
mov eax, dword [ebp - 0x64]
push eax
call fcn.10053416
add esp, 4
mov edx, dword [ebp - 0x1e4]
lea ecx, [ebp - 0x1e0]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10017f26
mov eax, dword [ebp - 0x1e4]
cmp eax, ebx
je 0x10018034
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x9c]
call fcn.10003c90
lea ecx, [ebp - 0x48]
call fcn.10003c90
lea ecx, [ebp - 0x2c]
call fcn.10003c90
xor eax, eax
jmp 0x10018069
cmp dword [ebp - 0x18], esi
jb 0x10018064
mov eax, dword [ebp - 0x2c]
push eax
call fcn.10053416
add esp, 4
mov eax, 0x79
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10052dab
mov esp, ebp
pop ebp
ret