Function at 0x450520
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d55e2
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x64c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x65cc38]
cmp eax, dword [ecx + 4]
jle 0x4505a4
push 0x65cc38
call fcn.00483c2d
add esp, 4
cmp dword [0x65cc38], 0xffffffff
jne 0x4505a4
mov dword [ebp - 4], 0
call fcn.00414990
push 0x5d7c10
call fcn.00484084
push 0x65cc38
mov dword [ebp - 4], 0xffffffff
call fcn.00483be3
add esp, 8
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x450987
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push str.SOFTWAREcmcm_sogoukwallpaperSetup
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.00406c20
test al, al
jne 0x4505e3
push str.SOFTWAREcmcm_sogoukwallpaperSetup
lea ecx, [ebp - 0x18]
call fcn.0040a6f0
mov dword [ebp - 4], 2
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x10], 0
call edi
or ebx, 0xffffffff
test eax, eax
je 0x45065a
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x45062a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push reloc.WS2_32.dll_accept
call edi
test eax, eax
je 0x45065a
mov eax, dword [ebp - 0x10]
xor edi, edi
jmp 0x450945
mov byte [ebp - 4], 4
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x450991
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x635b44
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00406c20
test al, al
jne 0x45069c
push 0
push 0x635b44
lea ecx, [ebp - 0x14]
call fcn.00406ed0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
push eax
push 0x636208
push 0x6360b0
lea eax, [ebp - 0x1c]
mov ecx, 0x65cc40
push eax
call fcn.00412cf0
mov byte [ebp - 4], 4
mov eax, ebx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x20], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4506e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x45071b
mov ecx, dword [ebp - 0x1c]
mov edi, ecx
lea ebx, [edi + 2]
mov dx, word [edi]
add edi, 2
test dx, dx
jne 0x4506f0
sub edi, ebx
sar edi, 1
lea edx, [edi*2 + 2]
push edx
push ecx
push 1
push 0
push 0x639a40
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
or ebx, 0xffffffff
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x450739
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov ecx, 0x65cc40
push eax
call fcn.00413490
mov edi, dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x450780
mov edx, edi
lea ebx, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x450755
sub edx, ebx
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push edi
push 1
push 0
push str.tid1
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
or ebx, 0xffffffff
mov edx, dword [ebp - 0x20]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45079a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov ecx, 0x65cc40
push eax
call fcn.00413590
mov edi, dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4507e1
mov edx, edi
lea ebx, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4507b6
sub edx, ebx
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push edi
push 1
push 0
push str.tid2
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
or ebx, 0xffffffff
mov edx, dword [ebp - 0x20]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4507fb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov ecx, 0x65cc40
push eax
call fcn.00413690
mov edi, dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x450842
mov edx, edi
lea ebx, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x450817
sub edx, ebx
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push edi
push 1
push 0
push str.tod1
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
or ebx, 0xffffffff
mov edx, dword [ebp - 0x20]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45085c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov ecx, 0x65cc40
push eax
call fcn.00413790
mov edi, dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4508af
mov edx, edi
lea ebx, [edx + 2]
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x450880
sub edx, ebx
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
push 0
push str.tod2
push eax
call edi
or ebx, 0xffffffff
jmp 0x4508b5
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x20]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4508cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0x63626c
push ecx
mov ecx, 0x65cc40
call fcn.00412ad0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x450900
push 4
lea ecx, [ebp - 0x20]
push ecx
push 4
push 0
push str.usertag
push eax
call edi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], 4
test eax, eax
je 0x450920
push 4
lea ecx, [ebp - 0x20]
push ecx
push 4
push 0
push str.titleflag
push eax
call edi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], 1
test eax, eax
je 0x450940
push 4
lea ecx, [ebp - 0x20]
push ecx
push 4
push 0
push str.first_runservice
push eax
call edi
mov eax, dword [ebp - 0x10]
mov edi, 1
test eax, eax
je 0x450950
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], 0
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x450973
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405600
push 0x80004005
call fcn.00405600
int3