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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100efcd7
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x1011b040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10009fb0
mov byte [ebp - 4], 2
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x70]
call fcn.1000e080
mov byte [ebp - 4], 3
push 0x100f8de8
lea ecx, [ebp - 0x70]
call fcn.100251c0
lea ecx, [ebp - 0x3b0]
push ecx
lea ecx, [ebp - 0x70]
call fcn.1000a260
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x3bc], eax
cmp dword [ebp - 0x3bc], 0xffffffff
jne 0x1002f5e5
mov byte [ebp - 0x3b1], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.1000a1c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.1000a070
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.1000a1c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.1000a1c0
mov al, byte [ebp - 0x3b1]
jmp 0x1002fd18
mov dword [ebp - 0x3c0], 0x100f8df0
lea edx, [ebp - 0x384]
mov dword [ebp - 0x3c8], edx
mov eax, dword [ebp - 0x3c8]
mov cx, word [eax]
mov word [ebp - 0x3d0], cx
mov edx, dword [ebp - 0x3c0]
cmp cx, word [edx]
jne 0x1002f661
cmp word [ebp - 0x3d0], 0
je 0x1002f655
mov eax, dword [ebp - 0x3c8]
mov cx, word [eax + 2]
mov word [ebp - 0x3d2], cx
mov edx, dword [ebp - 0x3c0]
cmp cx, word [edx + 2]
jne 0x1002f661
add dword [ebp - 0x3c8], 4
add dword [ebp - 0x3c0], 4
cmp word [ebp - 0x3d2], 0
jne 0x1002f5fb
mov dword [ebp - 0x3dc], 0
jmp 0x1002f66c
sbb eax, eax
or eax, 1
mov dword [ebp - 0x3dc], eax
mov ecx, dword [ebp - 0x3dc]
mov dword [ebp - 0x40c], ecx
cmp dword [ebp - 0x40c], 0
je 0x1002f721
mov dword [ebp - 0x3cc], 0x100f8df4
lea edx, [ebp - 0x384]
mov dword [ebp - 0x3c4], edx
mov eax, dword [ebp - 0x3c4]
mov cx, word [eax]
mov word [ebp - 0x3ce], cx
mov edx, dword [ebp - 0x3cc]
cmp cx, word [edx]
jne 0x1002f701
cmp word [ebp - 0x3ce], 0
je 0x1002f6f5
mov eax, dword [ebp - 0x3c4]
mov cx, word [eax + 2]
mov word [ebp - 0x3d4], cx
mov edx, dword [ebp - 0x3cc]
cmp cx, word [edx + 2]
jne 0x1002f701
add dword [ebp - 0x3c4], 4
add dword [ebp - 0x3cc], 4
cmp word [ebp - 0x3d4], 0
jne 0x1002f69b
mov dword [ebp - 0x3d8], 0
jmp 0x1002f70c
sbb eax, eax
or eax, 1
mov dword [ebp - 0x3d8], eax
mov ecx, dword [ebp - 0x3d8]
mov dword [ebp - 0x41c], ecx
cmp dword [ebp - 0x41c], 0
jne 0x1002f726
jmp 0x1002fcaf
lea edx, [ebp - 0x384]
push edx
lea ecx, [ebp - 0x40]
call fcn.10014010
mov byte [ebp - 4], 4
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x58]
call fcn.1000e080
mov byte [ebp - 4], 5
push 0x100f8dfc
lea ecx, [ebp - 0x58]
call fcn.100251c0
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x58]
call fcn.1001fbf0
lea ecx, [ebp + 0x24]
call fcn.1000b3e0
test eax, eax
ja 0x1002f82b
movzx edx, byte [ebp + 0x3c]
test edx, edx
je 0x1002f7d1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x478], esp
lea eax, [ebp - 0x40]
push eax
call fcn.1000e080
mov dword [ebp - 0x444], eax
lea ecx, [ebp - 0xb8]
push ecx
call sym.COMMON.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_CCodeOperation::UnicodeToUTF_8_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___
add esp, 0x1c
mov dword [ebp - 0x3fc], eax
mov edx, dword [ebp - 0x3fc]
mov dword [ebp - 0x414], edx
mov eax, dword [ebp - 0x414]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000f5d0
lea ecx, [ebp - 0xb8]
call fcn.1000a070
jmp 0x1002f826
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x46c], esp
lea edx, [ebp - 0x40]
push edx
call fcn.1000e080
mov dword [ebp - 0x44c], eax
lea eax, [ebp - 0x118]
push eax
call sym.COMMON.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_CCodeOperation::UnicodeToGB2312_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___
add esp, 0x1c
mov dword [ebp - 0x404], eax
mov ecx, dword [ebp - 0x404]
mov dword [ebp - 0x3e4], ecx
mov edx, dword [ebp - 0x3e4]
push edx
lea ecx, [ebp - 0x28]
call fcn.1000f5d0
lea ecx, [ebp - 0x118]
call fcn.1000a070
jmp 0x1002f9b0
movzx eax, byte [ebp + 0x3c]
test eax, eax
je 0x1002f88a
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x464], esp
lea edx, [ebp + 0x24]
push edx
call fcn.1000e080
mov dword [ebp - 0x454], eax
lea eax, [ebp - 0xd0]
push eax
call sym.COMMON.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_CCodeOperation::UnicodeToUTF_8_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___
add esp, 0x1c
mov dword [ebp - 0x3e8], eax
mov ecx, dword [ebp - 0x3e8]
mov dword [ebp - 0x3f0], ecx
mov edx, dword [ebp - 0x3f0]
push edx
lea ecx, [ebp - 0x28]
call fcn.1000f5d0
lea ecx, [ebp - 0xd0]
call fcn.1000a070
jmp 0x1002f8df
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x430], esp
lea eax, [ebp + 0x24]
push eax
call fcn.1000e080
mov dword [ebp - 0x438], eax
lea ecx, [ebp - 0x100]
push ecx
call sym.COMMON.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_CCodeOperation::UnicodeToGB2312_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___
add esp, 0x1c
mov dword [ebp - 0x3f8], eax
mov edx, dword [ebp - 0x3f8]
mov dword [ebp - 0x400], edx
mov eax, dword [ebp - 0x400]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000f5d0
lea ecx, [ebp - 0x100]
call fcn.1000a070
push 0x100f8e00
lea ecx, [ebp - 0x28]
call fcn.1000f720
movzx ecx, byte [ebp + 0x3c]
test ecx, ecx
je 0x1002f953
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x440], esp
lea edx, [ebp - 0x40]
push edx
call fcn.1000e080
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x130]
push eax
call sym.COMMON.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_CCodeOperation::UnicodeToUTF_8_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___
add esp, 0x1c
mov dword [ebp - 0x408], eax
mov ecx, dword [ebp - 0x408]
mov dword [ebp - 0x410], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x410]
push edx
lea ecx, [ebp - 0x28]
call fcn.1000f700
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x130]
call fcn.1000a070
jmp 0x1002f9b0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x450], esp
lea eax, [ebp - 0x40]
push eax
call fcn.1000e080
mov dword [ebp - 0x458], eax
lea ecx, [ebp - 0x160]
push ecx
call sym.COMMON.dll_public:_static_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_CCodeOperation::UnicodeToGB2312_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___
add esp, 0x1c
mov dword [ebp - 0x418], eax
mov edx, dword [ebp - 0x418]
mov dword [ebp - 0x420], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x420]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000f700
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x160]
call fcn.1000a070
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0xa0]
call fcn.1000e080
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
call fcn.10013fa0
mov byte [ebp - 4], 9
movzx edx, byte [ebp + 0x3c]
test edx, edx
je 0x1002fa34
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x460], esp
lea eax, [ebp - 0x28]
push eax
call fcn.10009f50
mov dword [ebp - 0x468], eax
lea ecx, [ebp - 0xe8]
push ecx
call sym.COMMON.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_CCodeOperation::UTF_8ToUnicode_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___
add esp, 0x1c
mov dword [ebp - 0x428], eax
mov edx, dword [ebp - 0x428]
mov dword [ebp - 0x424], edx
mov eax, dword [ebp - 0x424]
push eax
lea ecx, [ebp - 0x88]
call fcn.1000a110
lea ecx, [ebp - 0xe8]
call fcn.1000a1c0
jmp 0x1002fa8c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x470], esp
lea edx, [ebp - 0x28]
push edx
call fcn.10009f50
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x148]
push eax
call sym.COMMON.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_CCodeOperation::GB2312ToUnicode_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___
add esp, 0x1c
mov dword [ebp - 0x3f4], eax
mov ecx, dword [ebp - 0x3f4]
mov dword [ebp - 0x3ec], ecx
mov edx, dword [ebp - 0x3ec]
push edx
lea ecx, [ebp - 0x88]
call fcn.1000a110
lea ecx, [ebp - 0x148]
call fcn.1000a1c0
mov eax, dword [ebp - 0x3b0]
and eax, 0x10
je 0x1002fbc3
push 1
lea ecx, [ebp - 0xa0]
call fcn.1000a260
push eax
lea ecx, [ebp - 0x28]
call fcn.1000d8c0
push eax
mov ecx, dword [ebp + 8]
push ecx
call sym.COMMON.dll_private:_static_bool___cdecl_NDZlib::AddFileToZip_void___char_const___void_const___bool_
add esp, 0x10
movzx edx, al
test edx, edx
je 0x1002fb36
movzx eax, byte [ebp + 0x3c]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x434], esp
lea edx, [ebp - 0x88]
push edx
call fcn.1000e080
mov dword [ebp - 0x3e0], eax
mov eax, dword [ebp - 0x3e0]
mov dword [ebp - 0x474], eax
mov byte [ebp - 4], 0xa
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x43c], esp
lea edx, [ebp - 0x58]
push edx
call fcn.1000e080
mov dword [ebp - 0x45c], eax
mov eax, dword [ebp + 8]
push eax
mov byte [ebp - 4], 9
call sym.COMMON.dll_private:_static_bool___cdecl_NDZlib::AddContenToZip_void___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____bool_
add esp, 0x38
mov byte [ebp - 0x3b5], al
movzx ecx, byte [ebp - 0x3b5]
test ecx, ecx
jne 0x1002fbbe
mov edx, dword [ebp - 0x3bc]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x3b4], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
call fcn.1000a1c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
call fcn.1000a1c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.1000a1c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.1000a1c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.1000a1c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.1000a070
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.1000a1c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.1000a1c0
mov al, byte [ebp - 0x3b4]
jmp 0x1002fd18
jmp 0x1002fc79
push 0
lea ecx, [ebp - 0xa0]
call fcn.1000a260
push eax
lea ecx, [ebp - 0x28]
call fcn.1000d8c0
push eax
mov eax, dword [ebp + 8]
push eax
call sym.COMMON.dll_private:_static_bool___cdecl_NDZlib::AddFileToZip_void___char_const___void_const___bool_
add esp, 0x10
movzx ecx, al
test ecx, ecx
jne 0x1002fc79
mov edx, dword [ebp - 0x3bc]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x3b2], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
call fcn.1000a1c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
call fcn.1000a1c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.1000a1c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.1000a1c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.1000a1c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.1000a070
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.1000a1c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.1000a1c0
mov al, byte [ebp - 0x3b2]
jmp 0x1002fd18
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
call fcn.1000a1c0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
call fcn.1000a1c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.1000a1c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.1000a1c0
lea eax, [ebp - 0x3b0]
push eax
mov ecx, dword [ebp - 0x3bc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1002f5e5
mov edx, dword [ebp - 0x3bc]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x3b3], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.1000a1c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.1000a070
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.1000a1c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.1000a1c0
mov al, byte [ebp - 0x3b3]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ec36e
mov esp, ebp
pop ebp
ret