Function at 0x1001b550
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e8245
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x10124fe8]
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.10006b40
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 0x1001b60d
mov edx, dword [esi]
test eax, eax
je 0x1001b637
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x2f
lea edi, [edx + ecx*2]
je 0x1001b631
cmp edi, edx
je 0x1001b637
sub edi, 2
cmp word [edi], 0x2f
jne 0x1001b624
sub edi, edx
sar edi, 1
jmp 0x1001b63a
or edi, 0xffffffff
cmp edi, 0xffffffff
je 0x1001ba88
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 0x1001b66a
mov eax, dword [esi]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10006e20
push 0x100f4d7c
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.10019560
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 0x1001b6c4
mov eax, dword [ebp - 0x14]
sub eax, esi
cmp eax, edx
jb 0x1001b6c4
cmp dword [ecx + 0x14], 8
jb 0x1001b6b6
mov ecx, dword [ecx]
push edx
push ecx
push 0
lea ecx, [ebp - 0x28]
call fcn.100075d0
jmp 0x1001b6d6
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10006bb0
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.10004a10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.10004a10
push 0x100f4d80
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.10019560
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x1001b731
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.10004a10
cmp esi, 0xffffffff
jne 0x1001b788
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.10004a10
lea ecx, [ebp - 0x70]
call fcn.10004a10
mov eax, esi
jmp 0x1001bc2d
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 0x1001b83d
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 0x1001bc48
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 0x1001b803
mov eax, dword [eax]
lea eax, [eax + ecx*2]
push edx
push eax
lea ecx, [ebp - 0x58]
call fcn.10006e20
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 0x1001b844
mov byte [ebp - 0x2f1], 1
mov eax, dword [ebp - 0x2f8]
test al, 2
je 0x1001b897
mov edx, dword [ebp - 0x44]
and eax, 0xfffffffd
mov dword [ebp - 0x2f8], eax
cmp edx, 8
jb 0x1001b897
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001b887
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001bc4d
push edx
push ecx
call fcn.100bf1af
mov eax, dword [ebp - 0x2f8]
add esp, 8
cmp byte [ebp - 0x2f1], 0
mov dword [ebp - 0x30c], eax
je 0x1001ba22
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.1001cb00
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push esi
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x58]
push eax
call fcn.10006bb0
push 1
push 0x100f4d7c
lea ecx, [ebp - 0x58]
call fcn.10006bb0
lea ecx, [ebp - 0x2c4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001b907
sub ecx, edx
lea eax, [ebp - 0x2c4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.10006bb0
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 0x1001b988
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 0x1001b99b
lea ecx, [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.100198c0
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x1001b9d9
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001b9cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001bc4d
push edx
push ecx
call fcn.100bf1af
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 0x1001ba28
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001ba16
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001bc4d
push edx
push ecx
call fcn.100bf1af
add esp, 8
jmp 0x1001ba28
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 0x1001b7b0
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.1001a480
jmp 0x1001b771
cmp dword [esi + 0x14], 8
jb 0x1001ba90
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 0x1001bad4
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.10004a10
mov eax, esi
jmp 0x1001bc2d
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 0x1001bbca
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 0x1001bb20
sub eax, edx
lea ecx, [ebp - 0x40]
sar eax, 1
push eax
lea eax, [ebp - 0x2c4]
push eax
call fcn.10006e20
mov byte [ebp - 4], 0xa
cmp edi, esi
je 0x1001bb79
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 0x1001bb8f
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.100198c0
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 9
cmp edx, 8
jb 0x1001bbca
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001bbc0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001bc4d
push edx
push ecx
call fcn.100bf1af
add esp, 8
lea eax, [ebp - 0x2f0]
push eax
push dword [ebp - 0x300]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1001baf0
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.1001a480
lea ecx, [ebp - 0x70]
call fcn.10004a10
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.100bf1bd
mov esp, ebp
pop ebp
ret
call fcn.10006ad0
call fcn.100ca489
int3