Function at 0x45f440
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a27be
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x621810]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
xor edi, edi
push edi
lea ecx, [ebx + 8]
call fcn.00401b81
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
lea ecx, [ebx + 0x24]
push edi
call fcn.00401b81
mov eax, dword [ebp + 0x14]
push 0xffffffffffffffff
push edi
lea ecx, [ebx + 0x40]
mov dword [ebx + 4], 2
mov dword [ebx + 0x78], 0x40c76c
call fcn.00401b81
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x10]
push ebx
mov byte [ebx + 0x64], 1
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x60], ecx
mov dword [ebx + 0x68], edx
mov dword [ebx + 0x70], edi
mov dword [ebx + 0x74], edi
call fcn.0045ef90
mov dword [ebx], eax
cmp eax, edi
jne 0x45f4dc
mov dword [ebx + 0x70], 0x7ef
mov dword [ebx + 0x74], 3
jmp 0x45fdbb
push str.CreateObject
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
jne 0x45f62f
test byte [0x6353fc], 1
jne 0x45f5a2
or dword [0x6353fc], 1
mov dword [ebp - 4], edi
push 0x635408
mov dword [0x635400], 0x5ff3e8
mov dword [0x635404], edi
mov dword [0x635420], edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 1
push 8
mov dword [0x635400], 0x5ff428
call fcn.0048bf08
add esp, 4
cmp eax, edi
je 0x45f552
mov dword [eax], 0xffffffff
mov byte [eax + 4], 1
mov esi, eax
jmp 0x45f554
xor esi, esi
push 0x635408
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x635404]
inc dword [0x635420]
cmp eax, edi
je 0x45f577
push eax
call fcn.0048bcc1
add esp, 4
dec dword [0x635420]
push 0x635408
mov dword [0x635404], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x5ae29a
call fcn.0048c9f3
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [0x635400]
call edi
push eax
mov eax, dword [esi + 8]
push 0x60b6b0
push str.UnZip.cpp
push 0x460
push 2
push 0x635400
call eax
add esp, 0x18
test byte [0x6353d0], 1
jne 0x45f5ff
or dword [0x6353d0], 1
mov dword [ebp - 4], 2
call fcn.004033c3
push 0x5ae2ae
call fcn.0048c9f3
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov esi, dword [0x6353d4]
call edi
mov ecx, dword [esi + 4]
push eax
push 0x60b6b0
push 2
push 0x6353d4
call ecx
add esp, 0x10
mov dword [ebx + 0x70], 0x7f0
mov dword [ebx + 0x74], 3
jmp 0x45fdbb
mov dword [ebp + 8], edi
lea edx, [ebp + 8]
push edx
push 0x60b500
push 0x60b4f0
mov dword [ebp - 4], 3
call eax
push 0x30
call fcn.0048bf08
add esp, 4
cmp eax, edi
je 0x45f677
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax], vtable.CInFileStream.0
mov edi, eax
mov dword [eax + 0x1c], 7
mov dword [eax + 0x18], ecx
mov word [eax + 8], cx
mov dword [ebp + 0x1c], edi
jmp 0x45f681
mov dword [ebp + 0x1c], 0
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x18], edi
test edi, edi
je 0x45f690
mov edx, dword [edi]
mov eax, dword [edx + 4]
push edi
call eax
mov byte [ebp - 4], 6
lea eax, [ebx + 8]
mov dword [edi + 0x2c], 0
call fcn.0045dc40
test al, al
jne 0x45f6e9
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x45f6ca
xor ecx, ecx
or ecx, 1
mov dword [ebx + 0x70], eax
mov byte [ebp - 4], 3
mov dword [ebx + 0x74], ecx
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
jmp 0x45fda5
mov byte [ebp - 4], 3
mov dword [ebx + 0x70], 0x7e3
mov dword [ebx + 0x74], 3
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
jmp 0x45fda5
mov eax, dword [ebp + 0x10]
push edi
mov dword [edi + 0x28], eax
call fcn.0045dcb0
xor esi, esi
cmp edx, esi
ja 0x45f70c
jb 0x45f704
cmp eax, 0x800000
jae 0x45f70c
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
jmp 0x45f716
mov dword [ebp - 0x28], 0x800000
mov dword [ebp - 0x24], esi
push 0xc
call fcn.0048bf08
add esp, 4
cmp eax, esi
je 0x45f73d
mov dword [eax + 4], vtable.ICryptoGetTextPassword.0
mov dword [eax + 8], esi
mov dword [eax], vtable.CArchiveOpenCallback.0
mov dword [eax + 4], vtable.CArchiveOpenCallback.1.0
jmp 0x45f73f
xor eax, eax
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x45f751
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov edx, dword [ebp + 0xc]
push edx
mov byte [ebp - 4], 7
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push edi
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, eax
test esi, esi
je 0x45f866
test byte [0x6353fc], 1
jne 0x45f79d
or dword [0x6353fc], 1
mov byte [ebp - 4], 8
call fcn.004032f6
push 0x5ae29a
call fcn.0048c9f3
add esp, 4
mov byte [ebp - 4], 7
mov ecx, dword [0x635400]
mov edx, dword [ecx + 8]
push esi
push str.Open_7z_file_error__d
push str.UnZip.cpp
push 0x487
push 2
push 0x635400
call edx
add esp, 0x18
test byte [0x6353d0], 1
jne 0x45f7ec
or dword [0x6353d0], 1
mov byte [ebp - 4], 9
call fcn.004033c3
push 0x5ae2ae
call fcn.0048c9f3
add esp, 4
mov byte [ebp - 4], 7
mov eax, dword [0x6353d4]
mov ecx, dword [eax + 4]
push esi
push str.Open_7z_file_error__d
push 2
push 0x6353d4
call ecx
mov eax, dword [edi + 0x2c]
add esp, 0x10
test eax, eax
je 0x45f81a
xor edx, edx
or edx, 1
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x74], edx
jmp 0x45f828
mov dword [ebx + 0x70], 0x7ed
mov dword [ebx + 0x74], 3
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 6
test eax, eax
je 0x45f83b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 3
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
test eax, eax
je 0x45fdbb
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x45fdbb
push 0x80
call fcn.0048bf08
add esp, 4
test eax, eax
je 0x45f8d0
mov dword [eax + 4], vtable.ICryptoGetTextPassword.0
mov dword [eax + 8], vtable.IArchiveOpenSetSubArchiveName.0
mov dword [eax + 0xc], vtable.unzip_error.0
xor edi, edi
mov dword [eax + 0x10], edi
mov dword [eax], vtable.CArchiveExtractCallback.0
mov dword [eax + 4], vtable.CArchiveExtractCallback.1.0
mov dword [eax + 8], vtable.CArchiveExtractCallback.2.0
mov dword [eax + 0xc], vtable.CArchiveExtractCallback.3.0
mov ecx, 7
mov dword [eax + 0x28], ecx
mov dword [eax + 0x24], edi
xor edx, edx
mov word [eax + 0x14], dx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x40], edi
xor ecx, ecx
mov word [eax + 0x30], cx
mov dword [eax + 0x4c], edi
mov esi, eax
jmp 0x45f8d4
xor esi, esi
xor edi, edi
mov dword [ebp - 0x20], esi
cmp esi, edi
je 0x45f8e3
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 0xa
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x45f914
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x4c]
cmp eax, edi
je 0x45f923
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
push 0xffffffffffffffff
mov dword [esi + 0x4c], eax
lea ecx, [esi + 0x14]
push 0
lea eax, [ebx + 0x24]
call fcn.00401b81
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x70], ecx
mov byte [esi + 0x74], 1
mov dword [esi + 0x78], 0x40c76c
mov edx, dword [ebx + 0x60]
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
push 0
mov dword [esi + 0x7c], edx
call fcn.00401b81
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push esi
push 0
push 0xffffffffffffffff
push 0
push eax
call edx
mov edi, eax
test edi, edi
je 0x45fa57
test byte [0x6353fc], 1
jne 0x45f9a4
or dword [0x6353fc], 1
mov byte [ebp - 4], 0xb
call fcn.004032f6
push 0x5ae29a
call fcn.0048c9f3
add esp, 4
mov byte [ebp - 4], 0xa
mov eax, dword [0x635400]
mov ecx, dword [eax + 8]
push edi
push str.Extract_7z_file_error__d
push str.UnZip.cpp
push 0x4a1
push 2
push 0x635400
call ecx
add esp, 0x18
test byte [0x6353d0], 1
jne 0x45f9f2
or dword [0x6353d0], 1
mov byte [ebp - 4], 0xc
call fcn.004033c3
push 0x5ae2ae
call fcn.0048c9f3
add esp, 4
mov byte [ebp - 4], 0xa
mov edx, dword [0x6353d4]
mov eax, dword [edx + 4]
push edi
push str.Extract_7z_file_error__d
push 2
push 0x6353d4
call eax
mov eax, dword [esi + 0x6c]
add esp, 0x10
test eax, eax
je 0x45fa21
xor ecx, ecx
or ecx, 1
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x74], ecx
jmp 0x45fa2f
mov dword [ebx + 0x70], 0x7ed
mov dword [ebx + 0x74], 3
mov byte [ebp - 4], 7
mov edx, dword [esi]
mov eax, dword [edx + 8]
push esi
call eax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 6
test eax, eax
je 0x45fd96
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x45fd96
mov eax, dword [ebp + 0x10]
mov cl, byte [eax]
test cl, cl
jne 0x45fd69
cmp dword [esi + 0x6c], 0
jne 0x45fd1c
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x45fbe2
mov edx, str.tmp_file
call fcn.00455200
mov eax, dword [eax]
test eax, eax
je 0x45fa92
cmp eax, 5
jne 0x45fbe2
mov ecx, dword [ebx + 0x5c]
mov edx, str.tmp_file
call fcn.00455200
mov ecx, dword [ebx + 0x5c]
mov edx, str.real_file
mov dword [ebp + 0x10], eax
call fcn.00455200
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x10]
xor edi, edi
call fcn.00454fc0
test eax, eax
je 0x45fbe2
call fcn.00402e69
mov ecx, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x10], eax
call fcn.00455010
mov ecx, eax
call fcn.00455a30
cmp dword [eax + 0x14], 8
jb 0x45fae9
mov edx, dword [eax]
mov dword [ebp + 0x14], edx
jmp 0x45faec
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0x10]
push edi
call fcn.00455010
mov ecx, eax
call fcn.00455a30
cmp dword [eax + 0x14], 8
jb 0x45fb04
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x14]
push ecx
mov ecx, dword [edx + 8]
push eax
mov eax, dword [ebp - 0x10]
push str.processing_reserve_worked_file__s_____s
push str.UnZip.cpp
push 0x4b4
push 0
push eax
call ecx
add esp, 0x1c
call fcn.00402e2e
mov ecx, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x10], eax
call fcn.00455010
mov ecx, eax
call fcn.00455a30
cmp dword [eax + 0x14], 8
jb 0x45fb50
mov edx, dword [eax]
mov dword [ebp + 0x14], edx
jmp 0x45fb53
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0x10]
push edi
call fcn.00455010
mov ecx, eax
call fcn.00455a30
cmp dword [eax + 0x14], 8
jb 0x45fb6b
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x14]
push ecx
mov ecx, dword [edx + 4]
push eax
mov eax, dword [ebp - 0x10]
push str.processing_reserve_worked_file__s_____s
push 0
push eax
call ecx
mov ecx, dword [ebp + 0x18]
add esp, 0x14
push edi
call fcn.00455010
mov ecx, eax
call fcn.00455a30
cmp dword [eax + 0x14], 8
jb 0x45fba5
mov edx, dword [eax]
mov dword [ebp + 0x14], edx
jmp 0x45fba8
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0x10]
push edi
call fcn.00455010
mov ecx, eax
call fcn.00455a30
cmp dword [eax + 0x14], 8
jb 0x45fbc0
mov eax, dword [eax]
mov ecx, dword [ebp + 0x14]
push 3
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x45fc3b
mov eax, dword [ebp + 0x10]
inc edi
call fcn.00454fc0
cmp edi, eax
jb 0x45fac4
mov byte [ebp - 4], 7
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 6
test eax, eax
je 0x45fc01
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp + 0x1c]
mov byte [ebp - 4], 3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
test eax, eax
je 0x45fc26
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
call fcn.00402e69
mov ecx, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x10], eax
call fcn.00455010
mov ecx, eax
call fcn.00455a30
cmp dword [eax + 0x14], 8
jb 0x45fc69
mov edx, dword [eax]
mov dword [ebp + 0x14], edx
jmp 0x45fc6c
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0x10]
push edi
call fcn.00455010
mov ecx, eax
call fcn.00455a30
cmp dword [eax + 0x14], 8
jb 0x45fc84
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [edx + 8]
push ecx
mov ecx, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 1
push str.b__rY
push str.UnZip.cpp
push 0x4b9
push 2
push ecx
call edx
add esp, 0x24
call fcn.00402e2e
mov ecx, dword [ebp + 0x18]
push edi
mov dword [ebp + 0x14], eax
call fcn.00455010
mov ecx, eax
call fcn.00455a30
cmp dword [eax + 0x14], 8
jb 0x45fcd1
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
push edi
mov dword [ebp + 0x18], eax
call fcn.00455010
mov ecx, eax
call fcn.00455a30
cmp dword [eax + 0x14], 8
jb 0x45fcec
mov eax, dword [eax]
mov edi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edi
mov edi, dword [ebp - 0x14]
push eax
mov eax, dword [edx + 4]
push edi
push 1
push str.b__rY
push 2
push ecx
call eax
xor ecx, ecx
add esp, 0x1c
or ecx, 1
mov dword [ebx + 0x70], edi
mov dword [ebx + 0x74], ecx
jmp 0x45fa2f
call fcn.00402e69
mov edx, dword [esi + 0x6c]
mov ecx, dword [eax]
push edx
push str.StopCallback__d
push str.UnZip.cpp
push 0x4c2
push 0
push eax
mov eax, dword [ecx + 8]
call eax
call fcn.00402e2e
mov edx, dword [esi + 0x6c]
mov ecx, dword [eax]
push edx
push str.StopCallback__d
push 0
push eax
mov eax, dword [ecx + 4]
call eax
mov ecx, dword [esi + 0x6c]
xor edx, edx
add esp, 0x28
or edx, 1
mov dword [ebx + 0x70], ecx
mov dword [ebx + 0x74], edx
jmp 0x45fd77
mov dword [ebx + 0x70], 0x7e1
mov dword [ebx + 0x74], 3
mov byte [ebp - 4], 7
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 6
test eax, eax
je 0x45fd96
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp + 0x1c]
mov byte [ebp - 4], 3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
test eax, eax
je 0x45fdbb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18