Function at 0x100189d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cb105
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x100fefb8]
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.10006ac0
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 0x10018a8d
mov edx, dword [esi]
test eax, eax
je 0x10018ab7
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x2f
lea edi, [edx + ecx*2]
je 0x10018ab1
cmp edi, edx
je 0x10018ab7
sub edi, 2
cmp word [edi], 0x2f
jne 0x10018aa4
sub edi, edx
sar edi, 1
jmp 0x10018aba
or edi, 0xffffffff
cmp edi, 0xffffffff
je 0x10018f08
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 0x10018aea
mov eax, dword [esi]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10006da0
push 0x100d9e28
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.100169e0
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 0x10018b44
mov eax, dword [ebp - 0x14]
sub eax, esi
cmp eax, edx
jb 0x10018b44
cmp dword [ecx + 0x14], 8
jb 0x10018b36
mov ecx, dword [ecx]
push edx
push ecx
push 0
lea ecx, [ebp - 0x28]
call fcn.10007550
jmp 0x10018b56
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10006b30
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.10004a00
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.10004a00
push 0x100d9e2c
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.100169e0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x10018bb1
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.10004a00
cmp esi, 0xffffffff
jne 0x10018c08
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.10004a00
lea ecx, [ebp - 0x70]
call fcn.10004a00
mov eax, esi
jmp 0x100190ad
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 0x10018cbd
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 0x100190c8
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 0x10018c83
mov eax, dword [eax]
lea eax, [eax + ecx*2]
push edx
push eax
lea ecx, [ebp - 0x58]
call fcn.10006da0
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 0x10018cc4
mov byte [ebp - 0x2f1], 1
mov eax, dword [ebp - 0x2f8]
test al, 2
je 0x10018d17
mov edx, dword [ebp - 0x44]
and eax, 0xfffffffd
mov dword [ebp - 0x2f8], eax
cmp edx, 8
jb 0x10018d17
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018d07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100190cd
push edx
push ecx
call fcn.100b98ff
mov eax, dword [ebp - 0x2f8]
add esp, 8
cmp byte [ebp - 0x2f1], 0
mov dword [ebp - 0x30c], eax
je 0x10018ea2
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.10019f80
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push esi
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x58]
push eax
call fcn.10006b30
push 1
push 0x100d9e28
lea ecx, [ebp - 0x58]
call fcn.10006b30
lea ecx, [ebp - 0x2c4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10018d87
sub ecx, edx
lea eax, [ebp - 0x2c4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.10006b30
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 0x10018e08
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 0x10018e1b
lea ecx, [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.10016d40
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x10018e59
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018e4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100190cd
push edx
push ecx
call fcn.100b98ff
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 0x10018ea8
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10018e96
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100190cd
push edx
push ecx
call fcn.100b98ff
add esp, 8
jmp 0x10018ea8
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 0x10018c30
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.10017900
jmp 0x10018bf1
cmp dword [esi + 0x14], 8
jb 0x10018f10
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 0x10018f54
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.10004a00
mov eax, esi
jmp 0x100190ad
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 0x1001904a
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 0x10018fa0
sub eax, edx
lea ecx, [ebp - 0x40]
sar eax, 1
push eax
lea eax, [ebp - 0x2c4]
push eax
call fcn.10006da0
mov byte [ebp - 4], 0xa
cmp edi, esi
je 0x10018ff9
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 0x1001900f
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.10016d40
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 9
cmp edx, 8
jb 0x1001904a
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10019040
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100190cd
push edx
push ecx
call fcn.100b98ff
add esp, 8
lea eax, [ebp - 0x2f0]
push eax
push dword [ebp - 0x300]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10018f70
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.10017900
lea ecx, [ebp - 0x70]
call fcn.10004a00
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.100b990d
mov esp, ebp
pop ebp
ret
call fcn.10006a50
call fcn.100bb050
int3