Function at 0x46c350
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x514860
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56957c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push str.SoftWareMicrosoftCTFSortOrderAssemblyItem
push SysReAllocString
call esi
push str.SoftWareMicrosoftCTFAssemblies
push SysReAllocString
call esi
mov esi, dword [esp + 0x44]
call fcn.0046b7e0
test al, al
jne 0x46c3ab
mov ecx, esi
call fcn.00416480
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov esi, edx
shr esi, 0x1f
add esi, edx
xor ebp, ebp
test esi, esi
jle 0x46c40c
xor ebx, ebx
lea ebx, [ebx]
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x46c3f0
call fcn.004f21c6
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x44]
push 1
add ecx, ebx
push edx
call fcn.00471f60
inc ebp
add esp, 8
add ebx, 0x30
cmp ebp, esi
jl 0x46c3d0
cmp byte [0x5762a9], 0
jne 0x46c450
push str.kernel32.dll
mov byte [0x5762a9], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x46c437
mov byte [0x5762aa], 0
jmp 0x46c59d
push str.GetLocaleInfoEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46c42b
mov byte [0x5762aa], 1
jmp 0x46c45d
cmp byte [0x5762aa], 0
je 0x46c59d
push 4
call fcn.004ee78a
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x46c475
lea ecx, [esp + 0x18]
mov dword [eax], ecx
jmp 0x46c477
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
lea edx, [esp + 0x18]
push edx
mov esi, edi
mov dword [esp + 0x40], 1
call fcn.0046b9f0
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov ecx, ebx
sub ecx, ebp
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
xor esi, esi
add eax, edx
je 0x46c560
xor edi, edi
cmp esi, eax
jb 0x46c4cf
call fcn.004f21c6
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
lea eax, [edi + ebp]
push eax
call fcn.0046bbd0
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add esp, 4
cmp esi, ecx
jb 0x46c507
call fcn.004f21c6
mov ebx, dword [esp + 0x24]
mov ecx, dword [edi + ebx + 0x10]
sub ecx, dword [edi + ebx + 0xc]
lea ebp, [edi + ebx + 0xc]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x46c52b
call fcn.004f21c6
mov ecx, dword [ebp]
mov ebx, dword [esp + 0x44]
call fcn.0046cdd0
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov ecx, ebx
sub ecx, ebp
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
add edi, 0x18
cmp esi, eax
jb 0x46c4cf
xor eax, eax
cmp ebp, eax
je 0x46c584
mov ecx, dword [esp + 0x14]
push ecx
mov eax, ebp
call fcn.0046f260
mov edx, dword [esp + 0x28]
add esp, 4
push edx
call fcn.004ed1ab
add esp, 4
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
push eax
call fcn.004ed1ab
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret