Function at 0x426b3c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534a30
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x5bc684]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x134], esi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x11c], edi
xor ebx, ebx
mov dword [ebp - 0x12c], ebx
mov byte [ebp - 0x118], bl
push 0x103
push ebx
lea eax, [ebp - 0x117]
push eax
call fcn.004ff6f0
add esp, 0xc
mov dword [ebp - 4], ebx
mov ecx, esi
call fcn.00426640
test eax, eax
je 0x426b66
cmp edi, ebx
je 0x426b35
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
mov dword [ebp - 0x120], ebx
cmp ebx, 0xffffffff
jne 0x426a1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x426b35
mov ecx, edi
lea edx, [ebp - 0x118]
lea ebx, [ebx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x426970
push 0x2e
lea ecx, [ebp - 0x118]
push ecx
call fcn.004ff460
add esp, 8
mov edi, eax
test edi, edi
je 0x426a11
xor esi, esi
mov dword [ebp - 0x130], esi
lea ecx, [ecx]
push esi
push str._03d
lea edx, [edi + 1]
push edx
call fcn.004ff1e4
lea eax, [ebp - 0x118]
push eax
call fcn.004c4aa0
add esp, 0x10
test eax, eax
je 0x4269d3
mov ecx, esi
inc esi
mov dword [ebp - 0x130], esi
cmp ecx, 0x3e7
jb 0x4269a0
push 1
lea edx, [ebp - 0x118]
push edx
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x426a11
push 0
push 0
push 3
push 0
push 0
push SysReAllocString
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x120], eax
mov ebx, eax
cmp ebx, 0xffffffff
je 0x426b35
mov dword [ebp - 0x128], 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call fcn.004fc6be
add esp, 4
mov esi, eax
mov dword [ebp - 0x124], esi
push 0
lea edx, [ebp - 0x128]
push edx
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x128], edi
jne 0x426b03
lea ebx, [edi + 0x78]
push ebx
call fcn.004fc6be
mov esi, eax
mov dword [esi], 0x100
mov dword [esi + 8], ebx
push 0
call fcn.004ff06e
mov dword [esi + 0xc], eax
mov dword [esi + 0x44], 4
lea eax, [edi + 0x20]
mov dword [esi + 0x50], eax
lea eax, [esi + 0x48]
and dword [eax], 0xffffff00
mov ecx, dword [eax]
or ecx, 1
mov dword [eax], ecx
push eax
call fcn.00425e00
mov dword [eax + 4], ebx
mov dword [eax], 4
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [eax + 0x10], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edi
push edi
mov edx, dword [ebp - 0x124]
push edx
add eax, 0x1c
push eax
call fcn.004fe210
add esp, 0x18
push esi
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 4]
call fcn.0042ac70
push esi
call fcn.004808a0
add esp, 4
mov dword [ebp - 0x12c], 1
mov esi, dword [ebp - 0x124]
mov ebx, dword [ebp - 0x120]
jmp 0x426b25
mov ecx, dword [0x5bba88]
mov edx, dword [ecx]
push 0
push 0
push str.Error_reading_from_file_to_archive
push 1
push str.ArchiveFile
push 0x55fae4
mov eax, dword [edx + 4]
call eax
push esi
call fcn.004fedfc
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 2
cmp byte [ebp - 0x118], 0
je 0x426b59
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004fe1f5
mov esp, ebp
pop ebp
ret 0xc