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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004f8c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x204
push ebx
push esi
push edi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x84]
call fcn.10007c30
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 0x84]
mov esi, dword [ebp - 0x80]
cmp ebx, esi
je 0x1001d2c3
push ecx
push ebx
push esi
mov edx, ebx
lea ecx, [ebp - 0x60]
call fcn.10008930
add esp, 0xc
push dword [ebp + 0x10]
lea eax, [ebp - 0xb4]
push eax
call sym.KwLib.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_KwLib::Dir::ConfirmDirectory_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
push 0x10059de8
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9c]
call fcn.10004d50
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [ebp - 0xa0], 0x10
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x1001d309
push dword [ebp - 0xb4]
call edi
add esp, 4
cmp dword [ebp - 0x88], 0x10
lea ecx, [ebp - 0x20c]
lea eax, [ebp - 0x9c]
mov dword [ebp - 0xa0], 0xf
cmovae eax, dword [ebp - 0x9c]
push ecx
push eax
mov dword [ebp - 0xa4], 0
mov byte [ebp - 0xb4], 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x1001d796
mov esi, eax
cmp dword [ebp + 0x18], 0
mov eax, dword [ebp - 0x20c]
jne 0x1001d368
test al, 2
jne 0x1001d772
test al, 0x10
jne 0x1001d533
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 4
cmp byte [ebp - 0x1e0], 0
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
jne 0x1001d3a5
xor ecx, ecx
jmp 0x1001d3b9
lea ecx, [ebp - 0x1e0]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001d3b0
sub ecx, edx
push ecx
lea eax, [ebp - 0x1e0]
push eax
lea ecx, [ebp - 0x5c]
call fcn.10001a10
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x5c]
push eax
call sym.KwLib.dll_int___cdecl_KwLib::Dir::GetFileExtension_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____
add esp, 8
mov byte [ebp - 4], 4
cmp dword [ebp - 0x48], 0x10
mov esi, eax
jb 0x1001d3f1
push dword [ebp - 0x5c]
call edi
add esp, 4
test esi, esi
je 0x1001d518
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
dec eax
push eax
push 1
lea eax, [ebp - 0x78]
push eax
call fcn.10003d40
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x1001d43e
cmp dword [ebp - 0x18], 0x10
jb 0x1001d423
push dword [ebp - 0x2c]
call edi
add esp, 4
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.10001880
cmp dword [ebp - 0x64], 0x10
jb 0x1001d44c
push dword [ebp - 0x78]
call edi
add esp, 4
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x78]
push eax
call sym.KwLib.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_KwLib::StringUtility::Str2Lower_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
mov esi, eax
add esp, 8
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x1001d48e
cmp dword [ebp - 0x18], 0x10
jb 0x1001d473
push dword [ebp - 0x2c]
call edi
add esp, 4
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.10001880
cmp dword [ebp - 0x64], 0x10
jb 0x1001d49c
push dword [ebp - 0x78]
call edi
add esp, 4
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x60], 0
mov ecx, ebx
push dword [ebp - 0x60]
push eax
call fcn.10008d10
add esp, 8
cmp eax, dword [ebp - 0x80]
je 0x1001d518
push dword [ebp + 0x10]
lea eax, [ebp - 0x78]
push eax
call sym.KwLib.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_KwLib::Dir::ConfirmDirectory_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.10004d50
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 7
call fcn.10003f80
cmp dword [ebp - 0x48], 0x10
jb 0x1001d4f8
push dword [ebp - 0x5c]
call edi
add esp, 4
cmp dword [ebp - 0x64], 0x10
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
jb 0x1001d518
push dword [ebp - 0x78]
call edi
add esp, 4
mov byte [ebp - 4], 3
cmp dword [ebp - 0x18], 0x10
jb 0x1001d76f
push dword [ebp - 0x2c]
call edi
add esp, 4
jmp 0x1001d76f
cmp byte [ebp - 0x1e0], 0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
jne 0x1001d552
xor ecx, ecx
jmp 0x1001d569
lea ecx, [ebp - 0x1e0]
lea edx, [ecx + 1]
jmp 0x1001d560
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001d560
sub ecx, edx
push ecx
lea eax, [ebp - 0x1e0]
push eax
lea ecx, [ebp - 0x44]
call fcn.10001a10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
mov edx, 1
mov ebx, dword [ebp - 0x34]
cmovae ecx, dword [ebp - 0x44]
cmp ebx, edx
cmovb edx, ebx
test edx, edx
je 0x1001d5f3
mov esi, 0x10053974
sub edx, 4
jb 0x1001d5b4
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x1001d5b9
add ecx, 4
add esi, 4
sub edx, 4
jae 0x1001d5a3
cmp edx, 0xfffffffc
je 0x1001d5ed
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x1001d5e6
cmp edx, 0xfffffffd
je 0x1001d5ed
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x1001d5e6
cmp edx, 0xfffffffe
je 0x1001d5ed
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x1001d5e6
cmp edx, 0xffffffff
je 0x1001d5ed
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x1001d5ed
sbb eax, eax
or eax, 1
jmp 0x1001d5ef
xor eax, eax
test eax, eax
jne 0x1001d607
cmp ebx, 1
jae 0x1001d5fd
or eax, 0xffffffff
jmp 0x1001d605
xor eax, eax
cmp ebx, 1
setne al
test eax, eax
mov esi, dword [ebp - 0x44]
sete al
test al, al
sete al
test al, al
je 0x1001d759
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x44]
mov eax, 2
mov edx, 0x10059df8
cmovae ecx, esi
cmp ebx, eax
cmovb eax, ebx
push eax
call fcn.10003760
add esp, 4
test eax, eax
jne 0x1001d654
cmp ebx, 2
jae 0x1001d64a
or eax, 0xffffffff
jmp 0x1001d652
xor eax, eax
cmp ebx, 2
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
je 0x1001d759
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0xcc]
push 0x10059c78
call fcn.100074c0
add esp, 4
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 9
push ecx
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.10004d50
add esp, 4
push 0x10059c78
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x5c]
call fcn.10004d50
mov esi, eax
add esp, 4
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x1001d6da
cmp dword [ebp - 0x30], 0x10
jb 0x1001d6bf
push dword [ebp - 0x44]
call edi
add esp, 4
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.10001880
cmp dword [ebp - 0x48], 0x10
jb 0x1001d6e8
push dword [ebp - 0x5c]
call edi
add esp, 4
cmp dword [ebp - 0x64], 0x10
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
jb 0x1001d708
push dword [ebp - 0x78]
call edi
add esp, 4
mov byte [ebp - 4], 8
cmp dword [ebp - 0xb8], 0x10
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
jb 0x1001d732
push dword [ebp - 0xcc]
call edi
add esp, 4
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push eax
mov ecx, ebx
call fcn.10007ce0
push dword [ebp + 0x18]
lea eax, [ebp - 0x44]
push dword [ebp + 0x14]
push eax
push dword [ebp + 0xc]
push ebx
call sym.KwLib.dll__FindAllDirAndFile_Dir_KwLib__YAHAAV__vector_V__basic_string_DU__char_traits_D_std__V__allocator_D_2__std__V__alloca
mov esi, dword [ebp - 0x44]
add esp, 0x14
mov byte [ebp - 4], 3
cmp dword [ebp - 0x30], 0x10
jb 0x1001d769
push esi
call edi
add esp, 4
mov ebx, dword [ebp - 0x84]
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1001d354
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 1
jmp 0x1001d798
xor esi, esi
cmp dword [ebp - 0x88], 0x10
jb 0x1001d7ac
push dword [ebp - 0x9c]
call edi
add esp, 4
mov dword [ebp - 0x88], 0xf
mov dword [ebp - 0x8c], 0
mov byte [ebp - 0x9c], 0
test ebx, ebx
je 0x1001d7da
push dword [ebp - 0x80]
push ebx
call fcn.10004580
push ebx
call edi
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret