Function at 0x10006d50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc3c
mov eax, dword [0x10028ce0]
xor eax, esp
mov dword [esp + 0xc38], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x401
xor ebx, ebx
lea eax, [esp + 0x83c]
push ebx
push eax
mov dword [esp + 0x18], ecx
call fcn.10012980
mov edi, dword [ebp + 0xc]
add esp, 0xc
cmp edi, 1
jne 0x10006df0
mov al, byte [esi]
cmp al, 0x1e
jne 0x10006dba
mov ecx, dword [esp + 0xc]
call fcn.100067e0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc38]
xor ecx, esp
call fcn.10012866
mov esp, ebp
pop ebp
ret 8
cmp al, 0xf
jne 0x100070e9
mov ecx, dword [esp + 0xc]
push ebx
push ebx
push ebx
push ecx
push 0x100069e0
push ebx
push ebx
call fcn.10009d40
add esp, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc38]
xor ecx, esp
call fcn.10012866
mov esp, ebp
pop ebp
ret 8
jbe 0x100070e9
mov al, byte [esi]
cmp al, 0xc
jne 0x10006ef7
push 0x103
lea edx, [esp + 0x525]
push ebx
push edx
mov byte [esp + 0x52c], bl
call fcn.10012980
dec edi
push edi
inc esi
lea eax, [esp + 0x530]
push esi
push eax
call fcn.10013170
add esp, 0x18
lea ecx, [esp + 0x520]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
cmp edi, ebx
je 0x10006e96
push str.PluginDelete
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x1000716d
lea edx, [esp + 0x838]
push edx
call eax
mov esi, eax
lea eax, [esp + 0x838]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10006e70
mov ecx, dword [esp + 0xc]
sub eax, edx
push eax
lea eax, [esp + 0x83c]
push eax
call fcn.10006740
cmp esi, ebx
je 0x10006e96
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x103
lea ecx, [esp + 0x62d]
push ebx
push ecx
mov byte [esp + 0x634], bl
call fcn.10012980
lea edx, [esp + 0x52c]
push edx
push 0x1002a760
lea eax, [esp + 0x63c]
push str._s_s
push eax
call fcn.10012f2c
add esp, 0x1c
lea ecx, [esp + 0x628]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc38]
xor ecx, esp
call fcn.10012866
mov esp, ebp
pop ebp
ret 8
cmp al, 0xd
jne 0x10006fd6
push 0x103
lea edx, [esp + 0x62d]
push ebx
push edx
mov byte [esp + 0x634], bl
call fcn.10012980
dec edi
push edi
inc esi
lea eax, [esp + 0x638]
push esi
push eax
call fcn.10013170
push 0x103
lea ecx, [esp + 0x53d]
push ebx
push ecx
mov byte [esp + 0x544], bl
call fcn.10012980
lea edx, [esp + 0x64c]
push edx
push 0x1002a760
lea eax, [esp + 0x54c]
push str._s_s
push eax
call fcn.10012f2c
add esp, 0x34
lea ecx, [esp + 0x520]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
je 0x1000716d
push str.PluginStart
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x1000716d
lea edx, [esp + 0x838]
push edx
call eax
lea eax, [esp + 0x838]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10006fa4
mov ecx, dword [esp + 0xc]
sub eax, edx
push eax
lea eax, [esp + 0x83c]
push eax
call fcn.10006740
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc38]
xor ecx, esp
call fcn.10012866
mov esp, ebp
pop ebp
ret 8
cmp al, 0xe
jne 0x100070e9
push 0x103
lea ecx, [esp + 0x525]
push ebx
push ecx
mov byte [esp + 0x52c], bl
call fcn.10012980
dec edi
push edi
inc esi
lea edx, [esp + 0x530]
push esi
push edx
call fcn.10013170
push 0x103
lea eax, [esp + 0x645]
push ebx
push eax
mov byte [esp + 0x64c], bl
call fcn.10012980
lea ecx, [esp + 0x544]
push ecx
push 0x1002a760
lea edx, [esp + 0x654]
push str._s_s
push edx
call fcn.10012f2c
add esp, 0x34
lea eax, [esp + 0x520]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
cmp edi, ebx
jne 0x1000707e
lea ecx, [esp + 0x628]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc38]
xor ecx, esp
call fcn.10012866
mov esp, ebp
pop ebp
ret 8
push str.PluginEnd
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x1000716d
lea edx, [esp + 0x838]
push edx
call eax
mov esi, eax
lea eax, [esp + 0x838]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100070a8
mov ecx, dword [esp + 0xc]
sub eax, edx
push eax
lea eax, [esp + 0x83c]
push eax
call fcn.10006740
cmp esi, ebx
jne 0x1000716d
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc38]
xor ecx, esp
call fcn.10012866
mov esp, ebp
pop ebp
ret 8
mov ecx, 0x143
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18]
push ecx
call fcn.100207f0
push 0x103
lea edx, [esp + 0x739]
push ebx
push edx
mov byte [esp + 0x740], bl
call fcn.10012980
lea eax, [esp + 0x28]
push eax
push 0x1002a760
lea ecx, [esp + 0x748]
push str._s_s
push ecx
call fcn.10012f2c
add esp, 0x20
cmp dword [esp + 0x10], ebx
jne 0x1000714b
lea edx, [esp + 0x730]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x734]
push ecx
push edx
lea eax, [esp + 0x128]
push eax
call fcn.10006820
add esp, 0x10
mov ecx, dword [esp + 0xc44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10012866
mov esp, ebp
pop ebp
ret 8