Function at 0x1001de00
Capabilities:
Enumerate files on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1004f9b6
push eax
mov dword fs:[0], esp
sub esp, 0x318
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
jne 0x1001dea1
push 0
push 0x10053860
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
call fcn.10001a10
push dword [ebp + 0x14]
lea eax, [esp + 0x14]
mov dword [esp + 0x330], 0
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call sym.KwLib.dll_int___cdecl_KwLib::Dir::FindFiles_class_std::vector_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_std::allocator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_______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___const___int_
add esp, 0x10
mov esi, eax
cmp dword [esp + 0x24], 0x10
jb 0x1001de8a
push dword [esp + 0x10]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x324]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 0xc]
lea eax, [esp + 0xa8]
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
lea edx, [esp + 0xb0]
mov dword [esp + 0x338], 1
lea ecx, [esp + 0x80]
call fcn.100074c0
add esp, 0xc
mov byte [esp + 0x32c], 2
mov eax, dword [0x1006e3e8]
cmp eax, 0xffffffff
jne 0x1001df26
lea eax, [esp + 0xbc]
push eax
push 0xd698
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
test eax, eax
jne 0x1001df1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1001df1c
mov dword [0x1006e3e8], 0x3a8
mov eax, 0x3a8
jmp 0x1001df26
mov eax, 0xd698
mov dword [0x1006e3e8], eax
push eax
lea edx, [esp + 0x78]
lea ecx, [esp + 0x90]
call fcn.10008690
add esp, 4
mov edx, eax
mov byte [esp + 0x32c], 3
cmp dword [edx + 0x14], 8
jb 0x1001df4c
mov edx, dword [edx]
xor eax, eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
cmp word [edx], ax
jne 0x1001df6c
xor ecx, ecx
jmp 0x1001df80
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001df71
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.100026d0
mov byte [esp + 0x32c], 5
cmp dword [esp + 0xa0], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x1001dfaf
push dword [esp + 0x8c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0xa0], 7
cmp dword [esp + 0x3c], 8
lea ecx, [esp + 0xd0]
mov word [esp + 0x8c], ax
lea eax, [esp + 0x28]
cmovae eax, dword [esp + 0x28]
push ecx
push eax
mov dword [esp + 0xa4], 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [esp + 0x40], edi
cmp edi, 0xffffffff
je 0x1001e1c3
jmp 0x1001e000
cmp dword [ebp + 0x14], 0
mov eax, dword [esp + 0xd0]
jne 0x1001e015
test al, 2
jne 0x1001e19e
test al, 0x10
jne 0x1001e19e
mov eax, dword [0x1006e3e8]
cmp eax, 0xffffffff
jne 0x1001e064
lea eax, [esp + 0xbc]
push eax
push 0xd698
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
test eax, eax
jne 0x1001e05a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1001e05a
mov dword [0x1006e3e8], 0x3a8
mov eax, 0x3a8
jmp 0x1001e064
mov eax, 0xd698
mov dword [0x1006e3e8], eax
push eax
lea edx, [esp + 0x100]
lea ecx, [esp + 0x48]
call fcn.100047c0
add esp, 4
mov edx, eax
mov byte [esp + 0x32c], 6
cmp dword [edx + 0x14], 0x10
jb 0x1001e08a
mov edx, dword [edx]
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
cmp byte [edx], 0
jne 0x1001e0a8
xor ecx, ecx
jmp 0x1001e0bd
mov ecx, edx
lea edi, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001e0b0
sub ecx, edi
mov edi, dword [esp + 0x40]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.10001a10
mov byte [esp + 0x32c], 8
cmp dword [esp + 0x58], 0x10
jb 0x1001e0e0
push dword [esp + 0x44]
call esi
add esp, 4
lea edx, [esp + 0x10]
mov dword [esp + 0x58], 0xf
lea ecx, [esp + 0x5c]
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
call fcn.10008810
mov byte [esp + 0x32c], 9
cmp dword [esp + 0x6c], 0
je 0x1001e161
mov edx, dword [ebx + 4]
lea eax, [esp + 0x5c]
mov ecx, dword [ebx]
push eax
call fcn.100088e0
add esp, 4
cmp eax, dword [ebx + 4]
je 0x1001e161
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0xa8]
lea ecx, [esp + 0x48]
call fcn.10004ac0
add esp, 4
mov ecx, dword [ebp + 8]
push eax
mov byte [esp + 0x330], 0xa
call fcn.10003f80
cmp dword [esp + 0x58], 0x10
jb 0x1001e161
push dword [esp + 0x44]
call esi
add esp, 4
cmp dword [esp + 0x70], 0x10
jb 0x1001e171
push dword [esp + 0x5c]
call esi
add esp, 4
mov byte [esp + 0x32c], 5
cmp dword [esp + 0x24], 0x10
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
jb 0x1001e19e
push dword [esp + 0x10]
call esi
add esp, 4
lea eax, [esp + 0xd0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1001e000
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, 1
jmp 0x1001e1c5
xor edi, edi
cmp dword [esp + 0x3c], 8
jb 0x1001e1d5
push dword [esp + 0x28]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], 7
cmp dword [esp + 0x88], 0x10
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
jb 0x1001e1ff
push dword [esp + 0x74]
call esi
add esp, 4
cmp dword [esp + 0xb8], 0x10
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
jb 0x1001e230
push dword [esp + 0xa4]
call esi
add esp, 4
mov ecx, dword [esp + 0x324]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret