Function at 0x100173a0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10086027
mov eax, dword fs:[0]
push eax
sub esp, 0x4b4
mov eax, dword [0x100b618c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x49c], ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x498], eax
xor eax, eax
mov dword [ebp - 0x490], esi
mov dword [ebp - 0x47c], eax
mov dword [ebp - 0x480], eax
call fcn.100089e0
mov ecx, eax
test ecx, ecx
je 0x10017a80
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x48c], eax
push esi
lea eax, [ebp - 0x48c]
mov dword [ebp - 4], 0
push str._s.
push eax
call fcn.100153b0
add esp, 0xc
lea eax, [ebp - 0x468]
push eax
push dword [ebp - 0x48c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
or edi, 0xffffffff
mov dword [ebp - 0x478], eax
cmp eax, edi
je 0x10017a37
mov esi, eax
nop dword [eax]
nop dword [eax + eax]
cmp word [ebp - 0x43c], 0x2e
je 0x10017a1a
test byte [ebp - 0x468], 0x10
je 0x1001758b
call fcn.100089e0
mov ecx, eax
test ecx, ecx
je 0x10017a80
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x46c], eax
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x46c]
call fcn.1000cd50
test al, al
jne 0x100174e2
lea ecx, [ebp - 0x43c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100174c0
sub ecx, edx
lea eax, [ebp - 0x43c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x46c]
call fcn.1000e820
mov esi, dword [ebp - 0x46c]
mov ecx, 0x1008eb8c
mov byte [ebp - 4], 2
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10017519
test dx, dx
je 0x10017515
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10017519
add eax, 4
add ecx, 4
test dx, dx
jne 0x100174f3
xor eax, eax
jmp 0x1001751e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10017541
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10017a14
mov ecx, dword [esi]
push esi
jmp 0x10017a0f
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1005f8e0
add esp, 0xc
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x490]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ecx, dword [ebp - 0x49c]
lea edx, [ebp - 0x218]
push dword [ebp - 0x498]
push edx
mov eax, dword [ecx]
call dword [eax + 0x20]
jmp 0x10017522
call fcn.100089e0
mov ecx, eax
test ecx, ecx
je 0x10017a80
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x46c], eax
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x46c]
call fcn.1000cd50
test al, al
jne 0x100175f2
lea ecx, [ebp - 0x43c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100175d0
sub ecx, edx
lea eax, [ebp - 0x43c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x46c]
call fcn.1000e820
mov eax, dword [ebp - 0x46c]
mov edx, str.manifest.json
mov byte [ebp - 4], 4
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x10017629
test si, si
je 0x10017625
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x10017629
add ecx, 4
add edx, 4
test si, si
jne 0x10017603
xor ecx, ecx
jmp 0x1001762e
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x100179f9
push dword [ebp - 0x490]
mov dword [ebp - 0x470], ecx
lea ecx, [ebp - 0x470]
call fcn.10010c90
mov byte [ebp - 4], 5
call fcn.100089e0
mov ecx, eax
test ecx, ecx
je 0x10017a80
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x474], eax
push 0x1008ec30
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 6
call fcn.1000cd50
test al, al
jne 0x100176ff
push 0
push 0
push 0xffffffffffffffff
push 0x1008ec30
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edi, [eax - 1]
test edi, edi
jle 0x100176f4
mov esi, dword [ebp - 0x474]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x100176cd
push edi
lea ecx, [ebp - 0x474]
call fcn.1000e780
mov esi, dword [ebp - 0x474]
push edi
push esi
push 0xffffffffffffffff
push 0x1008ec30
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp edi, dword [esi - 8]
jg 0x10017a76
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
jmp 0x10017705
lea ecx, [ebp - 0x474]
call fcn.10015220
mov esi, dword [ebp - 0x474]
mov eax, dword [ebp - 0x470]
mov byte [ebp - 4], 8
mov dword [ebp - 0x484], 0
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x1001772d
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x10017745
call fcn.100089e0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x10017a80
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
push dword [esi - 0xc]
add eax, 0x10
mov dword [ebp - 0x484], eax
mov eax, dword [ebp - 0x47c]
or eax, 1
mov dword [ebp - 0x47c], eax
mov dword [ebp - 0x480], eax
mov dword [ebp - 0x494], eax
mov eax, dword [ebp - 0x470]
push esi
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x484]
push eax
call fcn.10013b70
add esp, 0x14
mov edi, dword [ebp - 0x484]
mov ecx, dword [edi - 0x10]
lea eax, [edi - 0x10]
mov byte [ebp - 4], 9
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x4a8], eax
test ecx, ecx
je 0x100177be
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x100177d6
call fcn.100089e0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x10017a80
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x488], eax
lea edx, [ecx + 2]
mov eax, dword [ebp - 0x47c]
or eax, 2
mov dword [ebp - 0x480], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10017800
sub ecx, edx
lea eax, [ebp - 0x43c]
sar ecx, 1
push ecx
push eax
push dword [edi - 0xc]
lea eax, [ebp - 0x488]
push edi
push eax
call fcn.10013b70
mov eax, dword [ebp - 0x488]
add esp, 0x14
mov edx, dword [ebp - 0x470]
add edx, 0xfffffff0
mov dword [ebp - 0x4a0], edx
lea edi, [eax - 0x10]
cmp edi, edx
je 0x100178aa
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
mov dword [ebp - 0x47c], ecx
jl 0x1001789b
mov ecx, dword [edi]
cmp ecx, dword [edx]
jne 0x1001789b
push edi
call fcn.10013b00
mov edx, dword [ebp - 0x47c]
add esp, 4
mov dword [ebp - 0x4a4], eax
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10017890
mov eax, dword [ebp - 0x4a0]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x4a4]
add eax, 0x10
mov dword [ebp - 0x470], eax
jmp 0x100178aa
push dword [eax - 0xc]
lea ecx, [ebp - 0x470]
push eax
call fcn.1000e820
mov eax, dword [ebp - 0x494]
and eax, 0xfffffffd
mov byte [ebp - 4], 8
mov dword [ebp - 0x480], eax
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x100178d2
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x494]
or edi, 0xffffffff
mov edx, dword [ebp - 0x4a8]
and eax, 0xfffffffc
mov dword [ebp - 0x47c], eax
mov dword [ebp - 0x480], eax
mov eax, edi
mov byte [ebp - 4], 7
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10017908
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10017923
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov dword [ebp - 0x4b0], 0
mov word [ebp - 0x4c0], ax
mov eax, dword [ebp - 0x470]
mov edx, eax
mov dword [ebp - 0x4ac], 7
lea esi, [edx + 2]
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10017950
sub edx, esi
lea ecx, [ebp - 0x4c0]
sar edx, 1
push edx
push eax
call fcn.100094b0
mov esi, dword [ebp - 0x498]
mov byte [ebp - 4], 0xa
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
je 0x100179b8
movups xmm0, xmmword [ebp - 0x4c0]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x4b0]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [esi + 4], 0x18
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x4ac], 7
mov word [ebp - 0x4c0], ax
jmp 0x100179c7
lea ecx, [ebp - 0x4c0]
push ecx
push eax
mov ecx, esi
call fcn.10010370
lea ecx, [ebp - 0x4c0]
call fcn.10007e70
mov edx, dword [ebp - 0x470]
mov eax, edi
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100179f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x46c]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10017a14
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x478]
lea eax, [ebp - 0x468]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10017460
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x48c]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x10017a59
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.10047a96
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.1000cd30
push 0x80004005
call fcn.1000cd30
int3