Function at 0x40be80
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430da6
mov eax, dword fs:[0]
push eax
sub esp, 0x4d0
mov eax, dword [0x43c034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x70], 0
mov dword [ebp - 4], 0
je 0x40c367
cmp dword [ebp + 0x18], 0
jne 0x40bee5
lea eax, [edi + 0x58]
lea ecx, [ebp + 8]
cmp ecx, eax
je 0x40bee5
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x40bedb
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp + 8]
call fcn.0040cc30
lea eax, [ebp - 0x58]
push 0x14
push eax
call fcn.0040b170
add esp, 8
mov dword [ebp - 0x484], eax
cmp dword [ebp + 0x1c], 0x10
lea edx, [ebp + 8]
mov esi, dword [ebp + 0x18]
cmovae edx, dword [ebp + 8]
mov byte [ebp - 4], 2
test esi, esi
je 0x40bf2f
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x2f
je 0x40bf2b
cmp ecx, edx
je 0x40bf2f
dec ecx
cmp byte [ecx], 0x2f
jne 0x40bf21
sub ecx, edx
jmp 0x40bf32
or ecx, 0xffffffff
inc ecx
mov dword [ebp - 0x18], 0
cmp esi, ecx
mov dword [ebp - 0x14], 0
lea eax, [ebp + 8]
xorps xmm0, xmm0
cmovb ecx, esi
cmp dword [ebp + 0x1c], 0x10
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push eax
movups xmmword [ebp - 0x28], xmm0
call fcn.004012c0
push dword [ebp - 0x484]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x480]
lea ecx, [ebp - 0x40]
call fcn.00409ae0
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp ecx, 0x10
jb 0x40bfb6
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bfac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c392
push ecx
push edx
call fcn.00428a43
add esp, 8
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 6
cmp ecx, 0x10
jb 0x40bfee
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bfe4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c392
push ecx
push edx
call fcn.00428a43
add esp, 8
push 0x50
lea eax, [ebp - 0x4dc]
mov dword [ebp - 0x48], 0
push 0
push eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call sub.msvcrt.dll_memset
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push 0
push 0
push eax
lea eax, [ebp - 0x4dc]
push eax
call fcn.0041f9f0
mov eax, dword [edi + 0x78]
add esp, 0x20
mov esi, dword [edi + 0x74]
mov dword [ebp - 0x484], eax
cmp esi, eax
je 0x40c16d
cmp dword [esi + 0x54], 0
jne 0x40c15f
cmp byte [esi + 0x46c], 0
jne 0x40c07b
push dword [esi + 8]
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x4dc]
push eax
call fcn.0041d5e0
add esp, 0xc
test eax, eax
je 0x40c397
jmp 0x40c159
mov ecx, dword [esi + 0x460]
lea edx, [esi + 0x60]
mov eax, dword [esi + 0x464]
xorps xmm0, xmm0
sub eax, ecx
mov dword [ebp - 0x480], ecx
mov ecx, edx
mov dword [ebp - 0x48c], eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x488], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c0b8
sub ecx, dword [ebp - 0x488]
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004012c0
push 0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
push dword [ebp - 0x48c]
push dword [ebp - 0x480]
push eax
lea eax, [ebp - 0x4dc]
push eax
call fcn.0041e140
mov ecx, dword [ebp - 0x14]
add esp, 0x3c
test eax, eax
sete al
mov byte [ebp - 0x479], al
cmp ecx, 0x10
jb 0x40c151
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c141
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c392
push ecx
push edx
call fcn.00428a43
mov al, byte [ebp - 0x479]
add esp, 8
test al, al
jne 0x40c3fe
mov eax, dword [ebp - 0x484]
add esi, 0x470
cmp esi, eax
jne 0x40c045
lea eax, [ebp - 0x4dc]
push eax
call fcn.0041f5d0
lea eax, [ebp - 0x4dc]
push 1
push eax
call fcn.0041f4c0
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x480]
push ecx
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0
push eax
call fcn.0041d3e0
add esp, 0x18
test eax, eax
je 0x40c3c9
mov ecx, edi
call fcn.0040b050
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
mov dword [ebp - 0x74], 0
cmovae eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0xa
call fcn.0040cf00
test al, al
jne 0x40c1e6
call sub.msvcrt.dll__errno
mov dword [eax], 0x16
jmp 0x40c1fd
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x274]
test eax, eax
cmovne ecx, eax
push ecx
call sub.msvcrt.dll__wremove
add esp, 4
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x40c20d
push eax
call fcn.00428cdc
add esp, 4
cmp dword [ebp + 0x1c], 0x10
lea esi, [ebp + 8]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x278], 0
cmovae esi, dword [ebp + 8]
cmp dword [ebp - 0x2c], 0x10
cmovae eax, dword [ebp - 0x40]
mov dword [ebp - 0x74], 0
push eax
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 0xc
call fcn.0040cf00
test al, al
je 0x40c283
push esi
lea ecx, [ebp - 0x274]
call fcn.0040cf00
test al, al
je 0x40c283
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x274]
test eax, eax
lea ecx, [ebp - 0x478]
cmovne edx, eax
mov eax, dword [ebp - 0x278]
test eax, eax
push edx
cmovne ecx, eax
push ecx
call sub.msvcrt.dll__wrename
add esp, 8
jmp 0x40c28e
call sub.msvcrt.dll__errno
mov dword [eax], 0x16
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x40c2a5
push eax
call fcn.00428cdc
add esp, 4
mov dword [ebp - 0x74], 0
xor eax, eax
mov byte [ebp - 4], 6
mov word [ebp - 0x274], ax
mov eax, dword [ebp - 0x278]
test eax, eax
je 0x40c2c5
push eax
call fcn.00428cdc
add esp, 4
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.0040b9a0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x40c304
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c2fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c430
push ecx
push edx
call fcn.00428a43
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0x10
jb 0x40c34a
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c340
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c430
push ecx
push edx
call fcn.00428a43
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00428a51
mov esp, ebp
pop ebp
ret 0x18
push str.Cannot_call_Save_on_empty_ZipArchive_object_
lea ecx, [ebp - 0x58]
call fcn.00402010
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x1c]
call fcn.00409d20
push 0x43a0cc
lea eax, [ebp - 0x1c]
push eax
call sub.msvcrt.dll__CxxThrowException
call fcn.00429ae0
push dword [edi + 0x24]
call fcn.0041ac10
add esp, 4
lea ecx, [ebp - 0x70]
push eax
call fcn.00402010
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x1c]
call fcn.00409da0
push 0x43a090
lea eax, [ebp - 0x1c]
push eax
call sub.msvcrt.dll__CxxThrowException
push dword [ebp - 0x480]
call fcn.0041ac10
add esp, 4
lea ecx, [ebp - 0x70]
push eax
call fcn.00402010
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x1c]
call fcn.00409da0
push 0x43a090
lea eax, [ebp - 0x1c]
push eax
call sub.msvcrt.dll__CxxThrowException
push dword [edi + 0x24]
call fcn.0041ac10
add esp, 4
lea ecx, [ebp - 0x70]
push eax
call fcn.00402010
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x1c]
call fcn.00409da0
push 0x43a090
lea eax, [ebp - 0x1c]
push eax
call sub.msvcrt.dll__CxxThrowException
call fcn.00429ae0
int3