Function at 0x42d93e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x124
mov eax, 0x4815b5
call fcn.00456992
mov dword [ebp - 0x74], edx
mov edi, ecx
mov dword [ebp - 0x54], edi
lea eax, [ebp - 0x18]
xor ebx, ebx
push eax
push str.ApplyXmlRegistryUpdate
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x18], ebx
call fcn.0041e6cc
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x2c]
call fcn.00451160
lea ecx, [ebp - 0x5c]
call fcn.0040aaed
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.0040aaed
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.0040aaed
mov byte [ebp - 4], 3
mov esi, ebx
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], esi
call fcn.00433523
mov byte [ebp - 4], 4
xor eax, eax
mov ecx, edi
mov dword [ebp - 0x34], eax
mov bh, al
call fcn.00430a68
mov ecx, edi
call fcn.004512f0
test al, al
jne 0x42e9ec
mov ecx, edi
call fcn.00454f40
cmp eax, 2
jne 0x42e9ec
mov ecx, edi
call fcn.00452350
push eax
lea ecx, [ebp - 0x80]
call fcn.0040a676
lea ecx, [ebp - 0x80]
call fcn.0041b0f9
mov ecx, eax
call fcn.004093ea
push str.regkey
push dword [ebp - 0x80]
call fcn.0045f9d3
pop ecx
pop ecx
test eax, eax
je 0x42da1f
mov dword [ebp - 0x18], 0x57
jmp 0x42ea0a
push str.path
lea eax, [ebp - 0x88]
mov ecx, edi
push eax
call fcn.00451700
lea ecx, [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
call fcn.004512f0
test al, al
je 0x42da60
push str.path
push str._s_attribute_is_mandatory_for_regkey_node
call fcn.0041e1d8
pop ecx
pop ecx
mov dword [ebp - 0x18], 0xd
jmp 0x42ea0a
lea ecx, [ebp - 0x2c]
call fcn.00454f60
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040a676
lea ecx, [ebp - 0x5c]
call fcn.0041b0f9
mov ecx, eax
call fcn.004093ea
mov eax, dword [ebp - 0x5c]
cmp dword [eax - 0xc], 0
jne 0x42da9f
push str.path
push str._s_attribute_is_empty
call fcn.0041e1d8
pop ecx
pop ecx
jmp 0x42da13
push eax
push str.Processing_regkey_node:__s
call fcn.0041e1d8
pop ecx
pop ecx
push str.flags
lea eax, [ebp - 0x88]
mov ecx, edi
push eax
call fcn.00451700
lea ecx, [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
call fcn.00451320
test eax, eax
je 0x42dbe1
lea ecx, [ebp - 0x2c]
call fcn.00454f60
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x24]
call fcn.0041efe3
mov esi, dword [ebp - 0x24]
push 9
push str.mustexist
push esi
call fcn.0046c919
add esp, 0xc
test eax, eax
jne 0x42db0b
add esi, 0x12
mov bl, 1
mov dword [ebp - 0x24], esi
jmp 0x42dae2
push 2
push 0x4aaefc
push esi
call fcn.0046c919
add esp, 0xc
test eax, eax
jne 0x42db2d
add esi, 4
or edi, 0x200
mov dword [ebp - 0x24], esi
jmp 0x42dae2
push 2
push 0x4aaf04
push esi
call fcn.0046c919
add esp, 0xc
test eax, eax
jne 0x42db4f
add esi, 4
or edi, 0x100
mov dword [ebp - 0x24], esi
jmp 0x42dae2
push 3
push 0x4adde4
push esi
call fcn.0046c919
add esp, 0xc
test eax, eax
jne 0x42db68
add esi, 6
jmp 0x42db7f
push 4
push str.aimm
push esi
call fcn.0046c919
add esp, 0xc
test eax, eax
jne 0x42db87
add esi, 8
mov dword [ebp - 0x24], esi
jmp 0x42dae2
push 6
push str.delete
push esi
call fcn.0046c919
add esp, 0xc
test eax, eax
jne 0x42dba8
add esi, 0xc
mov bh, 1
mov dword [ebp - 0x24], esi
jmp 0x42dae2
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x44], edi
call fcn.0041efe3
mov esi, edi
mov ecx, 0x300
mov edi, dword [ebp - 0x54]
mov eax, esi
and eax, ecx
cmp eax, ecx
je 0x42da54
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov dword [ebp - 0x44], esi
cmp word [eax], cx
je 0x42dbe1
push eax
push str.Invalid_flag__s
jmp 0x42da4d
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x40]
call fcn.0041fb5f
mov dword [ebp - 0x18], eax
pop ecx
test eax, eax
jne 0x42e9f3
mov edx, 0x20019
test bl, bl
je 0x42dc77
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x42e9ec
cmp dword [0x4c27bc], 0
je 0x42dc24
mov eax, esi
or eax, edx
lea edx, [ebp - 0x50]
push edx
push eax
xor eax, eax
push eax
push dword [ebp - 0x4c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
neg eax
sbb esi, esi
and esi, 0x490
cmp dword [ebp - 0x50], 0
je 0x42dc4f
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], esi
cmp esi, 0x490
jne 0x42dc6f
push str.Attribure_mustexist_is_specified__but_the_destination_registry_key_is_missing__skipping
call fcn.0041e1d8
pop ecx
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x42e9f3
test esi, esi
jne 0x42e9f3
mov eax, dword [ebp - 0x40]
mov ecx, eax
shr ecx, 0x1f
mov byte [ebp - 0x124], 1
mov dword [ebp - 0x88], ecx
test cl, cl
jne 0x42dcc3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
xor ecx, ecx
push ecx
push ecx
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, dword [ebp - 0x40]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x42dcc9
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42dc67
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x114]
call fcn.0040951e
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x118]
call fcn.0040951e
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x74]
push ecx
mov byte [ebp - 0x110], bh
mov byte [ebp - 0x10f], 1
push dword [eax + 0x28]
lea ecx, [eax + 0x28]
call fcn.00432b39
xor eax, eax
mov dword [ebp - 0x11c], eax
test bh, bh
jne 0x42e9f3
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.00451a90
jmp 0x42e896
xor eax, eax
lea ecx, [ebp - 0xc8]
mov bl, al
mov byte [ebp - 0xd], al
mov bh, al
call fcn.00433523
mov byte [ebp - 4], 5
xor esi, esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x70], esi
call fcn.00451160
lea ecx, [ebp - 0x20]
call fcn.0040aaed
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.0040aaed
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.0040aaed
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x78], esi
call fcn.00454f40
cmp eax, 2
je 0x42ddae
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
jmp 0x42e864
push dword [ebp - 0x74]
lea edx, [ebp - 0x55]
lea ecx, [ebp - 0x24]
call fcn.0041aa50
pop ecx
test eax, eax
je 0x42dde4
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
jmp 0x42e864
cmp byte [ebp - 0x55], 0
jne 0x42de0d
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
jmp 0x42e864
push str.flags
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x24]
call fcn.00451700
lea ecx, [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
call fcn.00451320
test eax, eax
je 0x42dec4
lea ecx, [ebp - 0x2c]
call fcn.00454f60
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x28]
call fcn.0041efe3
mov esi, dword [ebp - 0x28]
push 9
push str.mustexist
push esi
call fcn.0046c919
add esp, 0xc
test eax, eax
jne 0x42de6a
add esi, 0x12
mov bl, 1
mov dword [ebp - 0x28], esi
jmp 0x42de41
push 6
push str.delete
push esi
call fcn.0046c919
add esp, 0xc
test eax, eax
jne 0x42de88
add esi, 0xc
mov bh, 1
mov dword [ebp - 0x28], esi
jmp 0x42de41
push 6
push str.expand
push esi
call fcn.0046c919
add esp, 0xc
test eax, eax
jne 0x42dea8
add esi, 0xc
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x28], esi
jmp 0x42de41
lea ecx, [ebp - 0x28]
call fcn.0041efe3
mov al, byte [ebp - 0xd]
mov esi, dword [ebp - 0x28]
mov byte [ebp - 0xd], al
xor eax, eax
cmp word [esi], ax
jne 0x42e8ab
push str.name
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x24]
call fcn.00451700
lea ecx, [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
call fcn.004512f0
test al, al
jne 0x42e9c2
lea ecx, [ebp - 0x2c]
call fcn.00454f60
push eax
lea ecx, [ebp - 0x20]
call fcn.0040a676
lea ecx, [ebp - 0x20]
call fcn.0041b0f9
mov ecx, eax
call fcn.004093ea
mov edi, dword [ebp - 0x40]
test bl, bl
je 0x42dfc5
xor edx, edx
mov ecx, 0x20019
mov dword [ebp - 0x38], edx
mov eax, ecx
mov dword [ebp - 0x54], edx
test edi, edi
je 0x42e8e9
cmp dword [0x4c27bc], edx
je 0x42df3c
mov eax, dword [ebp - 0x44]
or eax, ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
push edx
push dword [ebp - 0x4c]
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42df57
mov esi, 0x490
jmp 0x42df7a
lea eax, [ebp - 0x54]
push eax
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
test eax, eax
mov esi, ecx
mov eax, 0x490
cmovne esi, eax
cmp dword [ebp - 0x38], 0
je 0x42df89
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x490
mov dword [ebp - 0x18], esi
cmp esi, eax
jne 0x42dfbd
xor eax, eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
jmp 0x42e864
test esi, esi
jne 0x42e8f0
lea ecx, [ebp - 0x24]
call fcn.00452350
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040a676
lea ecx, [ebp - 0x1c]
call fcn.0041b0f9
mov ecx, eax
call fcn.004093ea
push str.reg_sz
push dword [ebp - 0x1c]
call fcn.0045f9d3
pop ecx
pop ecx
test eax, eax
jne 0x42e004
mov dword [ebp - 0x28], 1
jmp 0x42e0b1
push str.reg_expand_sz
push dword [ebp - 0x1c]
call fcn.0045f9d3
pop ecx
pop ecx
test eax, eax
jne 0x42e023
mov dword [ebp - 0x28], 2
jmp 0x42e0b1
push str.reg_dword
push dword [ebp - 0x1c]
call fcn.0045f9d3
pop ecx
pop ecx
test eax, eax
jne 0x42e03f
mov dword [ebp - 0x28], 4
jmp 0x42e0b1
push str.reg_multi_sz
push dword [ebp - 0x1c]
call fcn.0045f9d3
pop ecx
pop ecx
test eax, eax
jne 0x42e05b
mov dword [ebp - 0x28], 7
jmp 0x42e0b1
push str.reg_multi_sz_add
push dword [ebp - 0x1c]
call fcn.0045f9d3
pop ecx
pop ecx
test eax, eax
jne 0x42e077
mov dword [ebp - 0x34], 1
jmp 0x42e052
push str.reg_multi_sz_rem
push dword [ebp - 0x1c]
call fcn.0045f9d3
pop ecx
pop ecx
test eax, eax
jne 0x42e093
mov dword [ebp - 0x34], 2
jmp 0x42e052
push str.reg_binary
push dword [ebp - 0x1c]
call fcn.0045f9d3
pop ecx
pop ecx
test eax, eax
jne 0x42e98c
mov dword [ebp - 0x28], 3
cmp byte [ebp - 0x88], 0
jne 0x42e10e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
xor ecx, ecx
push ecx
push ecx
lea ecx, [ebp - 0xc0]
push ecx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x42e114
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
jmp 0x42e942
mov dword [ebp - 0xc0], edi
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0xb8]
call fcn.0040951e
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0xbc]
call fcn.0040951e
mov esi, dword [ebp - 0x44]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xc4], esi
call fcn.0040951e
mov byte [ebp - 0xb4], bh
mov byte [ebp - 0xb3], 1
test bh, bh
je 0x42e19b
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0xc8]
push eax
push dword [ecx + 0x28]
lea ecx, [ecx + 0x28]
call fcn.00432b39
xor eax, eax
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
jmp 0x42e864
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x24]
call fcn.00451a90
jmp 0x42e1cd
lea ecx, [ebp - 0x48]
call fcn.00454f40
cmp eax, 3
je 0x42e1de
cmp eax, 4
je 0x42e1de
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x48]
call fcn.00452410
mov eax, dword [eax]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], eax
call fcn.00451320
test eax, eax
jne 0x42e1ac
lea ecx, [ebp - 0x48]
call fcn.004512f0
test al, al
jne 0x42e965
lea ecx, [ebp - 0x48]
call fcn.00454f60
push eax
lea ecx, [ebp - 0x14]
call fcn.0040a676
xor ebx, ebx
cmp byte [ebp - 0xd], bl
je 0x42e216
push dword [ebp - 0x74]
xor dl, dl
lea ecx, [ebp - 0x14]
push ebx
call fcn.0041f2ea
pop ecx
pop ecx
mov eax, dword [ebp - 0x28]
sub eax, 1
je 0x42e7c4
sub eax, 1
je 0x42e7c4
sub eax, 1
je 0x42e77e
sub eax, 1
je 0x42e72d
sub eax, 3
jne 0x42e68a
mov eax, dword [ebp - 0x34]
sub eax, ebx
je 0x42e6c0
sub eax, 1
je 0x42e25f
sub eax, 1
jne 0x42e68a
mov ecx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x7c], ebx
test ecx, ecx
je 0x42e695
xor edx, edx
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x4c], edx
je 0x42e2ba
cmp dword [0x4c27bc], 0
mov edx, 0x20019
mov eax, edx
je 0x42e297
mov eax, esi
or eax, edx
lea edx, [ebp - 0x38]
push edx
push eax
xor eax, eax
push eax
push dword [ebp - 0x4c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x42e38e
mov eax, dword [ebp - 0x38]
xor edx, edx
jmp 0x42e2bf
mov eax, ecx
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x3c]
push ecx
push edx
lea ecx, [ebp - 0x7c]
push ecx
push edx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x42e38e
mov eax, dword [ebp - 0x7c]
cmp eax, 7
je 0x42e2eb
push 0x32
pop esi
jmp 0x42e38e
sub eax, 1
je 0x42e2ff
sub eax, 1
je 0x42e2ff
sub eax, 5
jne 0x42e302
push 2
pop ebx
jmp 0x42e302
xor ebx, ebx
inc ebx
mov eax, dword [ebp - 0x3c]
lea esi, [ebx + ebx]
add eax, 2
add eax, esi
push eax
xor eax, eax
push eax
call fcn.0046d46a
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x42e322
push 8
jmp 0x42e2e5
mov eax, dword [ebp - 0x3c]
add eax, 2
mov dword [ebp - 0x50], edi
add eax, esi
xor esi, esi
push eax
push esi
push edi
call fcn.00457e10
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
push edi
lea eax, [ebp - 0x7c]
push eax
push esi
push dword [ebp - 0x54]
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x42e38e
cmp dword [ebp - 0x7c], 7
jne 0x42e2e3
test ebx, ebx
je 0x42e38e
mov eax, dword [ebp - 0x3c]
test al, 1
je 0x42e36b
inc eax
mov dword [ebp - 0x3c], eax
cmp eax, 2
jbe 0x42e384
xor ecx, ecx
cmp word [edi + eax - 2], cx
jne 0x42e384
sub eax, 2
mov dword [ebp - 0x3c], eax
cmp eax, 2
ja 0x42e372
test eax, eax
je 0x42e38e
lea eax, [eax + ebx*2]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x42e3a1
cmp eax, dword [ebp - 0x40]
je 0x42e3a1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x42e695
xor ebx, ebx
push 0xc
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
call fcn.0045620b
pop ecx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x60], ebx
call fcn.0040aaed
mov byte [ebp - 4], 0x2b
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x50]
shr eax, 1
mov byte [ebp - 0xd], bl
test ecx, ecx
jne 0x42e3ef
mov dword [ebp - 0x18], 0x57
jmp 0x42e5ac
lea ebx, [ecx + eax*2]
mov edi, ecx
cmp ecx, ebx
jae 0x42e44e
mov esi, edi
xor edx, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0x42e3ff
sub esi, ecx
sar esi, 1
je 0x42e444
push edi
lea ecx, [ebp - 0x8c]
call fcn.0040956c
mov byte [ebp - 4], 0x2c
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x68]
lea ecx, [ebp - 0x68]
call fcn.00423565
mov byte [ebp - 4], 0x2b
mov ecx, dword [ebp - 0x8c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
lea edi, [edi + esi*2]
add edi, 2
cmp edi, ebx
jb 0x42e3f8
xor eax, eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x60]
push eax
push 0x4aeb74
lea eax, [ebp - 0x84]
push eax
call fcn.0041b1e0
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x6c]
push eax
call fcn.0040951e
mov byte [ebp - 4], 0x2b
mov ecx, dword [ebp - 0x84]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
cmp dword [ebp - 0x60], 0xffffffff
je 0x42e5a6
mov edi, dword [ebp - 0x34]
xor eax, eax
mov byte [ebp - 0x2d], al
mov eax, dword [ebp - 0x68]
mov esi, dword [eax]
cmp esi, eax
je 0x42e51d
lea ebx, [esi + 8]
cmp dword [ebx], 0
je 0x42ea61
push dword [ebx]
push dword [ebp - 0x6c]
call fcn.0045f9d3
pop ecx
pop ecx
test eax, eax
jne 0x42e4ff
cmp dword [ebp - 0x34], 2
mov byte [ebp - 0x2d], 1
jne 0x42e4ff
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov dword [eax], edi
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
dec dword [ebp - 0x64]
mov dword [ebp - 0xdc], ebx
mov byte [ebp - 4], 0x2b
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.0040aacb
push 0xc
push esi
call fcn.00455cac
pop ecx
pop ecx
mov esi, edi
jmp 0x42e501
mov esi, dword [esi]
mov eax, dword [ebp - 0x68]
cmp esi, eax
jne 0x42e4a5
cmp byte [ebp - 0x2d], 0
mov edi, dword [ebp - 0x34]
je 0x42e51d
cmp edi, 2
jne 0x42e531
mov bl, 1
mov byte [ebp - 0xd], bl
jmp 0x42e534
cmp edi, 1
jne 0x42e531
lea ecx, [ebp - 0x6c]
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.00423565
jmp 0x42e516
mov bl, byte [ebp - 0xd]
lea eax, [ebp - 0x60]
push eax
push 0x4aeb74
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041b1e0
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x6c]
push eax
call fcn.0040951e
mov byte [ebp - 4], 0x2b
mov ecx, dword [ebp - 0x84]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
cmp dword [ebp - 0x60], 0xffffffff
jne 0x42e497
test bl, bl
je 0x42e5a9
xor eax, eax
lea edx, [ebp - 0x60]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call fcn.00422ce0
mov dword [ebp - 0x18], eax
pop ecx
test eax, eax
jne 0x42e5a9
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x54]
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x70], edi
jmp 0x42e5a9
mov bl, byte [ebp - 0xd]
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.0045f917
pop ecx
test bl, bl
jne 0x42e632
mov byte [ebp - 4], 0x2a
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 8
xor edx, edx
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx + 4]
mov dword [eax], edx
mov edi, dword [ecx]
test edi, edi
je 0x42e603
mov esi, dword [edi]
lea ecx, [edi + 8]
mov dword [ebp - 0xe0], ecx
mov byte [ebp - 4], 8
mov ecx, dword [ecx]
sub ecx, 0x10
call fcn.0040aacb
push 0xc
push edi
call fcn.00455cac
mov edi, esi
pop ecx
pop ecx
test esi, esi
jne 0x42e5da
push 0xc
push dword [ebp - 0x68]
call fcn.00455cac
pop ecx
pop ecx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
jmp 0x42e864
mov byte [ebp - 4], 0x2a
mov ecx, dword [ebp - 0x6c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 8
xor edx, edx
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx + 4]
mov dword [eax], edx
mov edi, dword [ecx]
test edi, edi
je 0x42e67e
mov esi, dword [edi]
lea ecx, [edi + 8]
mov dword [ebp - 0xe4], ecx
mov byte [ebp - 4], 8
mov ecx, dword [ecx]
sub ecx, 0x10
call fcn.0040aacb
push 0xc
push edi
call fcn.00455cac
mov edi, esi
pop ecx
pop ecx
test esi, esi
jne 0x42e655
push 0xc
push dword [ebp - 0x68]
call fcn.00455cac
pop ecx
pop ecx
mov ebx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x70]
jmp 0x42e805
cmp dword [ebp - 0x34], 2
jne 0x42e6be
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
jmp 0x42e864
xor ebx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
lea edi, [eax*2 + 4]
push edi
mov dword [ebp - 0x70], edi
call fcn.004640c6
mov esi, eax
mov dword [ebp - 0x78], esi
pop ecx
test esi, esi
je 0x42e91d
push edi
push ebx
push esi
call fcn.00457e10
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov edx, esi
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x42e6f4
mov ecx, edi
mov eax, ebx
shr ecx, 1
je 0x42e68a
cmp word [esi + eax*2], 0x23
jne 0x42e71e
xor edx, edx
mov word [esi + eax*2], dx
inc eax
cmp eax, ecx
jb 0x42e711
mov ebx, dword [ebp - 0x78]
mov esi, edi
jmp 0x42e805
push 4
pop esi
push esi
call fcn.004640c6
mov ebx, eax
pop ecx
test ebx, ebx
je 0x42e91d
push ebx
xor eax, eax
mov dword [ebx], eax
push 0x4aeb78
push dword [ebp - 0x14]
call fcn.0041bc16
add esp, 0xc
cmp eax, 1
je 0x42e805
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push str.REG_DWORD_number__s_of_value__s_is_invalid
call fcn.0041e1d8
add esp, 0xc
mov dword [ebp - 0x18], 0xd
jmp 0x42e914
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
push esi
call fcn.004640c6
mov ebx, eax
pop ecx
test ebx, ebx
je 0x42e91d
mov ecx, dword [ebp - 0x14]
mov edx, ebx
push esi
call fcn.004205d8
mov dword [ebp - 0x18], eax
pop ecx
test eax, eax
je 0x42e805
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push str.REG_BINARY_hex_string__s_of_value__s_is_invalid
call fcn.0041e1d8
add esp, 0xc
jmp 0x42e805
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
lea esi, [eax*2 + 2]
push esi
call fcn.004640c6
mov ebx, eax
pop ecx
test ebx, ebx
je 0x42e91d
push esi
xor eax, eax
push eax
push ebx
call fcn.00457e10
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov edx, ebx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x42e7f4
cmp dword [ebp - 0x18], 0
mov eax, ebx
jne 0x42e910
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x98], esi
mov esi, dword [ebp - 0x74]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xc8]
push eax
push dword [esi + 0x28]
lea ecx, [esi + 0x28]
call fcn.00432b39
xor eax, eax
mov dword [ebp - 0xc0], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + 4]
mov dword [eax + 0x2c], ebx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc8]
call fcn.00433724
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x24]
call fcn.00452410
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x24]
call fcn.00451320
test eax, eax
jne 0x42dd32
jmp 0x42e9f3
lea ecx, [ebp - 0x24]
call fcn.00452350
push eax
push esi
push str.Invalid_flag__s_in_node__s
call fcn.0041e1d8
add esp, 0xc
mov dword [ebp - 0x18], 0xd
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
jmp 0x42e942
mov dword [ebp - 0x18], 0x57
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
jmp 0x42e942
test eax, eax
je 0x42e924
push ebx
call fcn.0045f917
pop ecx
jmp 0x42e924
mov dword [ebp - 0x18], 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc8]
call fcn.00433724
jmp 0x42e9f3
mov dword [ebp - 0x18], 0xd
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
jmp 0x42e942
push dword [ebp - 0x1c]
push str.Unknown_registry_value_type_specified___s
call fcn.0041e1d8
pop ecx
pop ecx
mov dword [ebp - 0x18], 0x32
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
jmp 0x42e942
mov dword [ebp - 0x18], 0xd
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
jmp 0x42e942
mov dword [ebp - 0x18], 0x57
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x42ea0a
mov eax, ebx
shr eax, 0x1f
test al, al
jne 0x42ea0a
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x124]
call fcn.00433724
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x80]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.0040aacb
xor eax, eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x5c]
add ecx, 0xfffffff0
call fcn.0040aacb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.0041e740
mov eax, esi
call fcn.00456960
ret
push 0x80004005
call fcn.0040a70e
int3