Function at 0x1400104c8
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1a60
call fcn.14004c67c
sub rsp, rax
mov rax, qword [0x140050318]
xor rax, rsp
mov qword [rsp + 0x1a50], rax
mov r14, qword [rsp + 0x1ac0]
mov r12, qword [rsp + 0x1ac8]
mov r15, qword [rsp + 0x1ad0]
mov r13, qword [rsp + 0x1ad8]
mov rbp, qword [rsp + 0x1ae0]
lea rax, [0x140051090]
mov rsi, rcx
xor ecx, ecx
mov qword [rsp + 0x98], rax
lea rax, [0x140051058]
mov rdi, r9
mov rbx, r8
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x78], r15
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x70], ecx
mov dword [rsp + 0x54], ecx
mov dword [rsp + 0x5c], ecx
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x58], ecx
cmp rsi, rcx
je 0x140010595
lea rcx, str.InstallLanguage
mov rdx, rsi
call fcn.1400124c4
test eax, eax
jne 0x140010595
and dword [rsi], eax
test rbx, rbx
je 0x1400105bc
mov rcx, qword [0x140082c30]
test rcx, rcx
je 0x1400105b2
mov rdx, rbx
call fcn.1400124c4
test eax, eax
jne 0x1400105b5
and dword [rbx], 0
mov ecx, dword [rbx]
call fcn.140011114
test rdi, rdi
je 0x1400105e3
mov rcx, qword [0x140082c40]
test rcx, rcx
je 0x1400105d9
mov rdx, rdi
call fcn.1400124c4
test eax, eax
jne 0x1400105dc
and dword [rdi], 0
mov ecx, dword [rdi]
call fcn.140010c84
test rbp, rbp
je 0x1400105f7
lea rcx, str.ExeMode
call fcn.1400124f4
mov dword [rbp], eax
xor ecx, ecx
call fcn.140011310
test rbx, rbx
je 0x14001060a
mov ecx, dword [rbx]
call fcn.140010330
test rdi, rdi
je 0x140010616
mov ecx, dword [rdi]
call fcn.1400103fc
mov esi, 1
test r14, r14
je 0x140010629
test r12, r12
je 0x140010b6c
test r15, r15
je 0x140010637
test r13, r13
je 0x140010b6c
call fcn.140014fac
mov r13d, 0x40
mov r14d, 0x103
lea r12d, [r13 - 0x20]
test eax, eax
jne 0x140010870
lea rcx, str.WinXPLanguagePatch
call fcn.1400124f4
test eax, eax
jne 0x140010870
lea rcx, str.LangTuneUp
xor edi, edi
call fcn.14001324c
lea rdx, [rsp + 0x60]
lea rcx, [0x140051058]
call fcn.140012004
test eax, eax
jne 0x1400107fa
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x19b0]
lea r8, [rsp + 0x1a10]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
xor edx, edx
xor esi, esi
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x44], r12d
mov qword [rsp + 0x20], rax
call fcn.14001464c
cmp eax, r14d
je 0x1400107ea
lea rbx, [rsp + 0xb0]
lea ebp, [rdi + 1]
test eax, eax
jne 0x1400106f7
cmp dword [rsp + 0x68], ebp
jne 0x14001079b
cmp eax, 0xea
je 0x14001079b
test eax, eax
jne 0x1400107ea
mov eax, dword [rsp + 0x40]
and eax, 0xfffffffe
cmp eax, 4
jb 0x14001079b
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x1a10]
call fcn.14001bad0
test eax, eax
je 0x14001079b
mov edx, dword [rsp + 0x6c]
test edx, edx
je 0x14001079b
cmp dword [0x1400b81e0], edx
je 0x14001079b
cmp edx, 0x2000
je 0x14001079b
cmp edx, 0x2400
je 0x14001079b
cmp edx, 0x2800
je 0x14001079b
cmp edx, 0x2c00
je 0x14001079b
mov eax, dword [rsp + 0x40]
shr rax, 1
movzx ecx, word [rsp + rax*2 + 0x19ac]
or cx, r12w
cmp cx, 0x6e
jne 0x14001079b
movzx eax, word [rsp + 0x19b0]
or ax, r12w
cmp ax, 0x65
je 0x14001079b
add edi, ebp
mov dword [rbx], edx
add rbx, 4
cmp edi, 0x190
jae 0x1400107ea
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x40]
add esi, ebp
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x19b0]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
lea r8, [rsp + 0x1a10]
mov edx, esi
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x44], r12d
mov qword [rsp + 0x20], rax
call fcn.14001464c
cmp eax, r14d
jne 0x1400106e9
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
lea r8, [rsp + 0x60]
lea rcx, [0x140051058]
mov edx, 0x20006
call fcn.140011e6c
test eax, eax
jne 0x140010862
movsxd rdi, edi
xor ebx, ebx
test rdi, rdi
jle 0x140010857
mov r8d, dword [rsp + rbx*4 + 0xb0]
mov r9d, 0xa
lea rcx, [rsp + 0x19f0]
lea edx, [r9 + 1]
call fcn.140019c00
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x19f0]
call sub.ADVAPI32.dll_RegDeleteValueW
add rbx, rsi
cmp rbx, rdi
jl 0x14001081e
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str.WinXPLanguagePatch
mov edx, esi
call fcn.140011f84
xor edi, edi
xor r14d, r14d
xor ebp, ebp
lea ebx, [rdi + 2]
xor r15d, r15d
xor r12d, r12d
mov qword [rsp + 0x90], rbx
mov rcx, qword [rsp + rdi*8 + 0x98]
lea rdx, [rsp + 0x60]
call fcn.140012004
test eax, eax
jne 0x140010b1c
mov eax, dword [rsp + 0x70]
test rdi, rdi
cmove eax, esi
xor esi, esi
mov dword [rsp + 0x70], eax
movsxd r13, eax
mov rax, qword [rsp + 0x48]
mov ecx, 0x20
mov dword [rsp + 0x44], 0x40
mov dword [rsp + 0x68], ecx
test rax, rax
je 0x1400108e9
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x1400108e9
mov ecx, dword [rsp + 0x5c]
cmp ecx, dword [rax]
jge 0x140010b04
cmp qword [rsp + 0x78], 0
je 0x14001090a
mov rax, qword [rsp + 0x80]
test rax, rax
je 0x14001090a
mov ecx, dword [rsp + 0x54]
cmp ecx, dword [rax]
jge 0x140010b04
test rdi, rdi
jne 0x140010928
mov eax, 0x190
cmp dword [rsp + 0x50], eax
jge 0x140010b04
cmp dword [rsp + 0x58], eax
jge 0x140010b04
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x44]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x19b0]
lea r8, [rsp + 0x1a10]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov edx, esi
mov qword [rsp + 0x20], rax
call fcn.14001464c
cmp eax, 0x103
je 0x140010b04
test eax, eax
jne 0x14001097c
cmp dword [rsp + 0x40], 1
jne 0x140010af8
cmp eax, 0xea
je 0x140010af8
test eax, eax
jne 0x140010b04
mov eax, dword [rsp + 0x44]
and eax, 0xfffffffe
cmp eax, 4
jb 0x140010af8
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x1a10]
call fcn.14001bad0
test eax, eax
je 0x140010af8
mov r11d, dword [rsp + 0x6c]
test r11d, r11d
je 0x140010af8
mov eax, dword [rsp + 0x44]
xor r8d, r8d
xor edx, edx
shr rax, 1
lea r9d, [r8 + 0x20]
xor bl, bl
movzx ecx, word [rsp + rax*2 + 0x19ac]
or cx, r9w
cmp cx, 0x6e
lea ecx, [rdx + 1]
jne 0x1400109f2
mov edx, ecx
jmp 0x1400109f5
mov r8d, ecx
test rdi, rdi
je 0x140010a0c
movzx eax, word [rsp + 0x19b0]
or ax, r9w
cmp ax, 0x65
jne 0x140010a0e
mov bl, cl
test edx, edx
je 0x140010a87
test rdi, rdi
jne 0x140010a30
add dword [rsp + 0x50], ecx
mov dword [rsp + r14*8 + 0xd34], r11d
mov byte [rsp + r14*8 + 0xd30], bl
add r14, rcx
jmp 0x140010a6c
test r13, r13
je 0x140010a6c
mov r8d, dword [rsp + 0x5c]
mov rdx, qword [rsp + 0x48]
mov ecx, r11d
call fcn.1400102f8
test eax, eax
jne 0x140010af8
mov r8d, dword [rsp + 0x58]
lea rdx, [rsp + 0xb0]
mov ecx, r11d
call fcn.1400102f8
test eax, eax
jne 0x140010af8
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x140010a7e
mov dword [rax + rbp*8 + 4], r11d
mov byte [rax + rbp*8], bl
inc dword [rsp + 0x5c]
inc rbp
jmp 0x140010afd
test r8d, r8d
je 0x140010af8
test rdi, rdi
jne 0x140010aaa
add dword [rsp + 0x58], ecx
mov dword [rsp + r15*8 + 0xb4], r11d
mov byte [rsp + r15*8 + 0xb0], bl
add r15, rcx
jmp 0x140010ade
test r13, r13
je 0x140010ade
mov r8d, dword [rsp + 0x54]
mov rdx, qword [rsp + 0x78]
mov ecx, r11d
call fcn.1400102f8
test eax, eax
jne 0x140010af8
mov r8d, dword [rsp + 0x50]
lea rdx, [rsp + 0xd30]
mov ecx, r11d
call fcn.1400102f8
test eax, eax
jne 0x140010af8
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x140010af1
mov dword [rax + r12*8 + 4], r11d
mov byte [rax + r12*8], bl
inc dword [rsp + 0x54]
inc r12
mov rax, qword [rsp + 0x48]
inc esi
jmp 0x1400108ba
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x90]
mov esi, 1
add rdi, rsi
sub rbx, rsi
mov qword [rsp + 0x90], rbx
jne 0x140010888
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x140010b43
mov ecx, dword [rsp + 0x5c]
mov dword [rax], ecx
mov r13, qword [rsp + 0x80]
test r13, r13
je 0x140010b58
mov eax, dword [rsp + 0x54]
mov dword [r13], eax
mov eax, dword [rsp + 0x50]
mov edx, dword [rsp + 0x58]
mov ecx, 0x2337
add edx, eax
call fcn.14000eb18
mov eax, esi
mov rcx, qword [rsp + 0x1a50]
xor rcx, rsp
call fcn.140008a98
mov rbx, qword [rsp + 0x1aa8]
add rsp, 0x1a60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret