Function at 0x1001d940
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057841
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x344
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.10016e50
mov byte [ebp - 4], 1
push str._.
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.1001e890
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.1001eb00
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb8]
call fcn.1000e2b0
nop
lea edx, [ebp - 0x350]
push edx
lea ecx, [ebp - 0x70]
call fcn.100108a0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x1001da28
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 8]
call fcn.100200d0
mov ecx, dword [ebp - 0x10]
or ecx, 1
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.1000e2b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.1000e560
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10003c80
mov eax, dword [ebp + 8]
jmp 0x1001dbb6
mov edx, dword [ebp - 0x350]
and edx, 0x10
jne 0x1001db53
lea eax, [ebp - 0x324]
push eax
lea ecx, [ebp - 0xa0]
call fcn.1001ff70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa0]
push ecx
push 0x1005bcf8
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0xe8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1001e890
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x28]
push edx
lea eax, [ebp - 0xd0]
push eax
call fcn.1001eb00
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.1001eac0
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd0]
call fcn.1000e2b0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xe8]
call fcn.1000e2b0
nop
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.1001e7d0
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x38]
call fcn.10004540
push eax
lea ecx, [ebp - 0x100]
call fcn.1000d250
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x40]
push edx
lea ecx, [ebp - 0x4c]
call fcn.10021710
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x100]
call fcn.10003c80
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x58]
call fcn.10003ca0
nop
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
call fcn.1000e2b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.1000e2b0
nop
lea eax, [ebp - 0x350]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1001da28
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
nop
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 8]
call fcn.100200d0
mov ecx, dword [ebp - 0x10]
or ecx, 1
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.1000e2b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.1000e560
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10003c80
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c