Function at 0x463a30
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x523257
mov eax, dword fs:[0]
push eax
sub esp, 0x5e8
mov eax, dword [0x589560]
xor eax, esp
mov dword [esp + 0x5e0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x5fc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x60c]
mov eax, dword [ebp + 4]
xor ebx, ebx
cmp eax, ebx
mov esi, ecx
mov dword [esp + 0x18], esi
je 0x464088
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x464088
lea ecx, [esp + 0x1c]
call fcn.0046a650
mov dword [esp + 0x604], ebx
mov eax, dword [ebp + 4]
cmp eax, ebx
je 0x463ad0
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x463ad5
call fcn.004fed81
mov edx, dword [ebp + 4]
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 + 0x2c]
call fcn.0046ae10
add esp, 0x10
cmp byte [esp + 0x138], 0
lea eax, [esp + 0x28]
jne 0x463b0a
mov eax, dword [esp + 0x24]
add eax, 4
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea ecx, [esp + 0x280]
mov dword [esp + method.t_reg.virtual_0], vtable.t_reg.0
call fcn.0046a650
mov eax, str.HKEY_CURRENT_USER
lea edx, [esp + 0x280]
mov dword [esp + 0x278], ebx
mov dword [esp + 0x27c], 0x80000001
call fcn.0046a7f0
mov byte [esp + 0x604], 1
cmp byte [esp + 0x138], 0
lea eax, [esp + 0x28]
jne 0x463b6d
mov eax, dword [esp + 0x24]
push 1
push 1
add eax, 4
push eax
push esi
lea ecx, [esp + 0x284]
call fcn.00473f60
test al, al
jne 0x463bda
mov ecx, esi
call fcn.00470820
push 0x5620b4
push 0x551604
push eax
call fcn.0046adf0
add esp, 0xc
lea ecx, [esp + 0x274]
call fcn.00473f10
mov dword [esp + 0x1c], vtable.t_str.0
cmp byte [esp + 0x138], 0
jne 0x463bd3
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
cmp eax, ecx
je 0x463bd3
push eax
call fcn.004fdda1
add esp, 4
xor al, al
jmp 0x46408a
mov ecx, ebp
call fcn.0045c1d0
test eax, eax
jbe 0x464002
mov dword [esp + 0x14], ebx
lea ecx, [ecx]
lea ecx, [esp + 0x4cc]
call fcn.0046a650
cmp byte [esp + 0x138], 0
lea eax, [esp + 0x28]
jne 0x463c0e
mov eax, dword [esp + 0x24]
push ebx
add eax, 4
push eax
push str._s_08d
lea edi, [esp + 0x4d8]
call fcn.0046ae10
mov edi, vtable.t_reg.0
add esp, 0xc
lea ecx, [esp + 0x150]
mov dword [esp + 0x144], edi
call fcn.0046a650
mov eax, str.HKEY_CURRENT_USER
lea edx, [esp + 0x150]
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 0x80000001
call fcn.0046a7f0
mov byte [esp + 0x604], 3
cmp byte [esp + 0x5e8], 0
lea eax, [esp + 0x4d8]
jne 0x463c86
mov eax, dword [esp + 0x4d4]
mov esi, dword [esp + 0x18]
push 1
push 1
add eax, 4
push eax
push esi
lea ecx, [esp + 0x154]
call fcn.00473f60
test al, al
je 0x4640b2
lea ecx, [esp + 0x3a4]
call fcn.0046a650
mov byte [esp + 0x604], 4
mov eax, dword [ebp + 4]
test eax, eax
je 0x463cdc
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x463ce1
call fcn.004fed81
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x14]
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 + 0x3d4]
call fcn.0046ae10
add esp, 0x30
cmp byte [esp + 0x4c0], 0
lea eax, [esp + 0x3b0]
jne 0x463d4e
mov eax, dword [esp + 0x3ac]
lea ecx, [eax + 4]
mov eax, ecx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x463d56
mov edx, dword [esp + 0x18]
push str.CLSID
push edx
sub eax, esi
lea edx, [esp + 0x14c]
sar eax, 1
push edx
add eax, eax
mov edx, 1
call fcn.00474320
mov eax, dword [ebp + 4]
test eax, eax
je 0x463da4
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x463da9
call fcn.004fed81
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x14]
movzx edx, byte [ecx + eax + 0x2f]
lea eax, [ecx + eax + 0x20]
movzx ecx, byte [eax + 0xe]
push edx
movzx edx, byte [eax + 0xd]
push ecx
movzx ecx, byte [eax + 0xc]
push edx
movzx edx, byte [eax + 0xb]
push ecx
movzx ecx, byte [eax + 0xa]
push edx
movzx edx, byte [eax + 9]
push ecx
movzx ecx, byte [eax + 8]
push edx
movzx edx, word [eax + 6]
push ecx
movzx ecx, word [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
push str._08X__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X
lea edi, [esp + 0x3d4]
call fcn.0046ae10
add esp, 0x30
cmp byte [esp + 0x4c0], 0
lea eax, [esp + 0x3b0]
jne 0x463e16
mov eax, dword [esp + 0x3ac]
lea ecx, [eax + 4]
mov eax, ecx
lea esi, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x463e20
mov edx, dword [esp + 0x18]
push str.Profile
push edx
sub eax, esi
lea edx, [esp + 0x14c]
sar eax, 1
push edx
add eax, eax
mov edx, 1
call fcn.00474320
mov eax, dword [ebp + 4]
test eax, eax
je 0x463e6e
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x463e73
call fcn.004fed81
mov eax, dword [ebp + 4]
mov esi, dword [esp + 0x14]
cmp dword [eax + esi], 0
jne 0x463edb
test eax, eax
je 0x463e9e
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x463ea3
call fcn.004fed81
mov eax, dword [ebp + 4]
add esi, eax
test eax, eax
je 0x463ec6
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x463ecb
call fcn.004fed81
mov edi, dword [ebp + 4]
add edi, dword [esp + 0x14]
call fcn.0045f9e0
mov esi, dword [esp + 0x14]
mov eax, dword [ebp + 4]
test eax, eax
je 0x463efc
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x463f01
call fcn.004fed81
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
push str.KeyboardLayout
add eax, esi
mov eax, dword [eax]
push ecx
lea edx, [esp + 0x14c]
push edx
mov edx, 4
mov dword [esp + 0x20], eax
mov eax, edx
lea ecx, [esp + 0x20]
call fcn.00474320
cmp byte [esp + 0x4c0], 0
mov edi, vtable.t_str.0
mov dword [esp + 0x3a4], edi
jne 0x463f5f
mov eax, dword [esp + 0x3ac]
lea ecx, [esp + 0x3b0]
cmp eax, ecx
je 0x463f5f
push eax
call fcn.004fdda1
add esp, 4
mov eax, dword [esp + 0x148]
test eax, eax
mov dword [esp + method.t_reg.virtual_0], vtable.t_reg.0
je 0x463f7c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x26c], 0
mov dword [esp + 0x148], 0
mov dword [esp + 0x150], edi
jne 0x463fb3
mov eax, dword [esp + 0x158]
lea edx, [esp + 0x15c]
cmp eax, edx
je 0x463fb3
push eax
call fcn.004fdda1
add esp, 4
mov byte [esp + 0x604], 1
cmp byte [esp + 0x5e8], 0
mov dword [esp + 0x4cc], edi
jne 0x463fe7
mov eax, dword [esp + 0x4d4]
lea ecx, [esp + 0x4d8]
cmp eax, ecx
je 0x463fe7
push eax
call fcn.004fdda1
add esp, 4
add esi, 0x30
mov ecx, ebp
add ebx, 1
mov dword [esp + 0x14], esi
call fcn.0045c1d0
cmp ebx, eax
jb 0x463bf0
xor ebx, ebx
mov edx, dword [esp + 0x278]
push edx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov eax, dword [esp + 0x278]
cmp eax, ebx
mov dword [esp + method.t_reg.virtual_0], vtable.t_reg.0
je 0x46402d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x39c], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x278], ebx
mov dword [esp + 0x280], esi
jne 0x464065
mov eax, dword [esp + 0x288]
lea ecx, [esp + 0x28c]
cmp eax, ecx
je 0x464065
push eax
call fcn.004fdda1
add esp, 4
cmp byte [esp + 0x138], 0
mov dword [esp + 0x1c], esi
jne 0x464088
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
cmp eax, edx
je 0x464088
push eax
call fcn.004fdda1
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x5fc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5e0]
xor ecx, esp
call fcn.004fe05a
add esp, 0x5f4
ret
mov ecx, esi
call fcn.00470820
push 0x5620ec
push 0x551604
push eax
call fcn.0046adf0
mov eax, dword [esp + 0x154]
xor ebx, ebx
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x144], edi
je 0x4640e7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x26c], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x148], ebx
mov dword [esp + 0x150], esi
jne 0x46411f
mov eax, dword [esp + 0x158]
lea edx, [esp + 0x15c]
cmp eax, edx
je 0x46411f
push eax
call fcn.004fdda1
add esp, 4
cmp byte [esp + 0x5e8], 0
mov dword [esp + 0x4cc], esi
jne 0x46414b
mov eax, dword [esp + 0x4d4]
lea ecx, [esp + 0x4d8]
cmp eax, ecx
je 0x46414b
push eax
call fcn.004fdda1
add esp, 4
mov eax, dword [esp + 0x278]
cmp eax, ebx
mov dword [esp + 0x274], edi
je 0x464164
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x39c], 0
mov dword [esp + 0x278], ebx
mov dword [esp + 0x280], esi
jne 0x464197
mov eax, dword [esp + 0x288]
lea edx, [esp + 0x28c]
cmp eax, edx
je 0x464197
push eax
call fcn.004fdda1
add esp, 4
mov dword [esp + 0x1c], esi
jmp 0x463bb4