Function at 0x490ced
Capabilities:
Delete file
Delete registry value
Move file
Set registry value

Disassembly:
push 0x494
mov eax, 0x4dbb3c
call fcn.004bed19
xor ebx, ebx
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x488], ebx
call fcn.00499991
push eax
lea ecx, [ebp - 0x48c]
call fcn.004727f7
mov dword [ebp - 4], ebx
mov dword [ebp - 0x474], 0x2001f
cmp byte [edi], bl
je 0x490d47
mov al, byte [esi + 0x30]
xor ecx, ecx
cmp al, bl
sete cl
dec ecx
and ecx, 0xffffff00
add ecx, 0x2021f
mov dword [ebp - 0x474], ecx
call fcn.00407202
mov eax, dword [esi + 0x34]
dec eax
cmp eax, 8
ja case.default.0x490d55
jmp dword [eax*4 + 0x491599]
cmp dword [esi + 8], 1
jg 0x490d67
call fcn.004998d4
mov eax, dword [esi + 4]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x488], eax
mov ecx, dword [ebp - 0x48c]
add ecx, 0xfffffff0
call fcn.004027b0
mov eax, dword [ebp - 0x488]
call fcn.004bed9c
ret
cmp dword [esi + 8], ebx
jle 0x490d62
mov eax, dword [esi + 4]
push ecx
mov dword [ebp - 0x490], esp
mov ecx, esp
push eax
call fcn.0040228a
lea eax, [ebp - 0x494]
push eax
call fcn.00491e94
push eax
lea ecx, [ebp - 0x48c]
mov byte [ebp - 4], 1
call fcn.0040257e
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x494]
add ecx, 0xfffffff0
call fcn.004027b0
push ecx
lea eax, [ebp - 0x48c]
mov dword [ebp - 0x47c], esp
mov ecx, esp
push eax
call fcn.0040228a
call fcn.00491e62
cmp eax, 2
je 0x490e10
push ecx
lea eax, [ebp - 0x48c]
mov dword [ebp - 0x47c], esp
mov ecx, esp
push eax
call fcn.0040228a
call fcn.00491b35
mov ecx, dword [esi + 8]
cmp ecx, ebx
jle 0x490d62
cmp ecx, 1
mov esi, dword [esi + 4]
mov eax, dword [esi]
jle 0x490d62
mov esi, dword [esi + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x490d73
mov dword [ebp - 0x488], ebx
jmp case.default.0x490d55
lea eax, [edi + 0x24]
push eax
lea ecx, [ebp - 0x484]
call fcn.0040228a
mov byte [ebp - 4], 2
call fcn.00499991
push eax
lea ecx, [ebp - 0x478]
call fcn.004727f7
mov byte [ebp - 4], 3
mov dword [ebp - 0x240], ebx
cmp dword [edi + 0x38], ebx
jne 0x490f6d
lea ecx, [edi + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax - 0xc]
cmp eax, ebx
jne 0x490eb8
mov ecx, dword [ebp - 0x478]
add ecx, 0xfffffff0
call fcn.004027b0
mov ecx, dword [ebp - 0x484]
add ecx, 0xfffffff0
call fcn.004027b0
mov ecx, dword [ebp - 0x48c]
add ecx, 0xfffffff0
call fcn.004027b0
xor eax, eax
jmp 0x490d8d
mov edx, dword [edi + 0x2c]
cmp dword [edx - 0xc], ebx
jne 0x490efe
add eax, 0xfffffffd
push eax
lea eax, [ebp - 0x49c]
push eax
call fcn.0040739d
push 0x557704
mov byte [ebp - 4], 4
push dword [eax]
lea eax, [edi + 0x2c]
push str._s_s
push eax
call fcn.00402967
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x49c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004027b0
push dword [edi + 0x2c]
call fcn.0044a044
pop ecx
mov dword [edi + 0x38], eax
cmp eax, ebx
jne 0x490f6d
push ebx
push ebx
push 0x523938
push ecx
mov ecx, esp
mov dword [ebp - 0x47c], esp
push str.RESOURCESTRING
call fcn.004024df
push ecx
mov ecx, esp
mov dword [ebp - 0x474], esp
push str.IDS_UNZIP_ERR
mov byte [ebp - 4], 5
call fcn.004024df
lea eax, [ebp - 0x498]
push eax
mov byte [ebp - 4], 3
call fcn.004068e2
mov byte [ebp - 4], 6
push dword [eax]
call fcn.004995c6
mov ecx, dword [ebp - 0x498]
add ecx, 0xfffffff0
call fcn.004027b0
jmp 0x490e87
mov eax, dword [edi + 0x38]
push 0xffffffffffffffff
lea ebx, [ebp - 0x240]
call fcn.0044a0d7
xor ebx, ebx
cmp dword [esi + 0x1c], ebx
pop ecx
mov dword [ebp - 0x47c], eax
jle 0x490d62
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
sub eax, ebx
je 0x490fa3
dec eax
je 0x491018
dec eax
dec eax
jne 0x490e87
cmp dword [esi + 8], 3
jle 0x490d62
mov eax, dword [esi + 4]
add eax, 0xc
push eax
lea ecx, [ebp - 0x478]
call fcn.0040257e
cmp dword [ebp - 0x240], ebx
mov dword [ebp - 0x474], ebx
jle 0x4910be
push dword [ebp - 0x474]
mov eax, dword [edi + 0x38]
lea ebx, [ebp - 0x470]
call fcn.0044a0d7
pop ecx
mov ecx, dword [ebp - 0x478]
lea eax, [ebp - 0x46c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x49102a
test dx, dx
je 0x491014
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x49102a
add eax, 4
add ecx, 4
test dx, dx
jne 0x490ff2
xor eax, eax
jmp 0x49102f
cmp dword [esi + 8], 2
jle 0x490d62
mov eax, dword [esi + 4]
add eax, 8
jmp 0x490fb3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x49106f
mov ebx, dword [ebp - 0x478]
push dword [ebx - 0xc]
lea ecx, [ebp - 0x484]
push ebx
call fcn.0040f682
push dword [edi + 0x24]
mov eax, dword [edi + 0x38]
call fcn.0044a133
mov eax, dword [edi + 0x38]
pop ecx
push ebx
push dword [ebp - 0x474]
call fcn.0044a102
pop ecx
pop ecx
mov dword [ebp - 0x47c], eax
test eax, eax
je 0x491089
inc dword [ebp - 0x474]
mov eax, dword [ebp - 0x474]
cmp eax, dword [ebp - 0x240]
jl 0x490fd1
jmp 0x4910be
mov al, byte [esi + 0x30]
mov byte [ebp - 0x474], al
push dword [ebp - 0x474]
lea eax, [ebp - 0x484]
push ecx
mov dword [ebp - 0x474], esp
mov ecx, esp
push eax
call fcn.0040228a
call fcn.00491cc0
push dword [ebp - 0x484]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x47c], 0
jne 0x4910d1
mov dword [ebp - 0x488], 1
mov ecx, dword [ebp - 0x478]
add ecx, 0xfffffff0
call fcn.004027b0
mov ecx, dword [ebp - 0x484]
add ecx, 0xfffffff0
call fcn.004027b0
jmp case.default.0x490d55
mov dword [ebp - 0x480], ebx
mov dword [ebp - 0x47c], ebx
mov byte [ebp - 4], 7
cmp dword [esi + 8], ebx
mov dword [ebp - 0x488], ebx
jle 0x490d62
cmp dword [esi + 0x1c], ebx
mov eax, dword [esi + 4]
mov eax, dword [eax]
jle 0x490d62
mov esi, dword [esi + 0x18]
push eax
mov eax, dword [esi]
call fcn.00491da4
push eax
mov eax, dword [ebp - 0x474]
lea edi, [ebp - 0x480]
call fcn.00416053
test eax, eax
jne 0x491161
mov esi, edi
call fcn.004198a2
lea ecx, [ebp - 0x480]
mov esi, eax
call fcn.0041608f
xor eax, eax
cmp esi, ebx
sete al
mov dword [ebp - 0x488], eax
lea ecx, [ebp - 0x480]
call fcn.0041608f
jmp case.default.0x490d55
lea eax, [edi + 0x24]
push eax
lea ecx, [ebp - 0x478]
call fcn.0040228a
mov byte [ebp - 4], 8
call fcn.00499991
push eax
lea ecx, [ebp - 0x484]
call fcn.004727f7
mov byte [ebp - 4], 9
mov dword [ebp - 0x240], ebx
cmp dword [edi + 0x38], ebx
jne 0x491282
lea ecx, [edi + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax - 0xc]
cmp eax, ebx
jne 0x4911cd
mov ecx, dword [ebp - 0x484]
add ecx, 0xfffffff0
call fcn.004027b0
mov ecx, dword [ebp - 0x478]
jmp 0x490e9b
mov edx, dword [edi + 0x2c]
cmp dword [edx - 0xc], ebx
jne 0x491213
add eax, 0xfffffffd
push eax
lea eax, [ebp - 0x4a0]
push eax
call fcn.0040739d
push 0x557704
mov byte [ebp - 4], 0xa
push dword [eax]
lea eax, [edi + 0x2c]
push str._s_s
push eax
call fcn.00402967
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x4a0]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004027b0
push dword [edi + 0x2c]
call fcn.0044a044
pop ecx
mov dword [edi + 0x38], eax
cmp eax, ebx
jne 0x491282
push ebx
push ebx
push 0x523938
push ecx
mov ecx, esp
mov dword [ebp - 0x47c], esp
push str.RESOURCESTRING
call fcn.004024df
push ecx
mov ecx, esp
mov dword [ebp - 0x474], esp
push str.IDS_UNZIP_ERR
mov byte [ebp - 4], 0xb
call fcn.004024df
lea eax, [ebp - 0x490]
push eax
mov byte [ebp - 4], 9
call fcn.004068e2
mov byte [ebp - 4], 0xc
push dword [eax]
call fcn.004995c6
mov ecx, dword [ebp - 0x490]
add ecx, 0xfffffff0
call fcn.004027b0
jmp 0x4911b4
mov eax, dword [edi + 0x38]
push 0xffffffffffffffff
lea ebx, [ebp - 0x240]
call fcn.0044a0d7
cmp dword [esi + 8], 1
pop ecx
mov dword [ebp - 0x47c], eax
jle 0x490d62
mov eax, dword [esi + 4]
add eax, 4
push eax
lea ecx, [ebp - 0x484]
call fcn.0040257e
and dword [ebp - 0x474], 0
cmp dword [ebp - 0x240], 0
jle 0x4913a4
push dword [ebp - 0x474]
mov eax, dword [edi + 0x38]
lea ebx, [ebp - 0x470]
call fcn.0044a0d7
pop ecx
mov ecx, dword [ebp - 0x484]
lea eax, [ebp - 0x46c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x491310
test dx, dx
je 0x49130c
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x491310
add eax, 4
add ecx, 4
test dx, dx
jne 0x4912ea
xor eax, eax
jmp 0x491315
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x491355
mov ebx, dword [ebp - 0x484]
push dword [ebx - 0xc]
lea ecx, [ebp - 0x478]
push ebx
call fcn.0040f682
push dword [edi + 0x24]
mov eax, dword [edi + 0x38]
call fcn.0044a133
mov eax, dword [edi + 0x38]
pop ecx
push ebx
push dword [ebp - 0x474]
call fcn.0044a102
pop ecx
pop ecx
mov dword [ebp - 0x47c], eax
test eax, eax
je 0x49136f
inc dword [ebp - 0x474]
mov eax, dword [ebp - 0x474]
cmp eax, dword [ebp - 0x240]
jl 0x4912c9
jmp 0x4913a4
mov al, byte [esi + 0x30]
mov byte [ebp - 0x474], al
push dword [ebp - 0x474]
lea eax, [ebp - 0x478]
push ecx
mov dword [ebp - 0x474], esp
mov ecx, esp
push eax
call fcn.0040228a
call fcn.00491cc0
push dword [ebp - 0x478]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x47c], 0
jne 0x4913b7
mov dword [ebp - 0x488], 1
mov ecx, dword [ebp - 0x484]
add ecx, 0xfffffff0
call fcn.004027b0
mov ecx, dword [ebp - 0x478]
jmp 0x4910e5
mov dword [ebp - 0x480], ebx
mov dword [ebp - 0x47c], ebx
mov byte [ebp - 4], 0xd
cmp dword [esi + 8], ebx
mov dword [ebp - 0x488], ebx
jle 0x490d62
cmp dword [esi + 0x1c], 1
mov eax, dword [esi + 4]
mov ecx, dword [eax]
jle 0x490d62
mov eax, dword [esi + 0x18]
add eax, 4
mov eax, dword [eax]
push ecx
call fcn.00491da4
push eax
mov eax, dword [ebp - 0x474]
lea edi, [ebp - 0x480]
call fcn.00416053
test eax, eax
jne 0x491161
cmp dword [esi + 8], 1
jle 0x490d62
mov eax, dword [esi + 4]
push dword [eax + 4]
push dword [ebp - 0x480]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x491147
mov dword [ebp - 0x480], ebx
mov dword [ebp - 0x47c], ebx
mov byte [ebp - 4], 0xe
cmp dword [esi + 8], ebx
mov dword [ebp - 0x488], ebx
jle 0x490d62
cmp dword [esi + 0x1c], ebx
mov eax, dword [esi + 4]
mov ecx, dword [eax]
jle 0x490d62
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
push ebx
push ebx
push dword [ebp - 0x474]
push ebx
push ebx
push ecx
call fcn.00491da4
push eax
lea ecx, [ebp - 0x480]
call fcn.00491ff6
test eax, eax
jne 0x491161
xor edi, edi
inc edi
cmp dword [esi + 0x1c], edi
jle 0x490d62
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 4]
sub eax, ebx
je 0x491565
dec eax
je 0x491532
dec eax
je 0x4914f1
dec eax
je 0x4914d0
lea ecx, [ebp - 0x480]
call fcn.0041608f
jmp 0x490ea3
mov ecx, dword [esi + 8]
cmp ecx, 2
jle 0x490d62
cmp ecx, edi
mov esi, dword [esi + 4]
mov eax, dword [esi + 8]
jle 0x490d62
push 2
jmp 0x491580
mov edx, dword [esi + 0x2c]
cmp edx, ebx
je 0x491525
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x491525
cmp dword [esi + 8], edi
jle 0x490d62
push edx
push ecx
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
push 3
push ebx
push eax
push dword [ebp - 0x480]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x491147
cmp dword [esi + 8], edi
jle 0x490d62
push ebx
push ebx
jmp 0x49150a
cmp dword [esi + 0x1c], 2
jle 0x490d62
mov eax, dword [esi + 0x18]
add eax, 8
cmp dword [esi + 8], edi
jle 0x490d62
push dword [eax]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 4]
push ecx
lea eax, [ebp - 0x480]
push eax
call fcn.00491fa2
jmp 0x491147
mov ecx, dword [esi + 8]
cmp ecx, 2
jle 0x490d62
cmp ecx, edi
mov esi, dword [esi + 4]
mov eax, dword [esi + 8]
jle 0x490d62
push edi
mov esi, dword [esi + 4]
push eax
push esi
lea eax, [ebp - 0x480]
push eax
call fcn.00491fc0
jmp 0x491147