Function at 0x100170b0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100beed5
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x100edfa8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x70]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x2fc], eax
mov dword [ebp - 0x30c], eax
xor eax, eax
mov dword [ebp - 0x308], 0
push 0x108
mov dword [ebp - 0x304], esi
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.10007500
mov edx, eax
mov dword [ebp - 0x60], 0x104
xor eax, eax
mov dword [ebp - 0x5c], 0x107
mov ecx, 0x82
mov edi, edx
rep stosd dword es:[edi], eax
mov word [edx + 0x208], ax
mov dword [ebp - 0x70], edx
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 4], eax
lea eax, [ebp - 0x70]
push 0x104
cmovae eax, edx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [esi + 0x14], 8
mov edx, esi
mov eax, dword [esi + 0x10]
jb 0x1001716d
mov edx, dword [esi]
test eax, eax
je 0x10017197
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x2f
lea edi, [edx + ecx*2]
je 0x10017191
cmp edi, edx
je 0x10017197
sub edi, 2
cmp word [edi], 0x2f
jne 0x10017184
sub edi, edx
sar edi, 1
jmp 0x1001719a
or edi, 0xffffffff
cmp edi, 0xffffffff
je 0x100175e8
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [esi + 0x10], edi
mov ecx, edi
mov word [ebp - 0x28], ax
mov eax, esi
cmovb ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x14], 7
jb 0x100171ca
mov eax, dword [esi]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.100077e0
push 0x100cc944
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.100150a0
add esp, 0xc
mov ecx, eax
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x10]
sub eax, edx
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 2
cmp esi, eax
jbe 0x10017224
mov eax, dword [ebp - 0x14]
sub eax, esi
cmp eax, edx
jb 0x10017224
cmp dword [ecx + 0x14], 8
jb 0x10017216
mov ecx, dword [ecx]
push edx
push ecx
push 0
lea ecx, [ebp - 0x28]
call fcn.10007ad0
jmp 0x10017236
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10007570
movups xmm0, xmmword [eax]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
movq qword [ebp - 0x30], xmm0
lea ecx, [ebp - 0x88]
call fcn.10005ea0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.10005ea0
push 0x100cc948
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.100150a0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x10017291
mov eax, dword [eax]
lea ecx, [ebp - 0x2f0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x300], esi
call fcn.10005ea0
cmp esi, 0xffffffff
jne 0x100172e8
mov esi, dword [ebp - 0x2fc]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [ebp - 0x40]
call fcn.10005ea0
lea ecx, [ebp - 0x70]
call fcn.10005ea0
mov eax, esi
jmp 0x1001778d
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov esi, 0xc
mov byte [ebp - 4], 6
mov dword [ebp - 0x2f8], esi
nop word [eax + eax]
test byte [ebp - 0x2f0], 0x10
jne 0x1001739d
xor eax, eax
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
lea ecx, [edi + 1]
mov eax, dword [ebp - 0x304]
mov dword [ebp - 0x44], 7
mov eax, dword [eax + 0x10]
cmp eax, ecx
jb 0x100177a8
sub eax, ecx
or edx, 0xffffffff
cmp eax, 0xffffffff
cmovb edx, eax
mov eax, dword [ebp - 0x304]
mov ecx, eax
cmp dword [ecx + 0x14], 8
lea ecx, [edi + 1]
jb 0x10017363
mov eax, dword [eax]
lea eax, [eax + ecx*2]
push edx
push eax
lea ecx, [ebp - 0x58]
call fcn.100077e0
or esi, 0x12
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x2f8], esi
cmovae eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x2c4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
mov byte [ebp - 0x2f1], 0
test eax, eax
je 0x100173a4
mov byte [ebp - 0x2f1], 1
mov eax, dword [ebp - 0x2f8]
test al, 2
je 0x100173f7
mov edx, dword [ebp - 0x44]
and eax, 0xfffffffd
mov dword [ebp - 0x2f8], eax
cmp edx, 8
jb 0x100173f7
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100173e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100177ad
push edx
push ecx
call fcn.100ad9ff
mov eax, dword [ebp - 0x2f8]
add esp, 8
cmp byte [ebp - 0x2f1], 0
mov dword [ebp - 0x30c], eax
je 0x10017582
mov esi, dword [ebp - 0x30]
or eax, 0x20
xor ecx, ecx
mov dword [ebp - 0x308], eax
mov word [ebp - 0x58], cx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
lea eax, [esi + 1]
mov dword [ebp - 0x48], 0
push eax
mov dword [ebp - 0x44], 7
call fcn.100186c0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push esi
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x58]
push eax
call fcn.10007570
push 1
push 0x100cc944
lea ecx, [ebp - 0x58]
call fcn.10007570
lea ecx, [ebp - 0x2c4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10017467
sub ecx, edx
lea eax, [ebp - 0x2c4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.10007570
mov esi, dword [ebp - 0x30c]
xor ecx, ecx
or esi, 0x60
mov dword [ebp - 0x308], esi
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movups xmmword [ebp - 0x88], xmm0
mov word [eax], cx
movq qword [ebp - 0x78], xmm1
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 8
cmp dword [ebp - 0x14], eax
je 0x100174e8
mov dword [eax + 0x10], ecx
lea edx, [ecx + 7]
mov dword [eax + 0x14], ecx
movups xmmword [eax], xmm0
mov word [ebp - 0x88], cx
movq qword [eax + 0x10], xmm1
add eax, 0x18
mov dword [ebp - 0x18], eax
jmp 0x100174fb
lea ecx, [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.10015400
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x10017539
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001752f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100177ad
push edx
push ecx
call fcn.100ad9ff
add esp, 8
mov edx, dword [ebp - 0x44]
and esi, 0xffffffdf
mov dword [ebp - 0x2f8], esi
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x10017588
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10017576
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100177ad
push edx
push ecx
call fcn.100ad9ff
add esp, 8
jmp 0x10017588
mov esi, dword [ebp - 0x2f8]
lea eax, [ebp - 0x2f0]
push eax
push dword [ebp - 0x300]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10017310
push dword [ebp - 0x300]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x2fc]
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.10015fc0
jmp 0x100172d1
cmp dword [esi + 0x14], 8
jb 0x100175f0
mov esi, dword [esi]
lea eax, [ebp - 0x2f0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x300], esi
cmp esi, 0xffffffff
jne 0x10017634
mov esi, dword [ebp - 0x2fc]
lea ecx, [ebp - 0x70]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.10005ea0
mov eax, esi
jmp 0x1001778d
xor esi, esi
mov dword [ebp - 0x1c], 0
xor edi, edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 9
nop dword [eax]
test byte [ebp - 0x2f0], 0x10
jne 0x1001772a
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x2c4]
mov dword [ebp - 0x2c], 7
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10017680
sub eax, edx
lea ecx, [ebp - 0x40]
sar eax, 1
push eax
lea eax, [ebp - 0x2c4]
push eax
call fcn.100077e0
mov byte [ebp - 4], 0xa
cmp edi, esi
je 0x100176d9
movups xmm0, xmmword [ebp - 0x40]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov edx, 7
movups xmmword [esi], xmm0
mov word [ebp - 0x40], ax
movq xmm0, qword [ebp - 0x30]
movq qword [esi + 0x10], xmm0
add esi, 0x18
mov dword [ebp - 0x18], esi
jmp 0x100176ef
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.10015400
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 9
cmp edx, 8
jb 0x1001772a
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10017720
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100177ad
push edx
push ecx
call fcn.100ad9ff
add esp, 8
lea eax, [ebp - 0x2f0]
push eax
push dword [ebp - 0x300]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10017650
push dword [ebp - 0x300]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x2fc]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ecx], eax
mov dword [ecx + 4], esi
mov dword [ecx + 8], edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
call fcn.10015fc0
lea ecx, [ebp - 0x70]
call fcn.10005ea0
mov eax, dword [ebp - 0x2fc]
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.100ada0d
mov esp, ebp
pop ebp
ret
call fcn.10007490
call fcn.100af180
int3