Function at 0x10002220
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000bd72
mov eax, dword fs:[0]
push eax
sub esp, 0x1dc
mov eax, dword [0x10010380]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1b8], 0
push 0xc
call fcn.1000a2f3
add esp, 4
mov dword [ebp - 0x18c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18c], 0
je 0x100022a4
xor eax, eax
mov ecx, dword [ebp - 0x18c]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
push 1
push 0x1000ce6c
push 0x80000001
mov ecx, dword [ebp - 0x18c]
call fcn.10001480
mov dword [ebp - 0x198], eax
jmp 0x100022ae
mov dword [ebp - 0x198], 0
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x1a0], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x194], eax
cmp dword [ebp - 0x194], 0
je 0x100024c9
push 0
push 0x1000ce7c
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x194]
call fcn.100014d0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x18], 0
jne 0x10002309
mov dword [ebp - 0x19c], 1
jmp 0x10002313
mov dword [ebp - 0x19c], 0
mov dl, byte [ebp - 0x19c]
mov byte [ebp - 0x181], dl
movzx eax, byte [ebp - 0x181]
test eax, eax
jne 0x1000245a
push 0x140
push 0
lea ecx, [ebp - 0x180]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push str..dll
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x1d0]
push eax
call fcn.100034a0
add esp, 0xc
mov dword [ebp - 0x1a4], eax
push 0
push 0
push 0
lea ecx, [ebp - 0x180]
push ecx
push 0
mov ecx, dword [ebp - 0x1a4]
call fcn.10002b60
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileExA]
mov dword [ebp - 0x190], eax
lea ecx, [ebp - 0x1d0]
call fcn.100016c0
nop
cmp dword [ebp - 0x190], 0xffffffff
je 0x1000245a
push 0x1000ce88
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x1e8]
push eax
call fcn.100034a0
add esp, 0xc
mov dword [ebp - 0x1a8], eax
mov ecx, dword [ebp - 0x1a8]
mov dword [ebp - 0x1ac], ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x154]
push edx
mov eax, dword [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.10003550
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1e8]
call fcn.100016c0
nop
push 0
push str.minagen
lea ecx, [ebp - 0x40]
call fcn.10002aa0
cmp eax, 0xffffffff
jne 0x10002423
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x40]
call fcn.10002b60
push eax
call fcn.10005120
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.100016c0
nop
lea eax, [ebp - 0x180]
push eax
mov ecx, dword [ebp - 0x190]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100023a2
mov edx, dword [ebp - 0x190]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
nop
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
je 0x100024af
mov ecx, dword [ebp - 0x188]
call fcn.100014b0
mov ecx, 1
and ecx, 1
je 0x10002495
push 0xc
mov edx, dword [ebp - 0x188]
push edx
call fcn.1000a328
add esp, 8
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x1b0], eax
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp - 0x1b4], ecx
jmp 0x100024b9
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100016c0
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000a2e0
mov esp, ebp
pop ebp
ret