Function at 0x401f60
Capabilities:
Delete file
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x41d054]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea edx, [ebx + 0x1b0]
push edi
mov edi, ecx
mov eax, edx
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], edx
lea esi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401f90
sub eax, esi
push eax
push 0
push edx
call fcn.0040eae0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebx + 0x1ac], eax
test eax, eax
jne 0x402069
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x401fe6
lea ecx, [ebp - 0x20c]
push 0x5c
push ecx
call fcn.0040ac30
add esp, 8
mov byte [eax], 0
xor eax, eax
jmp 0x401ff0
mov cl, byte [ebp + eax - 0x20c]
mov byte [ebp + eax - 0x108], cl
inc eax
test cl, cl
jne 0x401ff0
lea edi, [ebp - 0x108]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x402010
mov dx, word [0x41a3c8]
mov eax, dword [ebp - 0x214]
mov word [edi], dx
mov esi, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402030
lea edi, [ebp - 0x108]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x402040
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x108]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebx + 0x1ac], eax
mov eax, dword [ebx + 0x1ac]
test eax, eax
je 0x4021db
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41a3d4
push eax
call esi
mov ecx, dword [ebx + 0x1ac]
push str.Startup
push ecx
mov dword [ebx + 0x2b4], eax
call esi
mov edx, dword [ebx + 0x1ac]
push str.Shutdown
push edx
mov dword [ebx + 0x2bc], eax
call esi
mov dword [ebx + 0x2b8], eax
mov eax, dword [ebx + 0x1ac]
push str.SetParams
push eax
call esi
mov ecx, dword [ebx + 0x1ac]
push str.GetParams
push ecx
mov dword [ebx + 0x2c0], eax
call esi
mov edx, dword [ebx + 0x1ac]
push str.TransformBuffer
push edx
mov dword [ebx + 0x2c4], eax
call esi
mov dword [ebx + 0x2c8], eax
mov eax, dword [ebx + 0x1ac]
push str.RestoreBuffer
push eax
call esi
mov ecx, dword [ebx + 0x1ac]
push str.FreeBuffer
push ecx
mov dword [ebx + 0x2cc], eax
call esi
mov edx, dword [ebx + 0x1ac]
push str.Reset
push edx
mov dword [ebx + 0x2d0], eax
call esi
mov dword [ebx + 0x2d4], eax
mov eax, dword [ebx + 0x1ac]
push str.CreatePluginInterface
push eax
call esi
mov ecx, dword [ebx + 0x1ac]
push str.CreateIntegratedPluginInterface
push ecx
mov dword [ebx + 0x2d8], eax
call esi
mov edx, dword [ebx + 0x1ac]
push str.Config
push edx
mov dword [ebx + 0x2dc], eax
call esi
cmp dword [ebx + 0x2bc], 0
mov dword [ebx + 0x2e0], eax
je 0x4021bc
cmp dword [ebx + 0x2b8], 0
je 0x4021bc
cmp dword [ebx + 0x2c0], 0
je 0x4021bc
cmp dword [ebx + 0x2c4], 0
je 0x4021bc
cmp dword [ebx + 0x2c8], 0
je 0x4021bc
cmp dword [ebx + 0x2cc], 0
je 0x4021bc
cmp dword [ebx + 0x2d0], 0
je 0x4021bc
pop edi
mov byte [ebx + 8], 1
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a942
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x1ac]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x210]
cmp byte [eax], 0
je 0x4021db
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.0040a942
mov esp, ebp
pop ebp
ret