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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024ae1d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2d4
mov edx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x78]
push str..
call fcn.1001e9d0
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2e0]
cmp dword [ebp - 0x64], 8
lea eax, [ebp - 0x78]
push ecx
cmovae eax, dword [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x1008acd7
push esi
push edi
test byte [ebp - 0x2e0], 0x10
je 0x1008a9f6
cmp word [ebp - 0x2b4], 0x2e
je 0x1008acb5
push 0x238
call fcn.1006e6a7
add esp, 4
mov dword [ebp - 0x48], eax
mov ecx, eax
call sym.WMCommon.dll_public:_void___thiscall_WM::GMFileItem::constructor_void_
mov edi, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], edi
push edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.10023570
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov dword [eax], edx
mov esi, dword [ebp - 0x40]
test esi, esi
je 0x1008a829
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x1008a829
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x1008a829
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx + 8]
cmp eax, fcn.1001eaf0
jne 0x1008acef
push 1
call dword [edx]
push edi
push edi
lea eax, [ebp - 0x20]
push eax
call sym.WMCommon.dll_public:_void___thiscall_WM::GMFuncTaskListSingleton::destructor_void_
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2b4]
mov eax, dword [ebp - 0x20]
lea edx, [ecx + 2]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov dword [eax], 1
xor eax, eax
mov word [ebp - 0x3c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1008a861
sub ecx, edx
lea eax, [ebp - 0x2b4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.1001a600
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 3
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x60]
push eax
call sym.WMCommon.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_WM::GMFileName::JoinFileName_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 0xc
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.1001a5a0
cmp dword [ebp - 0x4c], 8
lea ecx, [ebp - 0x60]
mov edx, dword [ebp - 0x20]
cmovae ecx, dword [ebp - 0x60]
add edx, 4
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x1008a8b4
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2e0]
mov edi, dword [ebp - 0x24]
mov dword [ecx + 0x21c], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2dc]
mov dword [ecx + 0x220], eax
mov eax, dword [ebp - 0x2d8]
mov dword [ecx + 0x224], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2d4]
mov dword [ecx + 0x228], eax
mov eax, dword [ebp - 0x2d0]
mov dword [ecx + 0x22c], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2cc]
mov dword [ecx + 0x230], eax
mov eax, dword [ebp - 0x2c8]
mov dword [ecx + 0x234], eax
mov ecx, dword [edi + 0x2c]
cmp dword [edi + 0x30], ecx
je 0x1008a954
mov eax, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x1008a94e
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
add dword [edi + 0x2c], 8
jmp 0x1008a961
lea eax, [ebp - 0x20]
push eax
push ecx
lea ecx, [edi + 0x28]
call fcn.100231b0
xor eax, eax
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x2b4]
mov dword [ebp - 0x28], 7
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1008a980
sub eax, edx
lea ecx, [ebp - 0x3c]
sar eax, 1
push eax
lea eax, [ebp - 0x2b4]
push eax
call fcn.1001a600
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 6
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x90]
push eax
call sym.WMCommon.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_WM::GMFileName::JoinFileName_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 0xc
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 8
call fcn.1001a5a0
lea eax, [ebp - 0x60]
mov ecx, edi
push eax
lea eax, [ebp - 0x90]
push eax
call sym.WMCommon.dll_private:_void___thiscall_WM::GMCopyZip::Update_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
lea ecx, [ebp - 0x90]
call fcn.1001a5a0
lea ecx, [ebp - 0x60]
call fcn.1001a5a0
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x1c]
jmp 0x1008ac77
push 0x238
call fcn.1006e6a7
mov esi, eax
push 0x208
push 0
mov dword [ebp - 0x48], esi
lea ecx, [esi + 4]
mov dword [esi], 0
push ecx
call sub.VCRUNTIME140.dll_memset
mov dword [esi + 0x20c], 0
xorps xmm0, xmm0
mov dword [esi + 0x210], 0
add esp, 0x10
mov dword [esi + 0x214], 0
mov dword [esi + 0x218], 0
mov dword [esi + 0x21c], 0xffffffff
movups xmmword [esi + 0x220], xmm0
movq qword [esi + 0x230], xmm0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0
push esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 9
call fcn.10023570
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov dword [eax], edx
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x1008aac5
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x1008aac5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [edi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x1008aac5
mov edx, dword [edi]
mov ecx, edi
mov eax, dword [edx + 8]
cmp eax, fcn.1001eaf0
jne 0x1008acf6
push 1
call dword [edx]
push esi
push esi
lea eax, [ebp - 0x18]
push eax
call sym.WMCommon.dll_public:_void___thiscall_WM::GMFuncTaskListSingleton::destructor_void_
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2b4]
mov eax, dword [ebp - 0x18]
lea edx, [ecx + 2]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov dword [eax], 0
xor eax, eax
mov word [ebp - 0x60], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1008ab00
sub ecx, edx
lea eax, [ebp - 0x2b4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.1001a600
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0xb
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x3c]
push eax
call sym.WMCommon.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_WM::GMFileName::JoinFileName_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 0xc
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xd
call fcn.1001a5a0
cmp dword [ebp - 0x28], 8
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x3c]
add edx, 4
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x1008ab53
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c4]
mov dword [ecx + 0x214], eax
mov dword [ecx + 0x218], 0
mov cl, 0x20
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0x214]
mov edx, dword [esi + 0x218]
call fcn.10247180
mov dword [esi + 0x218], edx
mov dword [esi + 0x214], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c0]
mov edx, dword [ebp - 0x24]
add dword [ecx + 0x214], eax
adc dword [ecx + 0x218], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x20c], 0
mov dword [eax + 0x210], 0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2e0]
mov dword [ecx + 0x21c], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2dc]
mov dword [ecx + 0x220], eax
mov eax, dword [ebp - 0x2d8]
mov dword [ecx + 0x224], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2d4]
mov dword [ecx + 0x228], eax
mov eax, dword [ebp - 0x2d0]
mov dword [ecx + 0x22c], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2cc]
mov dword [ecx + 0x230], eax
mov eax, dword [ebp - 0x2c8]
mov dword [ecx + 0x234], eax
mov ecx, dword [edx + 0x2c]
cmp dword [edx + 0x30], ecx
je 0x1008ac5b
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1008ac55
add ecx, 4
mov eax, 1
lock xadd dword [ecx], eax
add dword [edx + 0x2c], 8
jmp 0x1008ac68
lea eax, [ebp - 0x18]
push eax
push ecx
lea ecx, [edx + 0x28]
call fcn.100231b0
lea ecx, [ebp - 0x3c]
call fcn.1001a5a0
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x1008acb2
or ecx, 0xffffffff
lea eax, [esi + 4]
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x1008acb2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
or edx, 0xffffffff
lea eax, [esi + 8]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x1008acb2
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx + 8]
cmp eax, fcn.1001eaf0
jne 0x1008acfd
push 1
call dword [edx]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x2e0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov eax, dword [ebp - 0x10]
jne 0x1008a792
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
lea ecx, [ebp - 0x78]
call fcn.1001a5a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
call eax
jmp 0x1008a829
call eax
jmp 0x1008aac5
call eax
jmp 0x1008acb2