Function at 0x462a10
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x4f6017
mov eax, dword fs:[0]
push eax
sub esp, 0x5f0
mov eax, dword [0x545628]
xor eax, esp
mov dword [esp + 0x5e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x545628]
xor eax, esp
push eax
lea eax, [esp + 0x604]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x614]
mov esi, ecx
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x1c], esi
je 0x463050
lea ecx, [esp + 0x24]
call fcn.00410c10
xor ebx, ebx
mov dword [esp + 0x60c], ebx
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x462aa5
call fcn.004d723a
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 0xc]
push str.34745C63_B2F0_4784_8B67_5E12C8701A31
push eax
push str.SoftWareMicrosoftCTFSortOrderAssemblyItem
push str._s0x_08X_s
lea edi, [esp + 0x34]
call fcn.004114c0
add esp, 0x10
lea eax, [esp + 0x30]
cmp byte [esp + 0x140], bl
jne 0x462ad9
mov eax, dword [esp + 0x2c]
add eax, 4
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea ecx, [esp + 0x288]
mov dword [esp + method.t_reg.virtual_0], vtable.t_reg.0
call fcn.00410c10
mov eax, str.HKEY_CURRENT_USER
lea edx, [esp + 0x288]
mov dword [esp + 0x280], ebx
mov dword [esp + 0x284], VariantClear
call fcn.00410e40
mov byte [esp + 0x60c], 1
cmp byte [esp + 0x140], 0
lea eax, [esp + 0x30]
jne 0x462b3c
mov eax, dword [esp + 0x2c]
push 1
push 1
add eax, 4
push esi
lea ecx, [esp + 0x288]
call fcn.00411e70
test al, al
jne 0x462ba9
mov ecx, esi
call fcn.0040fa50
push 0x5300a4
push 0x52a3bc
mov edx, eax
call fcn.004114a0
add esp, 8
lea ecx, [esp + 0x27c]
call fcn.00411e20
cmp byte [esp + 0x140], 0
mov dword [esp + 0x24], vtable.t_str.0
jne 0x462ba2
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
cmp eax, ecx
je 0x462ba2
push eax
call fcn.004d1d15
add esp, 4
xor al, al
jmp 0x463052
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x462fc6
mov dword [esp + 0x18], 0
mov edi, edi
lea ecx, [esp + 0x3ac]
call fcn.00410c10
cmp byte [esp + 0x140], 0
lea eax, [esp + 0x30]
jne 0x462bee
mov eax, dword [esp + 0x2c]
push ebx
add eax, 4
push eax
push str._s_08d
lea edi, [esp + 0x3b8]
call fcn.004114c0
mov edi, vtable.t_reg.0
add esp, 0xc
lea ecx, [esp + 0x158]
mov dword [esp + 0x14c], edi
call fcn.00410c10
mov eax, str.HKEY_CURRENT_USER
lea edx, [esp + 0x158]
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], VariantClear
call fcn.00410e40
mov byte [esp + 0x60c], 3
cmp byte [esp + 0x4c8], 0
lea eax, [esp + 0x3b8]
jne 0x462c66
mov eax, dword [esp + 0x3b4]
push 1
push 1
add eax, 4
push esi
lea ecx, [esp + 0x158]
call fcn.00411e70
test al, al
je 0x46307a
lea ecx, [esp + 0x4d4]
call fcn.00410c10
mov byte [esp + 0x60c], 4
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jb 0x462cb6
call fcn.004d723a
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + edx + 0x1f]
lea eax, [eax + edx + 0x10]
movzx edx, byte [eax + 0xe]
push ecx
movzx ecx, byte [eax + 0xd]
push edx
movzx edx, byte [eax + 0xc]
push ecx
movzx ecx, byte [eax + 0xb]
push edx
movzx edx, byte [eax + 0xa]
push ecx
movzx ecx, byte [eax + 9]
push edx
movzx edx, byte [eax + 8]
push ecx
movzx ecx, word [eax + 6]
push edx
movzx edx, word [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
push str._08X__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X
lea edi, [esp + 0x504]
call fcn.004114c0
add esp, 0x30
cmp byte [esp + 0x5f0], 0
lea ecx, [esp + 0x4e0]
jne 0x462d23
mov ecx, dword [esp + 0x4dc]
add ecx, 4
mov eax, ecx
lea edi, [eax + 2]
jmp 0x462d30
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x462d30
push 0x52cc40
sub eax, edi
push esi
lea edx, [esp + 0x154]
sar eax, 1
push edx
add eax, eax
mov edx, 1
call fcn.00412240
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x462d79
call fcn.004d723a
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x18]
lea eax, [edx + ecx + 0x20]
movzx ecx, byte [eax + 0xf]
movzx edx, byte [eax + 0xe]
push ecx
movzx ecx, byte [eax + 0xd]
push edx
movzx edx, byte [eax + 0xc]
push ecx
movzx ecx, byte [eax + 0xb]
push edx
movzx edx, byte [eax + 0xa]
push ecx
movzx ecx, byte [eax + 9]
push edx
movzx edx, byte [eax + 8]
push ecx
movzx ecx, word [eax + 6]
push edx
movzx edx, word [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
push str._08X__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X
lea edi, [esp + 0x504]
call fcn.004114c0
add esp, 0x30
cmp byte [esp + 0x5f0], 0
lea ecx, [esp + 0x4e0]
jne 0x462de5
mov ecx, dword [esp + 0x4dc]
add ecx, 4
mov eax, ecx
lea edi, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x462df0
push str.Profile
sub eax, edi
push esi
lea edx, [esp + 0x154]
sar eax, 1
push edx
add eax, eax
mov edx, 1
call fcn.00412240
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x462e39
call fcn.004d723a
mov eax, dword [ebp + 0xc]
mov edi, dword [esp + 0x18]
cmp dword [eax + edi], 0
jne 0x462e9e
mov ecx, dword [ebp + 0x10]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jb 0x462e65
call fcn.004d723a
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
sub ecx, eax
lea esi, [eax + edi]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x462e8a
call fcn.004d723a
mov edi, dword [ebp + 0xc]
add edi, dword [esp + 0x18]
call fcn.0045efc0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jb 0x462ebe
call fcn.004d723a
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + edi]
add eax, edi
push str.KeyboardLayout
mov dword [esp + 0x24], edx
push esi
lea eax, [esp + 0x154]
mov edx, 4
push eax
mov eax, edx
lea ecx, [esp + 0x2c]
call fcn.00412240
cmp byte [esp + 0x5f0], 0
mov edi, vtable.t_str.0
mov dword [esp + 0x4d4], edi
jne 0x462f19
mov eax, dword [esp + 0x4dc]
lea ecx, [esp + 0x4e0]
cmp eax, ecx
je 0x462f19
push eax
call fcn.004d1d15
add esp, 4
mov eax, dword [esp + 0x150]
mov dword [esp + method.t_reg.virtual_0], vtable.t_reg.0
test eax, eax
je 0x462f36
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x274], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x158], edi
jne 0x462f6d
mov eax, dword [esp + 0x160]
lea edx, [esp + 0x164]
cmp eax, edx
je 0x462f6d
push eax
call fcn.004d1d15
add esp, 4
mov byte [esp + 0x60c], 1
cmp byte [esp + 0x4c8], 0
mov dword [esp + 0x3ac], edi
jne 0x462fa1
mov eax, dword [esp + 0x3b4]
lea ecx, [esp + 0x3b8]
cmp eax, ecx
je 0x462fa1
push eax
call fcn.004d1d15
add esp, 4
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
add dword [esp + 0x18], 0x30
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
cmp ebx, eax
jb 0x462bd0
mov eax, dword [esp + 0x280]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov eax, dword [esp + 0x280]
mov dword [esp + method.t_reg.virtual_0], vtable.t_reg.0
test eax, eax
je 0x462ff1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x3a4], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x280], 0
mov dword [esp + 0x288], esi
jne 0x46302d
mov eax, dword [esp + 0x290]
lea ecx, [esp + 0x294]
cmp eax, ecx
je 0x46302d
push eax
call fcn.004d1d15
add esp, 4
cmp byte [esp + 0x140], 0
mov dword [esp + 0x24], esi
jne 0x463050
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x30]
cmp eax, edx
je 0x463050
push eax
call fcn.004d1d15
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x604]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5e8]
xor ecx, esp
call fcn.004d158d
add esp, 0x5fc
ret
mov ecx, esi
call fcn.0040fa50
push 0x5300dc
push 0x52a3bc
mov edx, eax
call fcn.004114a0
mov eax, dword [esp + 0x158]
add esp, 8
mov dword [esp + 0x14c], edi
test eax, eax
je 0x4630ae
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x274], 0
mov edi, vtable.t_str.0
mov dword [esp + 0x150], 0
mov dword [esp + 0x158], edi
jne 0x4630ea
mov eax, dword [esp + 0x160]
lea ecx, [esp + 0x164]
cmp eax, ecx
je 0x4630ea
push eax
call fcn.004d1d15
add esp, 4
cmp byte [esp + 0x4c8], 0
mov dword [esp + 0x3ac], edi
jne 0x463116
mov eax, dword [esp + 0x3b4]
lea edx, [esp + 0x3b8]
cmp eax, edx
je 0x463116
push eax
call fcn.004d1d15
add esp, 4
mov eax, dword [esp + 0x280]
mov dword [esp + method.t_reg.virtual_0], vtable.t_reg.0
test eax, eax
je 0x463133
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x3a4], 0
mov dword [esp + 0x280], 0
mov dword [esp + 0x288], edi
jne 0x46316a
mov eax, dword [esp + 0x290]
lea ecx, [esp + 0x294]
cmp eax, ecx
je 0x46316a
push eax
call fcn.004d1d15
add esp, 4
cmp byte [esp + 0x140], 0
mov dword [esp + 0x24], edi
jne 0x462ba2
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x30]
cmp eax, edx
jmp 0x462b97