Function at 0x478a80
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x528400
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58057c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [0x5313fc]
push str.SoftWareMicrosoftCTFSortOrderAssemblyItem
push 0x80000001
call esi
push str.SoftWareMicrosoftCTFAssemblies
push 0x80000001
call esi
mov esi, dword [esp + 0x44]
call fcn.00477f10
test al, al
jne 0x478adb
mov ecx, esi
call fcn.00417c50
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 0x478b3c
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 0x478b20
call fcn.00503036
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x44]
push 1
add ecx, ebx
push edx
call fcn.0047e610
inc ebp
add esp, 8
add ebx, 0x30
cmp ebp, esi
jl 0x478b00
cmp byte [0x58d7f1], 0
jne 0x478b80
push str.kernel32.dll
mov byte [0x58d7f1], 1
call dword [0x531394]
test eax, eax
jne 0x478b67
mov byte [0x58d7f2], 0
jmp 0x478ccd
push str.GetLocaleInfoEx
push eax
call dword [0x531390]
test eax, eax
je 0x478b5b
mov byte [0x58d7f2], 1
jmp 0x478b8d
cmp byte [0x58d7f2], 0
je 0x478ccd
push 4
call fcn.004ff5fa
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x478ba5
lea ecx, [esp + 0x18]
mov dword [eax], ecx
jmp 0x478ba7
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.00478120
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 0x478c90
xor edi, edi
cmp esi, eax
jb 0x478bff
call fcn.00503036
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
lea eax, [edi + ebp]
push eax
call fcn.00478300
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 0x478c37
call fcn.00503036
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 0x478c5b
call fcn.00503036
mov ecx, dword [ebp]
mov ebx, dword [esp + 0x44]
call fcn.00479500
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 0x478bff
xor eax, eax
cmp ebp, eax
je 0x478cb4
mov ecx, dword [esp + 0x14]
push ecx
mov eax, ebp
call fcn.0047b8e0
mov edx, dword [esp + 0x28]
add esp, 4
push edx
call fcn.004fdffb
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.004fdffb
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