Function at 0x422cb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b91ed
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4e843c]
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 + 0x230], 0
jne 0x422f0d
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
call fcn.00432ad0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
push 0xa
mov dword [ebp - 0x44], 0
push 0x4d7ab4
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.00406e90
push 0x4d7ae4
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.004277d0
cmp dword [ebp - 0x30], 0x10
lea edx, [ebp - 0x44]
mov dword [ebp - 0x28], 0
cmovae edx, dword [ebp - 0x44]
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x422d61
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00406e90
push 0x20119
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
push SysReAllocString
lea ecx, [ebp - 0x2c]
call fcn.00435290
mov byte [ebp - 4], 1
mov edi, eax
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x422dc8
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x422dbe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4231a1
push edx
push ecx
call fcn.00491f22
add esp, 8
test edi, edi
jne 0x422f60
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
push 5
mov dword [ebp - 0x64], edi
push 0x4d7adc
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
call fcn.00406e90
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00435390
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x422e51
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x422e47
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4231a6
push edx
push ecx
call fcn.00491f22
add esp, 8
mov edx, dword [ebp - 0x18]
cmp edx, 0xa
jbe 0x422f28
lea ecx, [esi + 0x220]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x422e79
cmp dword [ebp - 0x14], 0x10
push edx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00406e90
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x422ead
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x422ea3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4231ab
push edx
push ecx
call fcn.00491f22
add esp, 8
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x422ef3
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x422ee9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4231ab
push edx
push ecx
call fcn.00491f22
add esp, 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.00435240
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.00491a8a
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x422f60
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x422f56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4231ab
push edx
push ecx
call fcn.00491f22
add esp, 8
mov eax, dword [esi + 0x230]
test eax, eax
jne 0x423042
lea ecx, [esi + 0x220]
call fcn.00406a30
mov eax, dword [esi + 0x230]
test eax, eax
jne 0x423042
lea eax, [ebp - 0x28]
push eax
call fcn.0042e800
add esp, 4
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 5
push eax
call fcn.0042f4b0
add esp, 8
lea ecx, [esi + 0x220]
push eax
call fcn.00427870
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x422fe4
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x422fda
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4231b0
push edx
push ecx
call fcn.00491f22
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp edx, 8
jb 0x423034
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42302a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4231b0
push edx
push ecx
call fcn.00491f22
add esp, 8
mov eax, dword [esi + 0x230]
test eax, eax
je 0x42316a
push 0xa
xor eax, eax
mov dword [ebp - 0x28], 0
push str.Softwarel
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004046c0
push 4
push str.den_
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00404820
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
push 0
push 0x2011f
push 0
push 0
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x423134
lea eax, [esi + 0x220]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0042f430
add esp, 8
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4230d3
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.pcmac
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x42312b
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x423121
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4231b5
push edx
push ecx
call fcn.00491f22
add esp, 8
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42316a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x423160
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4231ba
push edx
push ecx
call fcn.00491f22
add esp, 8
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x422ef3
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x422ee9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x422ee9
call fcn.0049b75b
call fcn.0049b75b
call fcn.0049b75b
call fcn.0049b75b
call fcn.0049b75b
call fcn.0049b75b
call fcn.0049b75b
int3