Function at 0x100a43b0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024c2ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x290
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x100a43f5
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
call dword [eax + 4]
test eax, eax
je 0x100a43f5
xor bl, bl
jmp 0x100a4622
xor eax, eax
mov dword [ebp - 0x24], 0
push eax
push 0x10255fec
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
call fcn.1001a600
push 0
mov byte [ebp - 4], 1
push 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.10031830
mov dword [ebp - 0x1c], eax
push 1
push 0x102665ac
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.1001a7c0
push 0x10265fdc
lea edx, [ebp + 8]
lea ecx, [ebp - 0x4c]
call fcn.1001e9d0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x100a4463
mov eax, dword [eax]
lea ecx, [ebp - 0x29c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x14], eax
call fcn.1001a5a0
cmp dword [ebp - 0x14], 0xffffffff
je 0x100a45f6
nop word [eax + eax]
lea eax, [ebp - 0x270]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100a44a0
sub eax, edx
lea ecx, [ebp - 0x34]
sar eax, 1
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.1001a600
test byte [ebp - 0x29c], 0x10
jne 0x100a44fe
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x100a457b
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
lea edx, [ebp - 0x34]
push edx
call dword [eax + 8]
test eax, eax
jne 0x100a45fa
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x100a457b
mov eax, dword [ecx]
call dword [eax]
test eax, eax
sete al
jmp 0x100a4577
mov ebx, dword [ebp - 0x20]
lea ecx, [ebp - 0x34]
mov esi, dword [ebp - 0x24]
cmp ebx, 8
mov edx, 1
mov eax, esi
cmovae ecx, dword [ebp - 0x34]
cmp esi, 1
cmova eax, edx
mov edx, 0x10265fe0
push eax
call fcn.1001b210
add esp, 4
test eax, eax
jne 0x100a4534
cmp esi, 1
jb 0x100a4534
jbe 0x100a457b
cmp ebx, 8
lea ecx, [ebp - 0x34]
mov edx, 2
mov eax, esi
cmovae ecx, dword [ebp - 0x34]
cmp esi, 2
cmova eax, edx
mov edx, 0x102672e4
push eax
call fcn.1001b210
add esp, 4
test eax, eax
jne 0x100a4564
cmp esi, 2
jb 0x100a4564
jbe 0x100a457b
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 8]
push eax
call sym.WMCommon.dll__EnumerateDir_GMFileFinderEnum_WM__AAE_NAAV__basic_string__WU__char_traits__W_std__V__allocator__W_2__std__0AAV__
test al, al
je 0x100a45fa
lea eax, [ebp - 0x29c]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100a4490
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [ebp + 0x1f]
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x18]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.100319e0
cmp byte [edi + 1], 0
je 0x100a45f6
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
cmp esi, eax
je 0x100a45f6
nop word [eax + eax]
sub esp, 0x18
lea eax, [esi + 8]
mov ecx, esp
lea edx, [ebp + 8]
push eax
call fcn.10020d00
add esp, 4
mov ecx, edi
call sym.WMCommon.dll_private:_bool___thiscall_WM::GMFileFinderEnum::Enum_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___
test al, al
je 0x100a4603
mov esi, dword [esi]
cmp esi, dword [ebp - 0x1c]
jne 0x100a45d0
mov bl, 1
jmp 0x100a4605
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor bl, bl
lea ecx, [ebp - 0x1c]
call fcn.10031690
push 0x20
push dword [ebp - 0x1c]
call fcn.1006e6d7
add esp, 8
lea ecx, [ebp - 0x34]
call fcn.1001a5a0
lea ecx, [ebp + 8]
call fcn.1001a5a0
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18