Function at 0x10023630
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10102725
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x10143118]
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.1000a2f0
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 0x100236ed
mov edx, dword [esi]
test eax, eax
je 0x10023717
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x2f
lea edi, [edx + ecx*2]
je 0x10023711
cmp edi, edx
je 0x10023717
sub edi, 2
cmp word [edi], 0x2f
jne 0x10023704
sub edi, edx
sar edi, 1
jmp 0x1002371a
or edi, 0xffffffff
cmp edi, 0xffffffff
je 0x10023b68
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 0x1002374a
mov eax, dword [esi]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.1000a5d0
push 0x10110c20
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.10021540
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 0x100237a4
mov eax, dword [ebp - 0x14]
sub eax, esi
cmp eax, edx
jb 0x100237a4
cmp dword [ecx + 0x14], 8
jb 0x10023796
mov ecx, dword [ecx]
push edx
push ecx
push 0
lea ecx, [ebp - 0x28]
call fcn.1000ae10
jmp 0x100237b6
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.1000a360
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.10007650
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.10007650
push 0x10110c24
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.10021540
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x10023811
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.10007650
cmp esi, 0xffffffff
jne 0x10023868
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.10007650
lea ecx, [ebp - 0x70]
call fcn.10007650
mov eax, esi
jmp 0x10023d0d
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 0x1002391d
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 0x10023d28
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 0x100238e3
mov eax, dword [eax]
lea eax, [eax + ecx*2]
push edx
push eax
lea ecx, [ebp - 0x58]
call fcn.1000a5d0
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 0x10023924
mov byte [ebp - 0x2f1], 1
mov eax, dword [ebp - 0x2f8]
test al, 2
je 0x10023977
mov edx, dword [ebp - 0x44]
and eax, 0xfffffffd
mov dword [ebp - 0x2f8], eax
cmp edx, 8
jb 0x10023977
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10023967
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023d2d
push edx
push ecx
call fcn.100d92cf
mov eax, dword [ebp - 0x2f8]
add esp, 8
cmp byte [ebp - 0x2f1], 0
mov dword [ebp - 0x30c], eax
je 0x10023b02
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.100249a0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push esi
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x58]
push eax
call fcn.1000a360
push 1
push 0x10110c20
lea ecx, [ebp - 0x58]
call fcn.1000a360
lea ecx, [ebp - 0x2c4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100239e7
sub ecx, edx
lea eax, [ebp - 0x2c4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.1000a360
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 0x10023a68
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 0x10023a7b
lea ecx, [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.100218a0
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x10023ab9
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10023aaf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023d2d
push edx
push ecx
call fcn.100d92cf
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 0x10023b08
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10023af6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023d2d
push edx
push ecx
call fcn.100d92cf
add esp, 8
jmp 0x10023b08
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 0x10023890
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.100224a0
jmp 0x10023851
cmp dword [esi + 0x14], 8
jb 0x10023b70
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 0x10023bb4
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.10007650
mov eax, esi
jmp 0x10023d0d
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 0x10023caa
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 0x10023c00
sub eax, edx
lea ecx, [ebp - 0x40]
sar eax, 1
push eax
lea eax, [ebp - 0x2c4]
push eax
call fcn.1000a5d0
mov byte [ebp - 4], 0xa
cmp edi, esi
je 0x10023c59
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 0x10023c6f
lea eax, [ebp - 0x40]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.100218a0
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 9
cmp edx, 8
jb 0x10023caa
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10023ca0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023d2d
push edx
push ecx
call fcn.100d92cf
add esp, 8
lea eax, [ebp - 0x2f0]
push eax
push dword [ebp - 0x300]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10023bd0
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.100224a0
lea ecx, [ebp - 0x70]
call fcn.10007650
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.100d92f9
mov esp, ebp
pop ebp
ret
call fcn.1000a210
call fcn.100e45a9
int3