Function at 0x10001e10
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100a15d6
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x100d1040]
xor eax, esp
mov dword [esp + 0x498], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d1040]
xor eax, esp
push eax
lea eax, [esp + 0x4b4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c4]
push 0x208
xor ebx, ebx
lea ecx, [esp + 0x2a8]
push ebx
push ecx
mov dword [esp + 0x24], eax
call fcn.10059a00
mov eax, dword [0x100da780]
add esp, 0xc
push 0x104
lea edx, [esp + 0x2a8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, ebx
je 0x10001ea7
cmp eax, 0x104
ja 0x10001ea7
lea ecx, [esp + 0x2a4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
xor edx, edx
mov word [eax], dx
jmp 0x10001ebd
call fcn.10002c20
cmp eax, ebx
jl 0x10002070
cmp eax, 1
je 0x10002070
push str.PlugFormat_
lea eax, [esp + 0x2a8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea ecx, [esp + 0x58]
push ebx
push ecx
call fcn.10059a00
add esp, 0xc
xor edx, edx
lea eax, [esp + 0x2a4]
mov word [esp + 0x20], dx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10001f00
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x2a8]
push eax
lea esi, [esp + 0x24]
call fcn.10002580
push 5
push str..dll
mov eax, esi
mov dword [esp + 0x4c4], ebx
call fcn.100024a0
mov eax, dword [esp + 0x20]
mov edi, 8
cmp dword [esp + 0x34], edi
jae 0x10001f49
lea eax, [esp + 0x20]
lea ecx, [esp + 0x54]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
jne 0x10001f72
cmp dword [esp + 0x34], edi
jb 0x1000206e
mov edx, dword [esp + 0x20]
push edx
jmp 0x10002066
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x10001f80
xor eax, eax
mov word [esp + 0x3c], ax
lea eax, [esp + 0x2a4]
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10001fa0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x2a8]
push ecx
lea esi, [esp + 0x40]
call fcn.10002580
lea eax, [esp + 0x80]
mov byte [esp + 0x4bc], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10001fd3
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x40]
call fcn.100024a0
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], edi
jae 0x10002002
lea eax, [esp + 0x3c]
push eax
call ebp
cmp eax, ebx
jne 0x10002010
call fcn.10002c20
jmp 0x1000201e
mov ecx, dword [esp + 0x18]
push 1
push ecx
mov ecx, eax
call fcn.10001ce0
mov byte [esp + 0x4bc], bl
cmp dword [esp + 0x50], edi
jb 0x10002038
mov edx, dword [esp + 0x3c]
push edx
call fcn.10057104
add esp, 4
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x54]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10001f80
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x34], edi
jb 0x1000206e
mov eax, dword [esp + 0x20]
push eax
call fcn.10057104
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x4b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x498]
xor ecx, esp
call fcn.1005710f
add esp, 0x4ac
ret 4