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

Disassembly:
push 0x494
mov eax, 0x4cfdf9
call fcn.004ae269
xor ebx, ebx
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x488], ebx
call fcn.0048aa29
push eax
lea ecx, [ebp - 0x48c]
call fcn.00402840
mov dword [ebp - 4], ebx
mov dword [ebp - 0x474], 0x2001f
cmp byte [edi], bl
je 0x477168
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.0040770e
mov eax, dword [esi + 0x34]
dec eax
cmp eax, 8
ja case.default.0x477176
jmp dword [eax*4 + 0x4779ba]
cmp dword [esi + 8], 1
jg 0x477188
call fcn.0048a94a
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.00402883
mov eax, dword [ebp - 0x488]
call fcn.004ae2ec
ret
cmp dword [esi + 8], ebx
jle 0x477183
mov eax, dword [esi + 4]
push ecx
mov dword [ebp - 0x490], esp
mov ecx, esp
push eax
call fcn.004025a1
lea eax, [ebp - 0x494]
push eax
call fcn.004782b5
push eax
lea ecx, [ebp - 0x48c]
mov byte [ebp - 4], 1
call fcn.0040262c
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x494]
add ecx, 0xfffffff0
call fcn.00402883
push ecx
lea eax, [ebp - 0x48c]
mov dword [ebp - 0x47c], esp
mov ecx, esp
push eax
call fcn.004025a1
call fcn.00478283
cmp eax, 2
je 0x477231
push ecx
lea eax, [ebp - 0x48c]
mov dword [ebp - 0x47c], esp
mov ecx, esp
push eax
call fcn.004025a1
call fcn.00477f56
mov ecx, dword [esi + 8]
cmp ecx, ebx
jle 0x477183
cmp ecx, 1
mov esi, dword [esi + 4]
mov eax, dword [esi]
jle 0x477183
mov esi, dword [esi + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x477194
mov dword [ebp - 0x488], ebx
jmp case.default.0x477176
lea eax, [edi + 0x24]
push eax
lea ecx, [ebp - 0x484]
call fcn.004025a1
mov byte [ebp - 4], 2
call fcn.0048aa29
push eax
lea ecx, [ebp - 0x478]
call fcn.00402840
mov byte [ebp - 4], 3
mov dword [ebp - 0x240], ebx
cmp dword [edi + 0x38], ebx
jne 0x47738e
lea ecx, [edi + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax - 0xc]
cmp eax, ebx
jne 0x4772d9
mov ecx, dword [ebp - 0x478]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x484]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x48c]
add ecx, 0xfffffff0
call fcn.00402883
xor eax, eax
jmp 0x4771ae
mov edx, dword [edi + 0x2c]
cmp dword [edx - 0xc], ebx
jne 0x47731f
add eax, 0xfffffffd
push eax
lea eax, [ebp - 0x49c]
push eax
call fcn.004078a9
push 0x53812c
mov byte [ebp - 4], 4
push dword [eax]
lea eax, [edi + 0x2c]
push 0x529748
push eax
call fcn.00402a45
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x49c]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.00402883
push dword [edi + 0x2c]
call fcn.00438db3
pop ecx
mov dword [edi + 0x38], eax
cmp eax, ebx
jne 0x47738e
push ebx
push ebx
push 0x520938
push ecx
mov ecx, esp
mov dword [ebp - 0x47c], esp
push str.RESOURCESTRING
call fcn.0040255d
push ecx
mov ecx, esp
mov dword [ebp - 0x474], esp
push str.S9PT9_28
mov byte [ebp - 4], 5
call fcn.0040255d
lea eax, [ebp - 0x498]
push eax
mov byte [ebp - 4], 3
call fcn.00406e18
mov byte [ebp - 4], 6
push dword [eax]
call fcn.0048a5fe
mov ecx, dword [ebp - 0x498]
add ecx, 0xfffffff0
call fcn.00402883
jmp 0x4772a8
mov eax, dword [edi + 0x38]
push 0xffffffffffffffff
lea ebx, [ebp - 0x240]
call fcn.00438e46
xor ebx, ebx
cmp dword [esi + 0x1c], ebx
pop ecx
mov dword [ebp - 0x47c], eax
jle 0x477183
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
sub eax, ebx
je 0x4773c4
dec eax
je 0x477439
dec eax
dec eax
jne 0x4772a8
cmp dword [esi + 8], 3
jle 0x477183
mov eax, dword [esi + 4]
add eax, 0xc
push eax
lea ecx, [ebp - 0x478]
call fcn.0040262c
cmp dword [ebp - 0x240], ebx
mov dword [ebp - 0x474], ebx
jle 0x4774df
push dword [ebp - 0x474]
mov eax, dword [edi + 0x38]
lea ebx, [ebp - 0x470]
call fcn.00438e46
pop ecx
mov ecx, dword [ebp - 0x478]
lea eax, [ebp - 0x46c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x47744b
test dx, dx
je 0x477435
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x47744b
add eax, 4
add ecx, 4
test dx, dx
jne 0x477413
xor eax, eax
jmp 0x477450
cmp dword [esi + 8], 2
jle 0x477183
mov eax, dword [esi + 4]
add eax, 8
jmp 0x4773d4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x477490
mov ebx, dword [ebp - 0x478]
push dword [ebx - 0xc]
lea ecx, [ebp - 0x484]
push ebx
call fcn.00411e56
push dword [edi + 0x24]
mov eax, dword [edi + 0x38]
call fcn.00438ea2
mov eax, dword [edi + 0x38]
pop ecx
push ebx
push dword [ebp - 0x474]
call fcn.00438e71
pop ecx
pop ecx
mov dword [ebp - 0x47c], eax
test eax, eax
je 0x4774aa
inc dword [ebp - 0x474]
mov eax, dword [ebp - 0x474]
cmp eax, dword [ebp - 0x240]
jl 0x4773f2
jmp 0x4774df
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.004025a1
call fcn.004780e1
push dword [ebp - 0x484]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x47c], 0
jne 0x4774f2
mov dword [ebp - 0x488], 1
mov ecx, dword [ebp - 0x478]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x484]
add ecx, 0xfffffff0
call fcn.00402883
jmp case.default.0x477176
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 0x477183
cmp dword [esi + 0x1c], ebx
mov eax, dword [esi + 4]
mov eax, dword [eax]
jle 0x477183
mov esi, dword [esi + 0x18]
push eax
mov eax, dword [esi]
call fcn.004781c5
push eax
mov eax, dword [ebp - 0x474]
lea edi, [ebp - 0x480]
call fcn.00411f6e
test eax, eax
jne 0x477582
mov esi, edi
call fcn.0041580e
lea ecx, [ebp - 0x480]
mov esi, eax
call fcn.00411faa
xor eax, eax
cmp esi, ebx
sete al
mov dword [ebp - 0x488], eax
lea ecx, [ebp - 0x480]
call fcn.00411faa
jmp case.default.0x477176
lea eax, [edi + 0x24]
push eax
lea ecx, [ebp - 0x478]
call fcn.004025a1
mov byte [ebp - 4], 8
call fcn.0048aa29
push eax
lea ecx, [ebp - 0x484]
call fcn.00402840
mov byte [ebp - 4], 9
mov dword [ebp - 0x240], ebx
cmp dword [edi + 0x38], ebx
jne 0x4776a3
lea ecx, [edi + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax - 0xc]
cmp eax, ebx
jne 0x4775ee
mov ecx, dword [ebp - 0x484]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x478]
jmp 0x4772bc
mov edx, dword [edi + 0x2c]
cmp dword [edx - 0xc], ebx
jne 0x477634
add eax, 0xfffffffd
push eax
lea eax, [ebp - 0x4a0]
push eax
call fcn.004078a9
push 0x53812c
mov byte [ebp - 4], 0xa
push dword [eax]
lea eax, [edi + 0x2c]
push 0x529748
push eax
call fcn.00402a45
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x4a0]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.00402883
push dword [edi + 0x2c]
call fcn.00438db3
pop ecx
mov dword [edi + 0x38], eax
cmp eax, ebx
jne 0x4776a3
push ebx
push ebx
push 0x520938
push ecx
mov ecx, esp
mov dword [ebp - 0x47c], esp
push str.RESOURCESTRING
call fcn.0040255d
push ecx
mov ecx, esp
mov dword [ebp - 0x474], esp
push str.S9PT9_28
mov byte [ebp - 4], 0xb
call fcn.0040255d
lea eax, [ebp - 0x490]
push eax
mov byte [ebp - 4], 9
call fcn.00406e18
mov byte [ebp - 4], 0xc
push dword [eax]
call fcn.0048a5fe
mov ecx, dword [ebp - 0x490]
add ecx, 0xfffffff0
call fcn.00402883
jmp 0x4775d5
mov eax, dword [edi + 0x38]
push 0xffffffffffffffff
lea ebx, [ebp - 0x240]
call fcn.00438e46
cmp dword [esi + 8], 1
pop ecx
mov dword [ebp - 0x47c], eax
jle 0x477183
mov eax, dword [esi + 4]
add eax, 4
push eax
lea ecx, [ebp - 0x484]
call fcn.0040262c
and dword [ebp - 0x474], 0
cmp dword [ebp - 0x240], 0
jle 0x4777c5
push dword [ebp - 0x474]
mov eax, dword [edi + 0x38]
lea ebx, [ebp - 0x470]
call fcn.00438e46
pop ecx
mov ecx, dword [ebp - 0x484]
lea eax, [ebp - 0x46c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x477731
test dx, dx
je 0x47772d
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x477731
add eax, 4
add ecx, 4
test dx, dx
jne 0x47770b
xor eax, eax
jmp 0x477736
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x477776
mov ebx, dword [ebp - 0x484]
push dword [ebx - 0xc]
lea ecx, [ebp - 0x478]
push ebx
call fcn.00411e56
push dword [edi + 0x24]
mov eax, dword [edi + 0x38]
call fcn.00438ea2
mov eax, dword [edi + 0x38]
pop ecx
push ebx
push dword [ebp - 0x474]
call fcn.00438e71
pop ecx
pop ecx
mov dword [ebp - 0x47c], eax
test eax, eax
je 0x477790
inc dword [ebp - 0x474]
mov eax, dword [ebp - 0x474]
cmp eax, dword [ebp - 0x240]
jl 0x4776ea
jmp 0x4777c5
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.004025a1
call fcn.004780e1
push dword [ebp - 0x478]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x47c], 0
jne 0x4777d8
mov dword [ebp - 0x488], 1
mov ecx, dword [ebp - 0x484]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x478]
jmp 0x477506
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 0x477183
cmp dword [esi + 0x1c], 1
mov eax, dword [esi + 4]
mov ecx, dword [eax]
jle 0x477183
mov eax, dword [esi + 0x18]
add eax, 4
mov eax, dword [eax]
push ecx
call fcn.004781c5
push eax
mov eax, dword [ebp - 0x474]
lea edi, [ebp - 0x480]
call fcn.00411f6e
test eax, eax
jne 0x477582
cmp dword [esi + 8], 1
jle 0x477183
mov eax, dword [esi + 4]
push dword [eax + 4]
push dword [ebp - 0x480]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x477568
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 0x477183
cmp dword [esi + 0x1c], ebx
mov eax, dword [esi + 4]
mov ecx, dword [eax]
jle 0x477183
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.004781c5
push eax
lea ecx, [ebp - 0x480]
call fcn.00478417
test eax, eax
jne 0x477582
xor edi, edi
inc edi
cmp dword [esi + 0x1c], edi
jle 0x477183
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 4]
sub eax, ebx
je 0x477986
dec eax
je 0x477953
dec eax
je 0x477912
dec eax
je 0x4778f1
lea ecx, [ebp - 0x480]
call fcn.00411faa
jmp 0x4772c4
mov ecx, dword [esi + 8]
cmp ecx, 2
jle 0x477183
cmp ecx, edi
mov esi, dword [esi + 4]
mov eax, dword [esi + 8]
jle 0x477183
push 2
jmp 0x4779a1
mov edx, dword [esi + 0x2c]
cmp edx, ebx
je 0x477946
mov ecx, dword [esi + 0x28]
cmp ecx, ebx
je 0x477946
cmp dword [esi + 8], edi
jle 0x477183
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 0x477568
cmp dword [esi + 8], edi
jle 0x477183
push ebx
push ebx
jmp 0x47792b
cmp dword [esi + 0x1c], 2
jle 0x477183
mov eax, dword [esi + 0x18]
add eax, 8
cmp dword [esi + 8], edi
jle 0x477183
push dword [eax]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 4]
push ecx
lea eax, [ebp - 0x480]
push eax
call fcn.004783c3
jmp 0x477568
mov ecx, dword [esi + 8]
cmp ecx, 2
jle 0x477183
cmp ecx, edi
mov esi, dword [esi + 4]
mov eax, dword [esi + 8]
jle 0x477183
push edi
mov esi, dword [esi + 4]
push eax
push esi
lea eax, [ebp - 0x480]
push eax
call fcn.004783e1
jmp 0x477568