Function at 0x10001eb0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10005eb2
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x10009008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov ecx, edx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
lea esi, [ecx + 1]
mov byte [ebp - 0x40], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001f05
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.10001410
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1a0]
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0xf
mov byte [ebp - 0x1a0], 0
lea eax, [ebx + 2]
mov dword [ebp - 0x188], 1
push eax
call fcn.10003cf0
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
mov esi, dword [ebp - 0x18c]
mov eax, esi
cmovae ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x190]
sub eax, edx
push ebx
push ecx
cmp ebx, eax
ja 0x10001fa2
lea eax, [edx + ebx]
cmp esi, 0x10
mov dword [ebp - 0x190], eax
lea eax, [ebp - 0x1a0]
cmovae eax, dword [ebp - 0x1a0]
lea esi, [eax + edx]
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [ebx + esi], 0
jmp 0x10001fbb
mov byte [ebp - 0x184], 0
lea ecx, [ebp - 0x1a0]
push dword [ebp - 0x184]
push ebx
call fcn.10003a10
mov edx, dword [ebp - 0x18c]
mov eax, edx
mov ecx, dword [ebp - 0x190]
sub eax, ecx
push 2
push 0x1000731c
cmp eax, 2
jb 0x10002001
cmp edx, 0x10
lea esi, [ebp - 0x1a0]
lea eax, [ecx + 2]
cmovae esi, dword [ebp - 0x1a0]
add esi, ecx
mov dword [ebp - 0x190], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 2], 0
jmp 0x1000201b
mov byte [ebp - 0x184], 0
lea ecx, [ebp - 0x1a0]
push dword [ebp - 0x184]
push 2
call fcn.10003a10
cmp dword [ebp - 0x18c], 0x10
lea ecx, [ebp - 0x180]
lea eax, [ebp - 0x1a0]
cmovae eax, dword [ebp - 0x1a0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18c]
sete bl
mov dword [ebp - 0x1ac], eax
cmp edx, 0x10
jb 0x10002089
mov ecx, dword [ebp - 0x1a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000207f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000207f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100052f7
add esp, 8
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0xf
mov byte [ebp - 0x1a0], 0
test bl, bl
je 0x100020c0
push 0
push 0x100072e6
mov ecx, edi
call fcn.10001410
jmp 0x10002298
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x28], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100020e0
sub ecx, edx
lea eax, [ebp - 0x154]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10001410
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x28]
shr eax, 4
and eax, 0xffffff01
cmp ecx, 0x10
mov dword [ebp - 0x188], eax
lea eax, [ebp - 0x28]
cmovae eax, ebx
cmp byte [eax], 0x2e
jne 0x1000212e
mov byte [ebp - 4], 0
jmp 0x1000224f
mov eax, dword [edi + 0x14]
lea edx, [ebp - 0x28]
mov esi, dword [edi + 0x10]
cmp ecx, 0x10
mov ecx, dword [ebp - 0x18]
cmovae edx, ebx
sub eax, esi
cmp ecx, eax
ja 0x1000216c
cmp dword [edi + 0x14], 0x10
lea eax, [ecx + esi]
mov dword [edi + 0x10], eax
mov eax, edi
jb 0x10002156
mov eax, dword [edi]
push ecx
add esi, eax
push edx
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x10002186
push ecx
push edx
mov byte [ebp - 0x184], 0
push dword [ebp - 0x184]
push ecx
mov ecx, edi
call fcn.10003a10
mov ebx, dword [ebp - 0x28]
cmp dword [edi + 0x14], 0x10
mov eax, edi
mov ecx, dword [edi + 0x10]
jb 0x10002193
mov eax, dword [edi]
mov byte [eax + ecx], 0
mov edx, dword [edi + 0x14]
mov eax, edx
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp byte [ebp - 0x188], 0
je 0x100021ed
cmp eax, 1
jb 0x100021d7
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x100021be
mov eax, dword [edi]
push 1
lea esi, [eax + ecx]
push 0x10007320
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x10002237
push 1
push 0x10007320
mov byte [ebp - 0x1a4], 0
push dword [ebp - 0x1a4]
jmp 0x1000222e
cmp eax, 1
jb 0x1000221a
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x10002201
mov eax, dword [edi]
push 1
lea esi, [eax + ecx]
push 0x10007324
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x10002237
push 1
push 0x10007324
mov byte [ebp - 0x1a8], 0
push dword [ebp - 0x1a8]
push 1
mov ecx, edi
call fcn.10003a10
cmp dword [edi + 0x14], 0x10
mov eax, edi
mov ecx, dword [edi + 0x10]
jb 0x10002244
mov eax, dword [edi]
mov byte [eax + ecx], 0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x1000227d
inc ecx
mov eax, ebx
cmp ecx, 0x1000
jb 0x10002273
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002079
push ecx
push ebx
call fcn.100052f7
add esp, 8
lea eax, [ebp - 0x180]
push eax
push dword [ebp - 0x1ac]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100020c0
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x100022d0
mov edx, dword [ebp - 0x40]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x100022c6
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100022c6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100052f7
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10004f70
mov esp, ebp
pop ebp
ret 8