Function at 0x478300
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x527867
mov eax, dword fs:[0]
push eax
sub esp, 0x5f0
mov eax, dword [0x58057c]
xor eax, esp
mov dword [esp + 0x5e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58057c]
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 0x478940
lea ecx, [esp + 0x24]
call fcn.00418990
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 0x478395
call fcn.00503036
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.00419380
add esp, 0x10
lea eax, [esp + 0x30]
cmp byte [esp + 0x140], bl
jne 0x4783c9
mov eax, dword [esp + 0x2c]
add eax, 4
push eax
push 0x80000001
call dword [0x5313fc]
lea ecx, [esp + 0x288]
mov dword [esp + method.t_reg.virtual_0], vtable.t_reg.0
call fcn.00418990
mov eax, str.HKEY_CURRENT_USER
lea edx, [esp + 0x288]
mov dword [esp + 0x280], ebx
mov dword [esp + 0x284], 0x80000001
call fcn.00418b90
mov byte [esp + 0x60c], 1
cmp byte [esp + 0x140], 0
lea eax, [esp + 0x30]
jne 0x47842c
mov eax, dword [esp + 0x2c]
push 1
push 1
add eax, 4
push eax
push esi
lea ecx, [esp + 0x28c]
call fcn.00419dc0
test al, al
jne 0x47849a
mov ecx, esi
call fcn.00417c00
push 0x565364
push 0x55e008
mov edx, eax
call fcn.00419360
add esp, 8
lea ecx, [esp + 0x27c]
call fcn.00419d70
cmp byte [esp + 0x140], 0
mov dword [esp + 0x24], vtable.t_str.0
jne 0x478493
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
cmp eax, ecx
je 0x478493
push eax
call fcn.004fe606
add esp, 4
xor al, al
jmp 0x478942
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 0x4788b6
mov dword [esp + 0x18], 0
nop
lea ecx, [esp + 0x3ac]
call fcn.00418990
cmp byte [esp + 0x140], 0
lea eax, [esp + 0x30]
jne 0x4784de
mov eax, dword [esp + 0x2c]
push ebx
add eax, 4
push eax
push str._s_08d
lea edi, [esp + 0x3b8]
call fcn.00419380
mov edi, vtable.t_reg.0
add esp, 0xc
lea ecx, [esp + 0x158]
mov dword [esp + 0x14c], edi
call fcn.00418990
mov eax, str.HKEY_CURRENT_USER
lea edx, [esp + 0x158]
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 0x80000001
call fcn.00418b90
mov byte [esp + 0x60c], 3
cmp byte [esp + 0x4c8], 0
lea eax, [esp + 0x3b8]
jne 0x478556
mov eax, dword [esp + 0x3b4]
push 1
push 1
add eax, 4
push eax
push esi
lea ecx, [esp + 0x15c]
call fcn.00419dc0
test al, al
je 0x47896a
lea ecx, [esp + 0x4d4]
call fcn.00418990
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 0x4785a7
call fcn.00503036
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.00419380
add esp, 0x30
cmp byte [esp + 0x5f0], 0
lea ecx, [esp + 0x4e0]
jne 0x478614
mov ecx, dword [esp + 0x4dc]
add ecx, 4
mov eax, ecx
lea edi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x478620
push 0x55ff34
sub eax, edi
push esi
lea edx, [esp + 0x154]
sar eax, 1
push edx
add eax, eax
mov edx, 1
call fcn.0041a260
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 0x478669
call fcn.00503036
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.00419380
add esp, 0x30
cmp byte [esp + 0x5f0], 0
lea ecx, [esp + 0x4e0]
jne 0x4786d5
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 0x4786e0
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.0041a260
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 0x478729
call fcn.00503036
mov eax, dword [ebp + 0xc]
mov edi, dword [esp + 0x18]
cmp dword [eax + edi], 0
jne 0x47878e
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 0x478755
call fcn.00503036
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 0x47877a
call fcn.00503036
mov edi, dword [ebp + 0xc]
add edi, dword [esp + 0x18]
call fcn.004748a0
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 0x4787ae
call fcn.00503036
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.0041a260
cmp byte [esp + 0x5f0], 0
mov edi, vtable.t_str.0
mov dword [esp + 0x4d4], edi
jne 0x478809
mov eax, dword [esp + 0x4dc]
lea ecx, [esp + 0x4e0]
cmp eax, ecx
je 0x478809
push eax
call fcn.004fe606
add esp, 4
mov eax, dword [esp + 0x150]
mov dword [esp + method.t_reg.virtual_0], vtable.t_reg.0
test eax, eax
je 0x478826
push eax
call dword [0x531050]
cmp byte [esp + 0x274], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x158], edi
jne 0x47885d
mov eax, dword [esp + 0x160]
lea edx, [esp + 0x164]
cmp eax, edx
je 0x47885d
push eax
call fcn.004fe606
add esp, 4
mov byte [esp + 0x60c], 1
cmp byte [esp + 0x4c8], 0
mov dword [esp + 0x3ac], edi
jne 0x478891
mov eax, dword [esp + 0x3b4]
lea ecx, [esp + 0x3b8]
cmp eax, ecx
je 0x478891
push eax
call fcn.004fe606
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 0x4784c0
mov eax, dword [esp + 0x280]
push eax
call dword [0x531008]
mov eax, dword [esp + 0x280]
mov dword [esp + method.t_reg.virtual_0], vtable.t_reg.0
test eax, eax
je 0x4788e1
push eax
call dword [0x531050]
cmp byte [esp + 0x3a4], 0
mov esi, vtable.t_str.0
mov dword [esp + 0x280], 0
mov dword [esp + 0x288], esi
jne 0x47891d
mov eax, dword [esp + 0x290]
lea ecx, [esp + 0x294]
cmp eax, ecx
je 0x47891d
push eax
call fcn.004fe606
add esp, 4
cmp byte [esp + 0x140], 0
mov dword [esp + 0x24], esi
jne 0x478940
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x30]
cmp eax, edx
je 0x478940
push eax
call fcn.004fe606
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.004fdc2b
add esp, 0x5fc
ret
mov ecx, esi
call fcn.00417c00
push 0x56539c
push 0x55e008
mov edx, eax
call fcn.00419360
mov eax, dword [esp + 0x158]
add esp, 8
mov dword [esp + 0x14c], edi
test eax, eax
je 0x47899e
push eax
call dword [0x531050]
cmp byte [esp + 0x274], 0
mov edi, vtable.t_str.0
mov dword [esp + 0x150], 0
mov dword [esp + 0x158], edi
jne 0x4789da
mov eax, dword [esp + 0x160]
lea ecx, [esp + 0x164]
cmp eax, ecx
je 0x4789da
push eax
call fcn.004fe606
add esp, 4
cmp byte [esp + 0x4c8], 0
mov dword [esp + 0x3ac], edi
jne 0x478a06
mov eax, dword [esp + 0x3b4]
lea edx, [esp + 0x3b8]
cmp eax, edx
je 0x478a06
push eax
call fcn.004fe606
add esp, 4
mov eax, dword [esp + 0x280]
mov dword [esp + method.t_reg.virtual_0], vtable.t_reg.0
test eax, eax
je 0x478a23
push eax
call dword [0x531050]
cmp byte [esp + 0x3a4], 0
mov dword [esp + 0x280], 0
mov dword [esp + 0x288], edi
jne 0x478a5a
mov eax, dword [esp + 0x290]
lea ecx, [esp + 0x294]
cmp eax, ecx
je 0x478a5a
push eax
call fcn.004fe606
add esp, 4
cmp byte [esp + 0x140], 0
mov dword [esp + 0x24], edi
jne 0x478493
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x30]
cmp eax, edx
jmp 0x478488