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

Disassembly:
push 0x494
mov eax, 0x4d8865
call fcn.004b6799
xor ebx, ebx
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x488], ebx
call fcn.0049219b
push eax
lea ecx, [ebp - 0x48c]
call fcn.00402802
mov dword [ebp - 4], ebx
mov dword [ebp - 0x474], 0x2001f
cmp byte [edi], bl
je 0x47e9ae
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.004077f5
mov eax, dword [esi + 0x34]
dec eax
cmp eax, 8
ja case.default.0x47e9bc
jmp dword [eax*4 + 0x47f200]
cmp dword [esi + 8], 1
jg 0x47e9ce
call fcn.004920bc
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.00402845
mov eax, dword [ebp - 0x488]
call fcn.004b681c
ret
cmp dword [esi + 8], ebx
jle 0x47e9c9
mov eax, dword [esi + 4]
push ecx
mov dword [ebp - 0x490], esp
mov ecx, esp
push eax
call fcn.004022fa
lea eax, [ebp - 0x494]
push eax
call fcn.0047fafb
push eax
lea ecx, [ebp - 0x48c]
mov byte [ebp - 4], 1
call fcn.004025ee
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x494]
add ecx, 0xfffffff0
call fcn.00402845
push ecx
lea eax, [ebp - 0x48c]
mov dword [ebp - 0x47c], esp
mov ecx, esp
push eax
call fcn.004022fa
call fcn.0047fac9
cmp eax, 2
je 0x47ea77
push ecx
lea eax, [ebp - 0x48c]
mov dword [ebp - 0x47c], esp
mov ecx, esp
push eax
call fcn.004022fa
call fcn.0047f79c
mov ecx, dword [esi + 8]
cmp ecx, ebx
jle 0x47e9c9
cmp ecx, 1
mov esi, dword [esi + 4]
mov eax, dword [esi]
jle 0x47e9c9
mov esi, dword [esi + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x47e9da
mov dword [ebp - 0x488], ebx
jmp case.default.0x47e9bc
lea eax, [edi + 0x24]
push eax
lea ecx, [ebp - 0x484]
call fcn.004022fa
mov byte [ebp - 4], 2
call fcn.0049219b
push eax
lea ecx, [ebp - 0x478]
call fcn.00402802
mov byte [ebp - 4], 3
mov dword [ebp - 0x240], ebx
cmp dword [edi + 0x38], ebx
jne 0x47ebd4
lea ecx, [edi + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax - 0xc]
cmp eax, ebx
jne 0x47eb1f
mov ecx, dword [ebp - 0x478]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x484]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x48c]
add ecx, 0xfffffff0
call fcn.00402845
xor eax, eax
jmp 0x47e9f4
mov edx, dword [edi + 0x2c]
cmp dword [edx - 0xc], ebx
jne 0x47eb65
add eax, 0xfffffffd
push eax
lea eax, [ebp - 0x49c]
push eax
call fcn.00407990
push 0x54a44c
mov byte [ebp - 4], 4
push dword [eax]
lea eax, [edi + 0x2c]
push str._s_s
push eax
call fcn.00402a07
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x49c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.00402845
push dword [edi + 0x2c]
call fcn.004392a1
pop ecx
mov dword [edi + 0x38], eax
cmp eax, ebx
jne 0x47ebd4
push ebx
push ebx
push 0x52dc10
push ecx
mov ecx, esp
mov dword [ebp - 0x47c], esp
push str.RESOURCESTRING
call fcn.0040254f
push ecx
mov ecx, esp
mov dword [ebp - 0x474], esp
push str.IDS_UNZIP_ERR
mov byte [ebp - 4], 5
call fcn.0040254f
lea eax, [ebp - 0x498]
push eax
mov byte [ebp - 4], 3
call fcn.00406eff
mov byte [ebp - 4], 6
push dword [eax]
call fcn.00491d70
mov ecx, dword [ebp - 0x498]
add ecx, 0xfffffff0
call fcn.00402845
jmp 0x47eaee
mov eax, dword [edi + 0x38]
push 0xffffffffffffffff
lea ebx, [ebp - 0x240]
call fcn.00439334
xor ebx, ebx
cmp dword [esi + 0x1c], ebx
pop ecx
mov dword [ebp - 0x47c], eax
jle 0x47e9c9
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
sub eax, ebx
je 0x47ec0a
dec eax
je 0x47ec7f
dec eax
dec eax
jne 0x47eaee
cmp dword [esi + 8], 3
jle 0x47e9c9
mov eax, dword [esi + 4]
add eax, 0xc
push eax
lea ecx, [ebp - 0x478]
call fcn.004025ee
cmp dword [ebp - 0x240], ebx
mov dword [ebp - 0x474], ebx
jle 0x47ed25
push dword [ebp - 0x474]
mov eax, dword [edi + 0x38]
lea ebx, [ebp - 0x470]
call fcn.00439334
pop ecx
mov ecx, dword [ebp - 0x478]
lea eax, [ebp - 0x46c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47ec91
test dx, dx
je 0x47ec7b
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47ec91
add eax, 4
add ecx, 4
test dx, dx
jne 0x47ec59
xor eax, eax
jmp 0x47ec96
cmp dword [esi + 8], 2
jle 0x47e9c9
mov eax, dword [esi + 4]
add eax, 8
jmp 0x47ec1a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x47ecd6
mov ebx, dword [ebp - 0x478]
push dword [ebx - 0xc]
lea ecx, [ebp - 0x484]
push ebx
call fcn.00412253
push dword [edi + 0x24]
mov eax, dword [edi + 0x38]
call fcn.00439390
mov eax, dword [edi + 0x38]
pop ecx
push ebx
push dword [ebp - 0x474]
call fcn.0043935f
pop ecx
pop ecx
mov dword [ebp - 0x47c], eax
test eax, eax
je 0x47ecf0
inc dword [ebp - 0x474]
mov eax, dword [ebp - 0x474]
cmp eax, dword [ebp - 0x240]
jl 0x47ec38
jmp 0x47ed25
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.004022fa
call fcn.0047f927
push dword [ebp - 0x484]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x47c], 0
jne 0x47ed38
mov dword [ebp - 0x488], 1
mov ecx, dword [ebp - 0x478]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x484]
add ecx, 0xfffffff0
call fcn.00402845
jmp case.default.0x47e9bc
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 0x47e9c9
cmp dword [esi + 0x1c], ebx
mov eax, dword [esi + 4]
mov eax, dword [eax]
jle 0x47e9c9
mov esi, dword [esi + 0x18]
push eax
mov eax, dword [esi]
call fcn.0047fa0b
push eax
mov eax, dword [ebp - 0x474]
lea edi, [ebp - 0x480]
call fcn.0041236b
test eax, eax
jne 0x47edc8
mov esi, edi
call fcn.00415c1d
lea ecx, [ebp - 0x480]
mov esi, eax
call fcn.004123a7
xor eax, eax
cmp esi, ebx
sete al
mov dword [ebp - 0x488], eax
lea ecx, [ebp - 0x480]
call fcn.004123a7
jmp case.default.0x47e9bc
lea eax, [edi + 0x24]
push eax
lea ecx, [ebp - 0x478]
call fcn.004022fa
mov byte [ebp - 4], 8
call fcn.0049219b
push eax
lea ecx, [ebp - 0x484]
call fcn.00402802
mov byte [ebp - 4], 9
mov dword [ebp - 0x240], ebx
cmp dword [edi + 0x38], ebx
jne 0x47eee9
lea ecx, [edi + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax - 0xc]
cmp eax, ebx
jne 0x47ee34
mov ecx, dword [ebp - 0x484]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x478]
jmp 0x47eb02
mov edx, dword [edi + 0x2c]
cmp dword [edx - 0xc], ebx
jne 0x47ee7a
add eax, 0xfffffffd
push eax
lea eax, [ebp - 0x4a0]
push eax
call fcn.00407990
push 0x54a44c
mov byte [ebp - 4], 0xa
push dword [eax]
lea eax, [edi + 0x2c]
push str._s_s
push eax
call fcn.00402a07
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x4a0]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.00402845
push dword [edi + 0x2c]
call fcn.004392a1
pop ecx
mov dword [edi + 0x38], eax
cmp eax, ebx
jne 0x47eee9
push ebx
push ebx
push 0x52dc10
push ecx
mov ecx, esp
mov dword [ebp - 0x47c], esp
push str.RESOURCESTRING
call fcn.0040254f
push ecx
mov ecx, esp
mov dword [ebp - 0x474], esp
push str.IDS_UNZIP_ERR
mov byte [ebp - 4], 0xb
call fcn.0040254f
lea eax, [ebp - 0x490]
push eax
mov byte [ebp - 4], 9
call fcn.00406eff
mov byte [ebp - 4], 0xc
push dword [eax]
call fcn.00491d70
mov ecx, dword [ebp - 0x490]
add ecx, 0xfffffff0
call fcn.00402845
jmp 0x47ee1b
mov eax, dword [edi + 0x38]
push 0xffffffffffffffff
lea ebx, [ebp - 0x240]
call fcn.00439334
cmp dword [esi + 8], 1
pop ecx
mov dword [ebp - 0x47c], eax
jle 0x47e9c9
mov eax, dword [esi + 4]
add eax, 4
push eax
lea ecx, [ebp - 0x484]
call fcn.004025ee
and dword [ebp - 0x474], 0
cmp dword [ebp - 0x240], 0
jle 0x47f00b
push dword [ebp - 0x474]
mov eax, dword [edi + 0x38]
lea ebx, [ebp - 0x470]
call fcn.00439334
pop ecx
mov ecx, dword [ebp - 0x484]
lea eax, [ebp - 0x46c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47ef77
test dx, dx
je 0x47ef73
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47ef77
add eax, 4
add ecx, 4
test dx, dx
jne 0x47ef51
xor eax, eax
jmp 0x47ef7c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x47efbc
mov ebx, dword [ebp - 0x484]
push dword [ebx - 0xc]
lea ecx, [ebp - 0x478]
push ebx
call fcn.00412253
push dword [edi + 0x24]
mov eax, dword [edi + 0x38]
call fcn.00439390
mov eax, dword [edi + 0x38]
pop ecx
push ebx
push dword [ebp - 0x474]
call fcn.0043935f
pop ecx
pop ecx
mov dword [ebp - 0x47c], eax
test eax, eax
je 0x47efd6
inc dword [ebp - 0x474]
mov eax, dword [ebp - 0x474]
cmp eax, dword [ebp - 0x240]
jl 0x47ef30
jmp 0x47f00b
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.004022fa
call fcn.0047f927
push dword [ebp - 0x478]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x47c], 0
jne 0x47f01e
mov dword [ebp - 0x488], 1
mov ecx, dword [ebp - 0x484]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x478]
jmp 0x47ed4c
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 0x47e9c9
cmp dword [esi + 0x1c], 1
mov eax, dword [esi + 4]
mov ecx, dword [eax]
jle 0x47e9c9
mov eax, dword [esi + 0x18]
add eax, 4
mov eax, dword [eax]
push ecx
call fcn.0047fa0b
push eax
mov eax, dword [ebp - 0x474]
lea edi, [ebp - 0x480]
call fcn.0041236b
test eax, eax
jne 0x47edc8
cmp dword [esi + 8], 1
jle 0x47e9c9
mov eax, dword [esi + 4]
push dword [eax + 4]
push dword [ebp - 0x480]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x47edae
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 0x47e9c9
cmp dword [esi + 0x1c], ebx
mov eax, dword [esi + 4]
mov ecx, dword [eax]
jle 0x47e9c9
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.0047fa0b
push eax
lea ecx, [ebp - 0x480]
call fcn.0047fc5d
test eax, eax
jne 0x47edc8
xor edi, edi
inc edi
cmp dword [esi + 0x1c], edi
jle 0x47e9c9
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 4]
sub eax, ebx
je 0x47f1cc
dec eax
je 0x47f199
dec eax
je 0x47f158
dec eax
je 0x47f137
lea ecx, [ebp - 0x480]
call fcn.004123a7
jmp 0x47eb0a
mov ecx, dword [esi + 8]
cmp ecx, 2
jle 0x47e9c9
cmp ecx, edi
mov esi, dword [esi + 4]
mov eax, dword [esi + 8]
jle 0x47e9c9
push 2
jmp 0x47f1e7
mov edx, dword [esi + 0x2c]
cmp edx, ebx
je 0x47f18c
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x47f18c
cmp dword [esi + 8], edi
jle 0x47e9c9
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 0x47edae
cmp dword [esi + 8], edi
jle 0x47e9c9
push ebx
push ebx
jmp 0x47f171
cmp dword [esi + 0x1c], 2
jle 0x47e9c9
mov eax, dword [esi + 0x18]
add eax, 8
cmp dword [esi + 8], edi
jle 0x47e9c9
push dword [eax]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 4]
push ecx
lea eax, [ebp - 0x480]
push eax
call fcn.0047fc09
jmp 0x47edae
mov ecx, dword [esi + 8]
cmp ecx, 2
jle 0x47e9c9
cmp ecx, edi
mov esi, dword [esi + 4]
mov eax, dword [esi + 8]
jle 0x47e9c9
push edi
mov esi, dword [esi + 4]
push eax
push esi
lea eax, [ebp - 0x480]
push eax
call fcn.0047fc27
jmp 0x47edae