Function at 0x10006ff2
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x7b8]
sub esp, 0x838
mov eax, dword [0x10274398]
xor eax, ebp
mov dword [ebp + 0x7b4], eax
mov eax, dword [ebp + 0x7c0]
push ebx
push esi
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x7c4]
push edi
push eax
mov dword [ebp - 0x70], eax
call fcn.100167d3
mov esi, dword [0x102757a4]
mov edi, 0x10000
and esi, edi
neg esi
sbb esi, esi
xor ebx, ebx
push ebx
push eax
push 0x27e1
mov dword [ebp - 0x78], eax
add esi, 0x32810152
call fcn.10018d5b
add esp, 0x10
cmp word [0x10275900], bx
jne 0x1000707e
push str.AIL:Set_archive_file_first_
push 1
call fcn.101d1209
push ebx
push 0x81070057
push esi
call fcn.10019470
add esp, 0x14
xor eax, eax
jmp 0x10007348
mov eax, dword [0x10275b08]
mov ebx, 0x104
test eax, eax
jne 0x100071c3
push 0x206
push eax
mov word [ebp + 0x5ac], ax
lea eax, [ebp + 0x5ae]
push eax
call fcn.101d19d0
mov eax, dword [0x102757a4]
add esp, 0xc
test eax, 0x20000
je 0x100070bf
push str._PluginDir_AI7z20.dll
jmp 0x100070cc
test edi, eax
je 0x100071ab
push str._PluginDir_AIZip10.dll
lea eax, [ebp + 0x5ac]
push ebx
push eax
call fcn.1000a481
add esp, 0xc
lea eax, [ebp + 0x5ac]
push eax
push str.AIL:ExtractLib_s
push 3
call fcn.101d1209
add esp, 0xc
lea eax, [ebp + 0x5ac]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x102758fc], eax
test eax, eax
jne 0x1000713a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
and edi, 0xffff
or edi, 0x83070000
push edi
push str.AIL:Load_ExtractLib_Err_d
push 1
call fcn.101d1209
push 0
push edi
push esi
call fcn.10019470
add esp, 0x18
jmp 0x10007077
mov ecx, dword [0x102757a4]
test ecx, 0x20000
je 0x1000714f
push str.AI7z_Extract
jmp 0x10007158
test edi, ecx
je 0x10007164
push str.AIZip_Extract
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10275b08], eax
mov eax, dword [0x10275b08]
test eax, eax
jne 0x100071c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
and edi, 0xffff
or edi, 0x84070000
push edi
push str.AIL:GetProcAddr_ExtractLib__Err_d
push 1
call fcn.101d1209
push 0
push edi
push esi
call fcn.10019470
add esp, 0x18
push dword [0x102758fc]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x10007077
push str.AIL:ExtractLib_is_not_defined
push 1
call fcn.101d0efc
push 0
push 0x82070078
jmp 0x1000706e
mov dword [ebp - 0x7c], eax
call fcn.10007a52
mov dword [ebp - 0x80], eax
test al, 0x10
jne 0x100071de
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0x78], eax
je 0x100071de
xor edi, edi
jmp 0x100071e1
xor edi, edi
inc edi
push dword [ebp - 0x74]
lea eax, [ebp + 0x19c]
push ebx
push eax
call fcn.100075c8
mov eax, dword [ebp - 0x70]
add esp, 0xc
test edi, edi
jne 0x100071fe
mov eax, dword [ebp - 0x78]
push ebx
push eax
lea eax, [ebp + 0x19c]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.10016b70
add esp, 0x10
test byte [ebp - 0x80], 6
jne 0x10007293
push edi
push dword [ebp - 0x70]
lea eax, [ebp + 0x19c]
push eax
push 0x10275900
call dword [ebp - 0x7c]
mov edi, eax
test edi, edi
je 0x1000725a
push edi
push dword [ebp - 0x70]
lea eax, [ebp + 0x19c]
push eax
push str.AIL:Extract__s___s__Err_d
push 1
call fcn.101d1209
push 0
push edi
push esi
call fcn.10019470
add esp, 0x20
jmp 0x10007077
push dword [ebp - 0x70]
push str.AIL:Extract__s_ok
push 4
call fcn.101d1209
xor eax, eax
add esp, 0xc
inc eax
test byte [ebp - 0x80], 8
je 0x10007348
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.1000792d
pop ecx
pop ecx
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
jmp 0x10007348
push 0
push dword [ebp - 0x70]
mov edi, str.PluginDir
push edi
call fcn.1000a6f3
pop ecx
push eax
push 0x10275900
call dword [ebp - 0x7c]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x100072d7
push eax
push dword [ebp - 0x70]
push str.AIL:ExtractToTemp__s__Err_d
push 1
call fcn.101d1209
push 0
push dword [ebp - 0x74]
push esi
call fcn.10019470
add esp, 0x1c
jmp 0x10007077
push dword [ebp - 0x70]
push str.AIL:ExtractToTemp__s_ok
push 4
call fcn.101d1209
add esp, 0xc
push ebx
push dword [ebp - 0x78]
push edi
call fcn.1000a6f3
pop ecx
push eax
lea eax, [ebp + 0x3a4]
push eax
call fcn.10016b70
push 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x3a4]
push eax
call fcn.10009a74
mov esi, eax
add esp, 0x1c
lea eax, [ebp + 0x3a4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10007346
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp + 0x3a4]
push eax
push str.AIL:Delete__s__Err_d
push 2
call fcn.101d1209
add esp, 0x10
mov eax, esi
mov ecx, dword [ebp + 0x7b4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101d14d7
add ebp, 0x7b8
leave
ret