Function at 0x404c10
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0055
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x508164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
push 0x18
mov dword [ebp - 4], 0
call fcn.0048d8f9
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
mov dword [ebx + 4], 0
mov dword [ebx], vtable.COutFileStream.0
mov dword [ebx + 8], 0xffffffff
mov ecx, dword [ebx]
push ebx
call dword [ecx + 4]
cmp dword [esi + 0xc], 1
mov edx, 2
mov dword [ebp - 0x1c], ebx
jne 0x404ca7
lea edx, [esi + 0x10]
push str..tmp.7z
lea ecx, [ebp - 0x2c]
call fcn.00452160
add esp, 4
mov byte [ebp - 4], 1
mov eax, 5
jmp 0x404cec
lea edi, [esi + 0x10]
xor ecx, ecx
mov esi, dword [edi + 4]
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048d929
mov ecx, dword [edi + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
lea ecx, [ecx*2 + 2]
push ecx
push dword [edi]
push eax
call fcn.004a5400
add esp, 0x10
mov dword [ebp - 4], 2
mov eax, 2
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov esi, dword [ecx + 4]
mov edx, 2
mov dword [ebp - 0x18], ecx
xor ecx, ecx
mov dword [ebp - 0x10], eax
lea edi, [esi + 1]
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048d929
lea ecx, [edi + edi]
mov dword [ebp - 0x38], eax
push ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
push dword [ecx]
push eax
call fcn.004a5400
add esp, 0x10
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x10]
test al, 2
je 0x404d53
push dword [ebp - 0x2c]
and eax, 0xfffffffd
mov dword [ebp - 0x10], eax
call fcn.0048d8c3
mov eax, dword [ebp - 0x10]
add esp, 4
mov byte [ebp - 4], 5
test al, 1
je 0x404d66
push dword [ebp - 0x2c]
call fcn.0048d8c3
add esp, 4
mov esi, dword [ebp - 0x38]
mov ecx, ebx
push 1
push esi
call fcn.00402a40
test al, al
jne 0x404da3
push esi
call fcn.0048d8c3
add esp, 4
mov dword [ebp - 4], 6
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x6c
call fcn.0048d8f9
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [esi + 4], vtable.ICryptoGetTextPassword2.0
mov dword [esi + 8], 0
mov dword [esi], vtable.CArchiveUpdateCallback.1.0
mov dword [esi + 4], vtable.CArchiveUpdateCallback.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov byte [ebp - 4], 8
push 8
mov dword [esi + 0x1c], 0
call fcn.0048d929
xor ecx, ecx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 3
mov word [eax], cx
mov byte [ebp - 4], 9
push 8
mov dword [esi + 0x28], ecx
call fcn.0048d929
xor ecx, ecx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 3
mov word [eax], cx
mov byte [ebp - 4], 0xa
push 8
mov dword [esi + 0x34], ecx
call fcn.0048d929
xor ecx, ecx
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 3
mov word [eax], cx
mov byte [ebp - 4], 0xb
mov byte [esi + 0x40], cl
push 8
mov dword [esi + 0x44], ecx
call fcn.0048d929
mov dword [esi + 0x44], eax
lea edi, [esi + 0x54]
mov dword [esi + 0x48], 0
xor ecx, ecx
mov dword [esi + 0x4c], 3
add esp, 0x14
mov word [eax], cx
mov byte [esi + 0x50], cl
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov byte [ebp - 4], 5
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], ecx
mov dword [esi + 0x68], ecx
mov eax, dword [esi]
push esi
mov dword [ebp - 0x18], esi
call dword [eax + 4]
mov esi, dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], esi
mov byte [eax + 0x51], 0
call fcn.00405560
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x20]
mov dword [edx + 0x64], 0
mov eax, dword [edi + 8]
mov ecx, dword [eax]
push edx
push dword [esi + 4]
push ebx
push eax
call dword [ecx + 0xc]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x51], 0
je 0x404ee7
mov byte [eax + 0x51], 0
mov byte [ebp - 4], 0xd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x38]
call fcn.0048d8c3
add esp, 4
mov dword [ebp - 4], 0xe
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0xc], 1
jne 0x404f4b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
lea ebx, [edi + 0x10]
push str..tmp.7z
mov edx, ebx
lea ecx, [ebp - 0x38]
call fcn.00452160
mov esi, dword [ebp - 0x38]
add esp, 4
push 1
push dword [ebx]
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push esi
call fcn.0048d8c3
add esp, 4
jmp 0x404f4e
lea ebx, [edi + 0x10]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
push dword [edi + 0x1c]
mov eax, dword [edi]
mov ecx, edi
push dword [ebx]
call dword [eax + 8]
cmp dword [ebp + 8], 0
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4