Function at 0x1003d098
Capabilities:
Enumerate files on windows
Link many functions at runtime

Disassembly:
mov eax, 0x100bfe2d
call fcn.100a35ac
sub esp, 0x274
push ebx
push esi
push edi
xor esi, esi
inc esi
lea eax, [ebp - 0x18]
push esi
push eax
mov edi, ecx
mov byte [ebp - 0xd], 0
call fcn.100404f4
push str..dll
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.100053c1
add esp, 0x14
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.1000357f
lea ecx, [ebp - 0x280]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2c], eax
cmp eax, 0xffffffff
je 0x1003d2eb
push 4
call fcn.100a2219
mov dword [edi], eax
pop ecx
mov dword [ebp - 0x14], ebx
mov dword [edi + 8], esi
xor eax, eax
mov ecx, dword [edi]
mov dword [ecx + eax*4], ebx
inc eax
cmp eax, dword [edi + 8]
jb 0x1003d111
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x450
call fcn.100a2ba4
pop ecx
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x1003d143
mov ecx, eax
call fcn.1003d05e
mov esi, eax
jmp 0x1003d145
xor esi, esi
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.100053c1
add esp, 0xc
push dword [eax]
call fcn.10022776
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov dword [esi], eax
call fcn.10001d29
mov eax, dword [esi]
test eax, eax
je 0x1003d2bc
push str.IsUnicode
push eax
call ebx
push str.PlugInit
push dword [esi]
mov dword [ebp - 0x24], eax
call ebx
push str.PlugCreate
push dword [esi]
mov dword [ebp - 0x1c], eax
call ebx
push str.PlugInvoke
push dword [esi]
mov dword [esi + 0x41c], eax
call ebx
push str.PlugTerm
push dword [esi]
mov dword [esi + 0x418], eax
call ebx
push str.determineCommands
push dword [esi]
mov dword [esi + 0x414], eax
call ebx
push 0x100d27a4
push dword [esi]
mov dword [ebp - 0x28], eax
call ebx
xor ecx, ecx
cmp dword [ebp - 0x28], ecx
jne 0x1003d2b4
cmp eax, ecx
jne 0x1003d2b4
cmp dword [ebp - 0x24], ecx
je 0x1003d2b4
cmp dword [ebp - 0x1c], ecx
je 0x1003d2b4
cmp dword [esi + 0x41c], ecx
je 0x1003d2b4
cmp dword [esi + 0x418], ecx
je 0x1003d2b4
cmp dword [esi + 0x414], ecx
je 0x1003d2b4
call dword [ebp - 0x24]
test al, al
je 0x1003d2b4
lea eax, [ebp - 0x254]
push eax
lea eax, [esi + 4]
push eax
call fcn.100a56ba
mov eax, dword [edi + 4]
pop ecx
pop ecx
mov ecx, dword [edi]
mov dword [ecx + eax*4], esi
inc dword [edi + 4]
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
cmp ecx, eax
jne 0x1003d27c
shl eax, 3
push eax
push dword [edi]
call fcn.100a78bf
pop ecx
mov dword [edi], eax
mov eax, dword [edi + 8]
pop ecx
lea ecx, [eax + eax]
jmp 0x1003d275
mov ecx, dword [edi]
and dword [ecx + eax*4], 0
mov ecx, dword [edi + 8]
inc eax
add ecx, ecx
cmp eax, ecx
jb 0x1003d269
shl dword [edi + 8], 1
push dword [ebp - 0x14]
push dword [edi + 0xc]
call dword [ebp - 0x1c]
test al, al
jne 0x1003d2ab
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, esi
call fcn.1003cfd9
push esi
call fcn.100a2009
dec dword [edi + 4]
mov eax, dword [edi + 4]
pop ecx
mov ecx, dword [edi]
and dword [ecx + eax*4], 0
inc dword [ebp - 0x14]
mov byte [ebp - 0xd], 1
jmp 0x1003d2ca
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, esi
call fcn.1003cfd9
push esi
call fcn.100a2009
pop ecx
lea eax, [ebp - 0x280]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1003d122
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0xc]
xor eax, eax
cmp byte [ebp - 0xd], al
pop edi
setne al
pop esi
pop ebx
mov dword fs:[0], ecx
dec eax
and eax, 0xfffffed2
leave
ret