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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101acb7e
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x1022c684]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2cc], ecx
push 1
lea eax, [ebp - 0x28]
push eax
call fcn.100e14d0
add esp, 8
mov dword [ebp - 4], 0
push 0x101cd3bc
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.10090bb0
add esp, 0xc
mov byte [ebp - 4], 1
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x20]
call fcn.100043a0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x100d8f4e
mov dword [ebp - 0x294], 0xfffffed2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10005e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005e00
mov eax, dword [ebp - 0x294]
jmp 0x100d9487
push 4
call fcn.1017085c
add esp, 4
mov ecx, dword [ebp - 0x2cc]
mov dword [ecx], eax
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x2cc]
mov dword [edx + 8], 1
mov dword [ebp - 0x280], 0
jmp 0x100d8f8f
mov eax, dword [ebp - 0x280]
add eax, 1
mov dword [ebp - 0x280], eax
mov ecx, dword [ebp - 0x2cc]
mov edx, dword [ebp - 0x280]
cmp edx, dword [ecx + 8]
jae 0x100d8fb7
mov eax, dword [ebp - 0x2cc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x280]
mov dword [ecx + edx*4], 0
jmp 0x100d8f80
mov byte [ebp - 0x15], 0
push 0x248
call fcn.1017072e
add esp, 4
mov dword [ebp - 0x29c], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x29c], 0
je 0x100d8fee
mov ecx, dword [ebp - 0x29c]
call fcn.100d9870
mov dword [ebp - 0x2d0], eax
jmp 0x100d8ff8
mov dword [ebp - 0x2d0], 0
mov eax, dword [ebp - 0x2d0]
mov dword [ebp - 0x298], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x298]
mov dword [ebp - 0x284], ecx
lea edx, [ebp - 0x250]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2a0]
push ecx
call fcn.10090bb0
add esp, 0xc
mov dword [ebp - 0x2d4], eax
mov ecx, dword [ebp - 0x2d4]
call fcn.10004390
push eax
call fcn.100aa6f0
mov edx, dword [ebp - 0x284]
mov dword [edx], eax
lea ecx, [ebp - 0x2a0]
call fcn.10005e00
mov eax, dword [ebp - 0x284]
cmp dword [eax], 0
jne 0x100d90a8
mov ecx, dword [ebp - 0x284]
mov dword [ebp - 0x2a8], ecx
mov edx, dword [ebp - 0x2a8]
mov dword [ebp - 0x2a4], edx
cmp dword [ebp - 0x2a4], 0
je 0x100d9099
push 1
mov ecx, dword [ebp - 0x2a4]
call fcn.100d98e0
mov dword [ebp - 0x2d8], eax
jmp 0x100d90a3
mov dword [ebp - 0x2d8], 0
jmp 0x100d9404
push 0x101cd3c8
mov eax, dword [ebp - 0x284]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
push str.PlugInit
mov edx, dword [ebp - 0x284]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
push str.PlugCreate
mov ecx, dword [ebp - 0x284]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x284]
mov dword [ecx + 0x214], eax
push 0x101cd3ec
mov edx, dword [ebp - 0x284]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x284]
mov dword [ecx + 0x210], eax
push str.PlugTerm
mov edx, dword [ebp - 0x284]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x284]
mov dword [ecx + 0x20c], eax
push str.determineCommands
mov edx, dword [ebp - 0x284]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28c], eax
push 0x101cd418
mov ecx, dword [ebp - 0x284]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x28c], 0
jne 0x100d91b5
cmp dword [ebp - 0x288], 0
jne 0x100d91b5
cmp dword [ebp - 0x1c], 0
je 0x100d91b5
cmp dword [ebp - 0x14], 0
je 0x100d91b5
mov eax, dword [ebp - 0x284]
cmp dword [eax + 0x214], 0
je 0x100d91b5
mov ecx, dword [ebp - 0x284]
cmp dword [ecx + 0x210], 0
je 0x100d91b5
mov edx, dword [ebp - 0x284]
cmp dword [edx + 0x20c], 0
jne 0x100d9209
mov eax, dword [ebp - 0x284]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x2b0], edx
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x2ac], eax
cmp dword [ebp - 0x2ac], 0
je 0x100d91fa
push 1
mov ecx, dword [ebp - 0x2ac]
call fcn.100d98e0
mov dword [ebp - 0x2dc], eax
jmp 0x100d9204
mov dword [ebp - 0x2dc], 0
jmp 0x100d9404
call dword [ebp - 0x1c]
movzx ecx, al
test ecx, ecx
jne 0x100d9267
mov edx, dword [ebp - 0x284]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x284]
mov dword [ebp - 0x2b8], ecx
mov edx, dword [ebp - 0x2b8]
mov dword [ebp - 0x2b4], edx
cmp dword [ebp - 0x2b4], 0
je 0x100d9258
push 1
mov ecx, dword [ebp - 0x2b4]
call fcn.100d98e0
mov dword [ebp - 0x2e0], eax
jmp 0x100d9262
mov dword [ebp - 0x2e0], 0
jmp 0x100d9404
lea eax, [ebp - 0x250]
push eax
push 0x101cd428
push 0x104
mov ecx, dword [ebp - 0x284]
add ecx, 4
push ecx
call fcn.1017057f
add esp, 0x10
mov edx, dword [ebp - 0x2cc]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x2cc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x284]
mov dword [edx + eax*4], ecx
mov edx, dword [ebp - 0x2cc]
mov eax, dword [edx + 4]
add eax, 1
mov ecx, dword [ebp - 0x2cc]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x2cc]
mov eax, dword [ebp - 0x2cc]
mov ecx, dword [edx + 4]
cmp ecx, dword [eax + 8]
jne 0x100d9357
mov edx, dword [ebp - 0x2cc]
mov eax, dword [edx + 8]
shl eax, 2
shl eax, 1
push eax
mov ecx, dword [ebp - 0x2cc]
mov edx, dword [ecx]
push edx
call fcn.1017694b
add esp, 8
mov ecx, dword [ebp - 0x2cc]
mov dword [ecx], eax
mov edx, dword [ebp - 0x2cc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x290], eax
jmp 0x100d9319
mov ecx, dword [ebp - 0x290]
add ecx, 1
mov dword [ebp - 0x290], ecx
mov edx, dword [ebp - 0x2cc]
mov eax, dword [edx + 8]
shl eax, 1
cmp dword [ebp - 0x290], eax
jae 0x100d9343
mov ecx, dword [ebp - 0x2cc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x290]
mov dword [edx + eax*4], 0
jmp 0x100d930a
mov ecx, dword [ebp - 0x2cc]
mov edx, dword [ecx + 8]
shl edx, 1
mov eax, dword [ebp - 0x2cc]
mov dword [eax + 8], edx
movzx ecx, byte [ebp + 8]
test ecx, ecx
jne 0x100d93f7
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x2cc]
mov ecx, dword [eax + 0xc]
push ecx
call dword [ebp - 0x14]
movzx edx, al
test edx, edx
jne 0x100d93f7
mov eax, dword [ebp - 0x284]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x2c0], edx
mov eax, dword [ebp - 0x2c0]
mov dword [ebp - 0x2bc], eax
cmp dword [ebp - 0x2bc], 0
je 0x100d93c0
push 1
mov ecx, dword [ebp - 0x2bc]
call fcn.100d98e0
mov dword [ebp - 0x2e4], eax
jmp 0x100d93ca
mov dword [ebp - 0x2e4], 0
mov ecx, dword [ebp - 0x2cc]
mov edx, dword [ecx + 4]
sub edx, 1
mov eax, dword [ebp - 0x2cc]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x2cc]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x2cc]
mov ecx, dword [eax]
mov dword [ecx + edx*4], 0
mov byte [ebp - 0x15], 1
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x27c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100d8fbb
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
movzx eax, byte [ebp - 0x15]
test eax, eax
jne 0x100d945c
mov dword [ebp - 0x2c4], 0xfffffed2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10005e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005e00
mov eax, dword [ebp - 0x2c4]
jmp 0x100d9487
mov dword [ebp - 0x2c8], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10005e00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005e00
mov eax, dword [ebp - 0x2c8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.1016f6a2
mov esp, ebp
pop ebp
ret 4