Function at 0x100a80d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ec
mov eax, dword [0x10100008]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp + 0x18]
push ebx
push esi
push edi
lea edx, [eax - 1]
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
mov edi, ecx
cmp eax, edx
jb 0x100a875c
sub eax, edx
mov ecx, 1
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
add eax, edx
lea ecx, [ebp - 0x1c]
push eax
call fcn.100b2e90
mov edx, 0x100fb35c
lea ecx, [ebp - 0x1c]
call fcn.100b32b0
mov edx, dword [ebp - 8]
mov bl, al
cmp edx, 0x10
jb 0x100a8176
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a816c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a876b
push edx
push ecx
call fcn.100becc4
add esp, 8
mov eax, dword [ebp + 0x18]
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0xf
mov byte [ebp - 0x1a8], 0
test bl, bl
jne 0x100a826f
add eax, 2
push eax
call fcn.100b5850
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
mov esi, dword [ebp - 0x194]
mov eax, esi
cmovae ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x198]
sub eax, edx
push ebx
push ecx
cmp ebx, eax
ja 0x100a81fa
lea eax, [edx + ebx]
cmp esi, 0x10
mov dword [ebp - 0x198], eax
lea eax, [ebp - 0x1a8]
cmovae eax, dword [ebp - 0x1a8]
lea esi, [eax + edx]
push esi
call fcn.100c21a0
add esp, 0xc
mov byte [esi + ebx], 0
jmp 0x100a8213
mov byte [ebp - 0x1ac], 0
lea ecx, [ebp - 0x1a8]
push dword [ebp - 0x1ac]
push ebx
call fcn.100b4330
push 0x100fb4c8
lea ecx, [ebp - 0x1a8]
call fcn.100b2580
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp + 8]
call fcn.100b2640
mov edx, dword [ebp - 0x194]
cmp edx, 0x10
jb 0x100a8337
mov ecx, dword [ebp - 0x1a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a832d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a8761
jmp 0x100a832d
inc eax
push eax
call fcn.100b5850
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
mov esi, dword [ebp - 0x194]
mov eax, esi
cmovae ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x198]
sub eax, edx
push ebx
push ecx
cmp ebx, eax
ja 0x100a82c5
lea eax, [ebx + edx]
cmp esi, 0x10
mov dword [ebp - 0x198], eax
lea eax, [ebp - 0x1a8]
cmovae eax, dword [ebp - 0x1a8]
lea esi, [eax + edx]
push esi
call fcn.100c21a0
add esp, 0xc
mov byte [esi + ebx], 0
jmp 0x100a82de
mov byte [ebp - 0x1ac], 0
lea ecx, [ebp - 0x1a8]
push dword [ebp - 0x1ac]
push ebx
call fcn.100b4330
push 0x100f5bc8
lea ecx, [ebp - 0x1a8]
call fcn.100b2580
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp + 8]
call fcn.100b2640
mov edx, dword [ebp - 0x194]
cmp edx, 0x10
jb 0x100a8337
mov ecx, dword [ebp - 0x1a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a832d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a8766
push edx
push ecx
call fcn.100becc4
add esp, 8
push 0
push 0x100f1e88
mov ecx, edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
call fcn.100b2e90
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x190]
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
mov dword [ebp - 0x1ac], ebx
nop word [eax + eax]
lea eax, [ebp - 0x164]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
lea edx, [eax + 1]
mov byte [ebp - 0x1c], 0
nop dword [eax + eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100a83a0
sub eax, edx
lea ecx, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.100b2e90
test byte [ebp - 0x190], 0x10
jne 0x100a86cc
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0xf
mov byte [ebp - 0x1c8], 0
lea ecx, [eax - 2]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
lea ecx, [ebp - 0x1c8]
call fcn.100b2e90
push 0x100fb35c
lea ecx, [ebp - 0x1c8]
call fcn.100b2580
sub esp, 0x18
lea edx, [ebp - 0x1a8]
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1a8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x198], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.100b3430
add esp, 4
call fcn.100a7ed0
mov edx, dword [ebp - 0x194]
add esp, 0x18
test al, al
sete bl
cmp edx, 0x10
jb 0x100a849a
mov ecx, dword [ebp - 0x1a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a8490
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a8761
push edx
push ecx
call fcn.100becc4
add esp, 8
mov edx, dword [ebp - 0x1b4]
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0xf
mov byte [ebp - 0x1a8], 0
cmp edx, 0x10
jb 0x100a84ef
mov ecx, dword [ebp - 0x1c8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a84e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a8761
push edx
push ecx
call fcn.100becc4
add esp, 8
test bl, bl
je 0x100a8501
push 1
push 0x100fbc84
mov ecx, edi
call fcn.100b2e90
mov eax, dword [ebp - 0x1b0]
or eax, 1
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1b4], 0xf
mov byte [ebp - 0x1c8], 0
lea ecx, [eax - 2]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
lea ecx, [ebp - 0x1c8]
call fcn.100b2e90
push 0x100fb35c
lea ecx, [ebp - 0x1c8]
call fcn.100b2580
lea edx, [ebp - 0x1a8]
lea ecx, [ebp - 0x1e8]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1a8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x198], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.100b3430
add esp, 4
lea ecx, [ebp - 0x50]
cmp dword [ebp - 0x1d4], 0x10
lea eax, [ebp - 0x1e8]
cmovae eax, dword [ebp - 0x1e8]
push ecx
push eax
call fcn.100ca955
mov edx, dword [ebp - 0x1d4]
or esi, 0xffffffff
add esp, 8
test eax, eax
cmove esi, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x100a8602
mov ecx, dword [ebp - 0x1e8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a85f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a8761
push edx
push ecx
call fcn.100becc4
add esp, 8
cmp esi, 0x2800
jge 0x100a8614
cmp dword [edi + 0x10], 0
jne 0x100a8614
mov bl, 1
jmp 0x100a8616
xor bl, bl
mov edx, dword [ebp - 0x194]
cmp edx, 0x10
jb 0x100a8650
mov ecx, dword [ebp - 0x1a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a8646
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a8761
push edx
push ecx
call fcn.100becc4
add esp, 8
mov eax, dword [ebp - 0x1b0]
mov edx, dword [ebp - 0x1b4]
and eax, 0xfffffffc
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0xf
mov byte [ebp - 0x1a8], 0
mov dword [ebp - 0x1b0], eax
cmp edx, 0x10
jb 0x100a86b4
mov ecx, dword [ebp - 0x1c8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a86aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a8761
push edx
push ecx
call fcn.100becc4
add esp, 8
test bl, bl
je 0x100a86c6
push 1
push 0x100f3104
mov ecx, edi
call fcn.100b2e90
mov ebx, dword [ebp - 0x1ac]
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x100a86fc
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a86f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a876b
push edx
push ecx
call fcn.100becc4
add esp, 8
lea eax, [ebp - 0x190]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100a8380
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x100a8749
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a873f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a876b
push edx
push ecx
call fcn.100becc4
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100be769
mov esp, ebp
pop ebp
ret
call fcn.100b3170
call fcn.100cb6d0
call fcn.100cb6d0
call fcn.100cb6d0
int3