Function at 0x459930
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x4cc6c7
mov eax, dword fs:[0]
push eax
sub esp, 0x5e8
mov eax, dword [0x50a4c0]
xor eax, esp
mov dword [esp + 0x5e0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50a4c0]
xor eax, esp
push eax
lea eax, [esp + 0x5fc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x60c]
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 + 0x18], esi
je 0x459fb4
lea ecx, [esp + 0x1c]
call fcn.00430920
xor edi, edi
mov dword [esp + 0x604], edi
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 0x4599c5
call fcn.004a68c5
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 0xc]
push str.34745C63_B2F0_4784_8B67_5E12C8701A31
push eax
push str.SoftWareMicrosoftCTFSortOrderAssemblyItem
lea ecx, [esp + 0x28]
push str._s0x_08X_s
push ecx
call fcn.00430ed0
add esp, 0x14
cmp byte [esp + 0x138], 0
lea eax, [esp + 0x28]
jne 0x4599fb
mov eax, dword [esp + 0x24]
add eax, 4
push eax
push reloc.WS2_32.dll_accept
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.00430920
mov eax, str.CURRENT_USER
lea edx, [esp + 0x280]
mov dword [esp + 0x278], edi
mov dword [esp + 0x27c], reloc.WS2_32.dll_accept
call fcn.00430b00
mov byte [esp + 0x604], 1
cmp byte [esp + 0x138], 0
lea eax, [esp + 0x28]
jne 0x459a5e
mov eax, dword [esp + 0x24]
push 1
push 1
push 1
add eax, 4
push eax
push esi
lea ecx, [esp + 0x288]
call fcn.00431bf0
test al, al
jne 0x459ace
mov ecx, esi
call fcn.0042c990
push 0x4f71e8
push 0x4f0ffc
mov edx, eax
call fcn.00430eb0
add esp, 8
lea ecx, [esp + 0x274]
call fcn.00431ba0
mov dword [esp + 0x1c], vtable.t_str.0
cmp byte [esp + 0x138], 0
jne 0x459ac7
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
cmp eax, edx
je 0x459ac7
push eax
call fcn.004a4a7f
add esp, 4
xor al, al
jmp 0x459fb6
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
xor ebx, ebx
add eax, edx
je 0x459f2e
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x4cc]
call fcn.00430920
cmp byte [esp + 0x138], 0
lea eax, [esp + 0x28]
jne 0x459b0f
mov eax, dword [esp + 0x24]
push ebx
add eax, 4
push eax
lea ecx, [esp + 0x4d4]
push str._s_08d
push ecx
call fcn.00430ed0
add esp, 0x10
lea ecx, [esp + 0x150]
mov dword [esp + method.t_reg.virtual_0], vtable.t_reg.0
call fcn.00430920
mov eax, str.CURRENT_USER
lea edx, [esp + 0x150]
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], reloc.WS2_32.dll_accept
call fcn.00430b00
mov byte [esp + 0x604], 3
cmp byte [esp + 0x5e8], 0
lea eax, [esp + 0x4d8]
jne 0x459b87
mov eax, dword [esp + 0x4d4]
mov esi, dword [esp + 0x18]
push 1
push 1
push 1
add eax, 4
push eax
push esi
lea ecx, [esp + 0x158]
call fcn.00431bf0
test al, al
je 0x459fde
lea ecx, [esp + 0x3a4]
call fcn.00430920
mov byte [esp + 0x604], 4
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 0x459bde
call fcn.004a68c5
mov ecx, dword [ebp + 0xc]
movzx edx, byte [edi + ecx + 0x1f]
lea eax, [edi + ecx + 0x10]
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
lea eax, [esp + 0x3d0]
push str._08X__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X
push eax
call fcn.00430ed0
add esp, 0x34
cmp byte [esp + 0x4c0], 0
lea eax, [esp + 0x3b0]
jne 0x459c48
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 0x459c50
mov edx, dword [esp + 0x18]
push 0x4e6824
push edx
sub eax, esi
lea edx, [esp + 0x14c]
sar eax, 1
push edx
add eax, eax
mov edx, 1
call fcn.00431fd0
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 0x459c9d
call fcn.004a68c5
mov ecx, dword [ebp + 0xc]
movzx edx, byte [edi + ecx + 0x2f]
lea eax, [edi + ecx + 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
lea eax, [esp + 0x3d0]
push str._08X__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X
push eax
call fcn.00430ed0
add esp, 0x34
cmp byte [esp + 0x4c0], 0
lea eax, [esp + 0x3b0]
jne 0x459d07
mov eax, dword [esp + 0x3ac]
lea ecx, [eax + 4]
mov eax, ecx
lea esi, [eax + 2]
nop
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x459d10
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.00431fd0
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 0x459d5d
call fcn.004a68c5
mov eax, dword [ebp + 0xc]
cmp dword [eax + edi], 0
jne 0x459dba
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 0x459d85
call fcn.004a68c5
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
sub ecx, eax
lea esi, [edi + eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x459daa
call fcn.004a68c5
mov edi, dword [ebp + 0xc]
add edi, dword [esp + 0x14]
call fcn.004550d0
mov edi, dword [esp + 0x14]
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 0x459dda
call fcn.004a68c5
mov esi, dword [ebp + 0xc]
lea edx, [esi + edi + 0x10]
mov ecx, 0x4e64ac
call fcn.004151f0
test eax, eax
jne 0x459e01
lea edx, [esi + edi + 0x20]
mov ecx, 0x4e64ac
call fcn.004151f0
test eax, eax
je 0x459e26
mov ecx, dword [ebp + 0x10]
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x459e20
call fcn.004a68c5
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi + ecx]
mov edx, dword [esp + 0x18]
push str.KeyboardLayout
mov dword [esp + 0x18], eax
push edx
lea eax, [esp + 0x14c]
mov edx, 4
push eax
mov eax, edx
lea ecx, [esp + 0x20]
call fcn.00431fd0
cmp byte [esp + 0x4c0], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x3a4], esi
jne 0x459e7d
mov eax, dword [esp + 0x3ac]
lea ecx, [esp + 0x3b0]
cmp eax, ecx
je 0x459e7d
push eax
call fcn.004a4a7f
add esp, 4
mov eax, dword [esp + 0x148]
mov dword [esp + method.t_reg.virtual_0], vtable.t_reg.0
test eax, eax
je 0x459e9a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x26c], 0
mov dword [esp + 0x148], 0
mov dword [esp + 0x150], esi
jne 0x459ed1
mov eax, dword [esp + 0x158]
lea edx, [esp + 0x15c]
cmp eax, edx
je 0x459ed1
push eax
call fcn.004a4a7f
add esp, 4
mov byte [esp + 0x604], 1
cmp byte [esp + 0x5e8], 0
mov dword [esp + 0x4cc], esi
jne 0x459f05
mov eax, dword [esp + 0x4d4]
lea ecx, [esp + 0x4d8]
cmp eax, ecx
je 0x459f05
push eax
call fcn.004a4a7f
add esp, 4
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp + 0xc]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
inc ebx
add edi, 0x30
add eax, edx
mov dword [esp + 0x14], edi
cmp ebx, eax
jb 0x459af1
xor edi, edi
mov eax, dword [esp + 0x278]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov eax, dword [esp + 0x278]
mov dword [esp + method.t_reg.virtual_0], vtable.t_reg.0
cmp eax, edi
je 0x459f59
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x39c], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x278], edi
mov dword [esp + 0x280], esi
jne 0x459f91
mov eax, dword [esp + 0x288]
lea ecx, [esp + 0x28c]
cmp eax, ecx
je 0x459f91
push eax
call fcn.004a4a7f
add esp, 4
cmp byte [esp + 0x138], 0
mov dword [esp + 0x1c], esi
jne 0x459fb4
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
cmp eax, edx
je 0x459fb4
push eax
call fcn.004a4a7f
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.004a4a25
add esp, 0x5f4
ret
mov ecx, esi
call fcn.0042c990
push 0x4f7220
push 0x4f0ffc
mov edx, eax
call fcn.00430eb0
mov eax, dword [esp + 0x150]
xor ebx, ebx
add esp, 8
mov esi, vtable.t_reg.0
mov dword [esp + 0x144], esi
cmp eax, ebx
je 0x45a019
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x26c], 0
mov edi, vtable.t_str.0
mov dword [esp + 0x148], ebx
mov dword [esp + 0x150], edi
jne 0x45a051
mov eax, dword [esp + 0x158]
lea ecx, [esp + 0x15c]
cmp eax, ecx
je 0x45a051
push eax
call fcn.004a4a7f
add esp, 4
cmp byte [esp + 0x5e8], 0
mov dword [esp + 0x4cc], edi
jne 0x45a07d
mov eax, dword [esp + 0x4d4]
lea edx, [esp + 0x4d8]
cmp eax, edx
je 0x45a07d
push eax
call fcn.004a4a7f
add esp, 4
mov eax, dword [esp + 0x278]
mov dword [esp + 0x274], esi
cmp eax, ebx
je 0x45a096
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x39c], 0
mov dword [esp + 0x278], ebx
mov dword [esp + 0x280], edi
jne 0x45a0c9
mov eax, dword [esp + 0x288]
lea ecx, [esp + 0x28c]
cmp eax, ecx
je 0x45a0c9
push eax
call fcn.004a4a7f
add esp, 4
mov dword [esp + 0x1c], edi
jmp 0x459aa8