Function at 0x422170
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e55e
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x56b910]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x4226f8
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], 0
call fcn.0043b2b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x104]
push 0xe
push 0x54e7c8
mov dword [ebp - 0xf0], 0xf
mov dword [ebp - 0xf4], 0
mov byte [ebp - 0x104], 0
call fcn.00409080
push 0x20119
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 1
push eax
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x94]
call fcn.004463b0
cmp dword [ebp - 0xf0], 0x10
mov edi, eax
jb 0x42222b
push dword [ebp - 0x104]
call fcn.0048b1b0
add esp, 4
test edi, edi
jne 0x422368
mov dword [ebp - 0xb8], 0xf
mov dword [ebp - 0xbc], edi
mov byte [ebp - 0xcc], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x104]
push 5
push 0x54e7d8
mov dword [ebp - 0xf0], 0xf
mov dword [ebp - 0xf4], edi
mov byte [ebp - 0x104], 0
call fcn.00409080
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x94]
call fcn.004464b0
mov byte [ebp - 4], 2
cmp dword [ebp - 0xf0], 0x10
jb 0x4222af
push dword [ebp - 0x104]
call fcn.0048b1b0
add esp, 4
cmp dword [ebp - 0xbc], 0xa
jbe 0x422351
lea eax, [ebp - 0xcc]
cmp esi, eax
je 0x4222d2
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00408c90
lea eax, [ebp - 0x11c]
push esi
push eax
call fcn.00442ca0
add esp, 8
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x4222ee
mov eax, dword [eax]
push eax
push str.read_pcmac_from_pc__s
push 0x61
push str.vbox::GoogleAnalytics::calcPCID
call fcn.0043b130
add esp, 0x10
cmp dword [ebp - 0x108], 8
jb 0x42231a
push dword [ebp - 0x11c]
call fcn.0048b1b0
add esp, 4
cmp dword [ebp - 0xb8], 0x10
jb 0x422331
push dword [ebp - 0xcc]
call fcn.0048b1b0
add esp, 4
mov dword [ebp - 0xb8], 0xf
mov dword [ebp - 0xbc], 0
mov byte [ebp - 0xcc], 0
jmp 0x4226e6
cmp dword [ebp - 0xb8], 0x10
jb 0x422368
push dword [ebp - 0xcc]
call fcn.0048b1b0
add esp, 4
xor eax, eax
mov dword [ebp - 0xa0], 7
mov dword [ebp - 0xa4], 0
mov word [ebp - 0xb4], ax
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 5
push eax
call fcn.0043f440
add esp, 4
push str.changzhi_leidian.data
push eax
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 6
push eax
call fcn.00414b70
add esp, 0xc
mov byte [ebp - 4], 8
cmp dword [ebp - 0xf0], 8
jb 0x4223cc
push dword [ebp - 0x104]
call fcn.0048b1b0
add esp, 4
xor eax, eax
mov dword [ebp - 0xf0], 7
xorps xmm0, xmm0
mov dword [ebp - 0xf4], 0
lea ecx, [ebp - 0x9c]
mov word [ebp - 0x104], ax
movq qword [ebp - 0x9c], xmm0
call fcn.0043f4e0
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x9c]
call fcn.0043f530
test al, al
je 0x422454
push 0x80
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x9c]
call fcn.0043f5a0
cmp eax, 0x1e
jle 0x422449
cdq
lea ecx, [ebp - 0xb4]
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00404de0
lea ecx, [ebp - 0x9c]
call fcn.0043f500
cmp dword [ebp - 0xa0], 8
lea eax, [ebp - 0xb4]
cmovae eax, dword [ebp - 0xb4]
push eax
push str.read_from_leidian__s
push 0x72
push str.vbox::GoogleAnalytics::calcPCID
call fcn.0043b130
add esp, 0x10
cmp dword [ebp - 0xa4], 0
je 0x4224e2
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00442d20
mov edi, eax
add esp, 8
cmp esi, edi
je 0x4224cb
cmp dword [esi + 0x14], 0x10
jb 0x4224b2
push dword [esi]
call fcn.0048b1b0
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push edi
mov byte [esi], 0
call fcn.0041ffc0
cmp dword [ebp - 0x108], 0x10
jb 0x4224e2
push dword [ebp - 0x11c]
call fcn.0048b1b0
add esp, 4
cmp dword [esi + 0x10], 0
jne 0x4225c7
mov ecx, esi
call fcn.00428c50
cmp dword [esi + 0x10], 0
jne 0x422571
lea eax, [ebp - 0x134]
push eax
call fcn.00440520
add esp, 4
push eax
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 9
push eax
call fcn.00442d20
add esp, 8
mov ecx, esi
push eax
call fcn.00413860
cmp dword [ebp - 0x108], 0x10
jb 0x42253b
push dword [ebp - 0x11c]
call fcn.0048b1b0
add esp, 4
mov byte [ebp - 4], 8
cmp dword [ebp - 0x120], 8
mov dword [ebp - 0x108], 0xf
mov dword [ebp - 0x10c], 0
mov byte [ebp - 0x11c], 0
jb 0x422571
push dword [ebp - 0x134]
call fcn.0048b1b0
add esp, 4
lea eax, [ebp - 0x134]
push esi
push eax
call fcn.00442ca0
add esp, 8
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
jb 0x42258d
mov eax, dword [eax]
push eax
push str.create_pcmac__s
push 0x7f
push str.vbox::GoogleAnalytics::calcPCID
call fcn.0043b130
add esp, 0x10
mov byte [ebp - 4], 8
cmp dword [ebp - 0x120], 8
jb 0x4225bd
push dword [ebp - 0x134]
call fcn.0048b1b0
add esp, 4
cmp dword [esi + 0x10], 0
je 0x42267e
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xd0], 0
push eax
lea eax, [ebp - 0xec]
push eax
push 0
push 0x2011f
push 0
push 0
push 0
push str.Softwarelden_
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x422660
lea eax, [ebp - 0x134]
push esi
push eax
call fcn.00442ca0
mov ecx, eax
add esp, 8
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x42261d
mov ecx, dword [ecx]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.pcmac
push dword [ebp - 0xec]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 0x120], 8
jb 0x422652
push dword [ebp - 0x134]
call fcn.0048b1b0
add esp, 4
push dword [ebp - 0xec]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42267e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.save_rcmac_error__d
push 0x8c
push str.vbox::GoogleAnalytics::calcPCID
call fcn.0043b130
add esp, 0x10
cmp dword [ebp - 0xd4], 8
jb 0x422695
push dword [ebp - 0xe8]
call fcn.0048b1b0
add esp, 4
xor eax, eax
mov dword [ebp - 0xd4], 7
cmp dword [ebp - 0xa0], 8
mov dword [ebp - 0xd8], 0
mov word [ebp - 0xe8], ax
jb 0x4226c9
push dword [ebp - 0xb4]
call fcn.0048b1b0
add esp, 4
xor eax, eax
mov dword [ebp - 0xa0], 7
mov dword [ebp - 0xa4], 0
mov word [ebp - 0xb4], ax
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.00446390
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e1646
mov esp, ebp
pop ebp
ret