Function at 0x43dc49
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4d8300]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
mov ax, word [0x4d0684]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov word [ebp - 0x210], ax
mov edi, ecx
mov al, byte [0x4d0686]
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x21c], esi
mov byte [ebp - 0x20e], al
jne 0x43dca1
push 1
push edi
push str.Opening:__s:__d___7_Zip_
call fcn.0042ed57
add esp, 0xc
test edi, edi
je 0x43defc
test esi, esi
je 0x43defc
test ebx, ebx
je 0x43defc
cmp dword [ebp + 0x10], 0
mov byte [ebp - 0x210], 0x31
jne 0x43dcd5
push esi
push ebx
push str.Extracting:__s__From__s_
call fcn.0042ed57
add esp, 0xc
xor edi, edi
mov dword [ebp - 0x214], edi
push ebx
call fcn.004816f0
pop ecx
inc eax
mov ecx, 0x104
cmp eax, ecx
jae 0x43dcf8
push ebx
call fcn.004816f0
pop ecx
inc eax
jmp 0x43dcfa
mov eax, ecx
push eax
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.00476fc0
push ebx
call fcn.004816f0
add esp, 0x10
mov ecx, 0x104
inc eax
cmp eax, ecx
jae 0x43dd25
push ebx
call fcn.004816f0
pop ecx
inc eax
jmp 0x43dd27
mov eax, ecx
mov byte [ebp + eax - 0x109], 0
lea eax, [ebp - 0x108]
push eax
call fcn.004816f0
pop ecx
jmp 0x43dd4f
mov cl, byte [ebp + eax - 0x108]
cmp cl, 0x5c
je 0x43dd54
cmp cl, 0x2f
je 0x43dd54
sub eax, 1
jne 0x43dd3e
mov edx, 0x104
cmp eax, edx
jae 0x43df84
mov byte [ebp + eax - 0x108], 0
mov ecx, 0x4b4dda
push esi
test edi, edi
lea eax, [ebp - 0x210]
cmovne eax, ecx
push eax
push dword [ebp - 0x218]
lea eax, [ebp - 0x20c]
push 0x51ff98
push str.__s___y_e___s___s_s
push edx
push eax
call fcn.00403163
push 0
lea edx, [ebp - 0x108]
mov byte [ebp - 0x109], 0
lea ecx, [ebp - 0x20c]
call fcn.0042e07a
add esp, 0x20
test eax, eax
jne 0x43df74
push esi
call fcn.004816f0
mov edi, eax
pop ecx
test edi, edi
je 0x43ddde
mov al, byte [esi + edi]
cmp al, 0x5c
je 0x43de45
cmp al, 0x2f
je 0x43ddda
sub edi, 1
jne 0x43ddca
test edi, edi
jne 0x43de45
push 0x4b4ab0
call fcn.004816f0
mov esi, eax
lea eax, [ebp - 0x108]
push eax
call fcn.004816f0
pop ecx
pop ecx
mov ecx, 0x103
sub ecx, eax
lea eax, [esi + 1]
cmp eax, ecx
jae 0x43de16
push 0x4b4ab0
call fcn.004816f0
pop ecx
lea ecx, [eax + 1]
jmp 0x43de2a
lea eax, [ebp - 0x108]
push eax
call fcn.004816f0
pop ecx
mov ecx, 0x103
sub ecx, eax
push ecx
lea eax, [ebp - 0x108]
push 0x4b4ab0
push eax
call fcn.00481780
mov esi, dword [ebp - 0x21c]
add esp, 0xc
add esi, edi
jne 0x43de4d
xor edi, edi
jmp 0x43de56
push esi
call fcn.004816f0
pop ecx
mov edi, eax
lea eax, [ebp - 0x108]
push eax
call fcn.004816f0
pop ecx
mov ecx, 0x103
sub ecx, eax
lea eax, [edi + 1]
cmp eax, ecx
jae 0x43de85
test esi, esi
jne 0x43de79
xor eax, eax
jmp 0x43de80
push esi
call fcn.004816f0
pop ecx
lea ecx, [eax + 1]
jmp 0x43de99
lea eax, [ebp - 0x108]
push eax
call fcn.004816f0
pop ecx
mov ecx, 0x103
sub ecx, eax
push ecx
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.00481780
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.0048c7fb
add esp, 0x14
test eax, eax
je 0x43deda
mov edi, dword [ebp - 0x214]
mov esi, dword [ebp - 0x21c]
inc edi
mov dword [ebp - 0x214], edi
cmp edi, 2
jl 0x43dcdd
jmp 0x43dee3
cmp dword [ebp - 0x214], 2
jl 0x43df0d
cmp dword [ebp + 0x10], 0
jne 0x43defc
lea eax, [ebp - 0x108]
push eax
push str.__7z.exe_did_not_extract__s
call fcn.0042ed57
pop ecx
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00475c80
leave
ret
lea ecx, [ebp - 0x108]
call fcn.00403761
mov ecx, ebx
mov esi, eax
call fcn.00403761
push 1
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x218], eax
test edi, edi
je 0x43df3e
push edi
call fcn.004812c6
pop ecx
test esi, esi
je 0x43df49
push esi
call fcn.004812c6
pop ecx
cmp dword [ebp - 0x218], 0
jne 0x43df6f
call fcn.0042fc51
push eax
push ebx
lea eax, [ebp - 0x108]
push eax
push str.__Could_not_rename__s_to__s:__s
call fcn.0042ed57
add esp, 0x10
jmp 0x43defc
xor eax, eax
inc eax
jmp 0x43defe
call fcn.0042fc51
push eax
push str.__Could_not_launch_7z.exe:__s
jmp 0x43def5
call fcn.00475db1
int3