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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4f5568]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x210], edi
lea ecx, [edi + 0x1c8]
mov edx, ecx
lea esi, [edx + 1]
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x4174a0
sub edx, esi
push edx
push 0
push ecx
call fcn.004b67a0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi + 0x1c4], eax
test eax, eax
jne 0x4175a4
push 0x103
push eax
mov byte [ebp - 0x20c], al
lea eax, [ebp - 0x20b]
push eax
call fcn.004b67a0
push 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], 0
push 0
push eax
call fcn.004b67a0
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x41752b
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004ad400
add esp, 8
mov byte [eax], 0
xor eax, eax
lea ecx, [ecx]
mov cl, byte [ebp + eax - 0x20c]
lea eax, [eax + 1]
mov byte [ebp + eax - 0x109], cl
test cl, cl
jne 0x417530
lea edi, [ebp - 0x108]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x417550
mov ax, word [0x4dfc28]
mov esi, ebx
mov word [edi], ax
mov al, byte [ebx]
inc ebx
test al, al
jne 0x417565
lea edi, [ebp - 0x108]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x417575
mov ecx, ebx
lea eax, [ebp - 0x108]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [ebp - 0x210]
mov dword [edi + 0x1c4], eax
mov eax, dword [edi + 0x1c4]
test eax, eax
je 0x417711
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Description
push eax
call esi
push str.Startup
push dword [edi + 0x1c4]
mov dword [edi + 0x2cc], eax
call esi
push str.Shutdown
push dword [edi + 0x1c4]
mov dword [edi + 0x2d4], eax
call esi
push str.SetParams
push dword [edi + 0x1c4]
mov dword [edi + 0x2d0], eax
call esi
push str.GetParams
push dword [edi + 0x1c4]
mov dword [edi + 0x2d8], eax
call esi
push str.TransformBuffer
push dword [edi + 0x1c4]
mov dword [edi + 0x2dc], eax
call esi
push str.RestoreBuffer
push dword [edi + 0x1c4]
mov dword [edi + 0x2e0], eax
call esi
push str.FreeBuffer
push dword [edi + 0x1c4]
mov dword [edi + 0x2e4], eax
call esi
push str.Reset
push dword [edi + 0x1c4]
mov dword [edi + 0x2e8], eax
call esi
push str.CreatePluginInterface
push dword [edi + 0x1c4]
mov dword [edi + 0x2ec], eax
call esi
push str.CreateIntegratedPluginInterface
push dword [edi + 0x1c4]
mov dword [edi + 0x2f0], eax
call esi
push str.Config
push dword [edi + 0x1c4]
mov dword [edi + 0x2f4], eax
call esi
cmp dword [edi + 0x2d4], 0
mov dword [edi + 0x2f8], eax
je 0x4176ef
cmp dword [edi + 0x2d0], 0
je 0x4176ef
cmp dword [edi + 0x2d8], 0
je 0x4176ef
cmp dword [edi + 0x2dc], 0
je 0x4176ef
cmp dword [edi + 0x2e0], 0
je 0x4176ef
cmp dword [edi + 0x2e4], 0
je 0x4176ef
cmp dword [edi + 0x2e8], 0
je 0x4176ef
mov byte [edi + 0x20], 1
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004aca59
mov esp, ebp
pop ebp
ret 8
push dword [edi + 0x1c4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp byte [edi + 0x1c8], 0
lea eax, [edi + 0x1c8]
je 0x417711
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004aca59
mov esp, ebp
pop ebp
ret 8