Function at 0x42cefb
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x124
mov eax, 0x47fb35
call fcn.004542d2
mov dword [ebp - 0x70], edx
mov edi, ecx
mov dword [ebp - 0x80], edi
lea eax, [ebp - 0x18]
xor ebx, ebx
push eax
push str.ApplyXmlRegistryUpdate
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x18], ebx
call fcn.0041e3a4
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x2c]
call fcn.0044ebb0
lea ecx, [ebp - 0x58]
call fcn.0040aa2d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.0040aa2d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.0040aa2d
mov byte [ebp - 4], 3
mov esi, ebx
lea ecx, [ebp - 0x124]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x30], esi
call fcn.00432ba9
mov byte [ebp - 4], 4
xor eax, eax
mov ecx, edi
mov dword [ebp - 0x38], eax
mov bh, al
call fcn.0043001c
mov ecx, edi
call fcn.0044ece0
test al, al
jne 0x42dfdd
mov ecx, edi
call fcn.004528c0
cmp eax, 2
jne 0x42dfdd
mov ecx, edi
call fcn.0044fd40
push eax
lea ecx, [ebp - 0x7c]
call fcn.0040a5c2
lea ecx, [ebp - 0x7c]
call fcn.0041aee1
mov ecx, eax
call fcn.0040930a
push str.regkey
push dword [ebp - 0x7c]
call fcn.0045d493
pop ecx
pop ecx
test eax, eax
je 0x42cfdc
mov dword [ebp - 0x18], 0x57
jmp 0x42dffb
push str.path
lea eax, [ebp - 0x88]
mov ecx, edi
push eax
call fcn.0044f130
lea ecx, [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
call fcn.0044ece0
test al, al
je 0x42d01d
push str.path
push str._s_attribute_is_mandatory_for_regkey_node
call fcn.0041defb
pop ecx
pop ecx
mov dword [ebp - 0x18], 0xd
jmp 0x42dffb
lea ecx, [ebp - 0x2c]
call fcn.004528e0
push eax
lea ecx, [ebp - 0x58]
call fcn.0040a5c2
lea ecx, [ebp - 0x58]
call fcn.0041aee1
mov ecx, eax
call fcn.0040930a
mov eax, dword [ebp - 0x58]
cmp dword [eax - 0xc], 0
jne 0x42d05c
push str.path
push str._s_attribute_is_empty
call fcn.0041defb
pop ecx
pop ecx
jmp 0x42cfd0
push eax
push str.Processing_regkey_node:__s
call fcn.0041defb
pop ecx
pop ecx
push str.flags
lea eax, [ebp - 0x88]
mov ecx, edi
push eax
call fcn.0044f130
lea ecx, [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
call fcn.0044ed10
test eax, eax
je 0x42d19e
lea ecx, [ebp - 0x2c]
call fcn.004528e0
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x24]
call fcn.0041ecb7
mov esi, dword [ebp - 0x24]
push 9
push str.mustexist
push esi
call fcn.0046a3d9
add esp, 0xc
test eax, eax
jne 0x42d0c8
add esi, 0x12
mov bl, 1
mov dword [ebp - 0x24], esi
jmp 0x42d09f
push 2
push 0x49071c
push esi
call fcn.0046a3d9
add esp, 0xc
test eax, eax
jne 0x42d0ea
add esi, 4
or edi, 0x200
mov dword [ebp - 0x24], esi
jmp 0x42d09f
push 2
push 0x490724
push esi
call fcn.0046a3d9
add esp, 0xc
test eax, eax
jne 0x42d10c
add esi, 4
or edi, 0x100
mov dword [ebp - 0x24], esi
jmp 0x42d09f
push 3
push 0x493454
push esi
call fcn.0046a3d9
add esp, 0xc
test eax, eax
jne 0x42d125
add esi, 6
jmp 0x42d13c
push 4
push str.aimm
push esi
call fcn.0046a3d9
add esp, 0xc
test eax, eax
jne 0x42d144
add esi, 8
mov dword [ebp - 0x24], esi
jmp 0x42d09f
push 6
push str.delete
push esi
call fcn.0046a3d9
add esp, 0xc
test eax, eax
jne 0x42d165
add esi, 0xc
mov bh, 1
mov dword [ebp - 0x24], esi
jmp 0x42d09f
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x30], edi
call fcn.0041ecb7
mov esi, edi
mov ecx, 0x300
mov edi, dword [ebp - 0x80]
mov eax, esi
and eax, ecx
cmp eax, ecx
je 0x42d011
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov dword [ebp - 0x30], esi
cmp word [eax], cx
je 0x42d19e
push eax
push str.Invalid_flag__s
jmp 0x42d00a
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x3c]
call fcn.0041f781
mov dword [ebp - 0x18], eax
pop ecx
test eax, eax
jne 0x42dfe4
mov edx, 0x20019
test bl, bl
je 0x42d235
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x42dfdd
cmp dword [0x4a76e4], 0
je 0x42d1e1
mov eax, esi
or eax, edx
lea edx, [ebp - 0x48]
xor esi, esi
push edx
push eax
push esi
push dword [ebp - 0x50]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov eax, 0x490
cmovne esi, eax
cmp dword [ebp - 0x48], 0
je 0x42d211
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x490
mov dword [ebp - 0x18], esi
cmp esi, eax
jne 0x42d22d
push str.Attribure_mustexist_is_specified__but_the_destination_registry_key_is_missing__skipping
call fcn.0041defb
pop ecx
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x42dfe4
test esi, esi
jne 0x42dfe4
mov eax, dword [ebp - 0x3c]
mov ecx, eax
shr ecx, 0x1f
mov byte [ebp - 0x124], 1
mov dword [ebp - 0x88], ecx
test cl, cl
jne 0x42d280
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
push esi
push dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x42d286
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42d225
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x114]
call fcn.0040943e
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x118]
call fcn.0040943e
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x124]
mov esi, dword [ebp - 0x30]
push ecx
mov dword [ebp - 0x120], esi
push dword [eax + 0x28]
lea ecx, [eax + 0x28]
mov byte [ebp - 0x110], bh
mov byte [ebp - 0x10f], 1
call fcn.004320e0
xor eax, eax
mov dword [ebp - 0x11c], eax
test bh, bh
jne 0x42dfe4
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.0044f6c0
jmp 0x42dd0e
xor eax, eax
lea ecx, [ebp - 0xc8]
mov bl, al
mov byte [ebp - 0xd], al
mov bh, al
call fcn.00432ba9
mov byte [ebp - 4], 5
xor edi, edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x48], edi
call fcn.0044ebb0
lea ecx, [ebp - 0x20]
call fcn.0040aa2d
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.0040aa2d
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.0040aa2d
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x80], edi
call fcn.004528c0
cmp eax, 2
je 0x42d36b
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
jmp 0x42dcdc
push dword [ebp - 0x70]
lea edx, [ebp - 0x51]
lea ecx, [ebp - 0x24]
call fcn.0041a8a0
pop ecx
test eax, eax
je 0x42d3a1
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
jmp 0x42dcdc
cmp byte [ebp - 0x51], 0
jne 0x42d3ca
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
jmp 0x42dcdc
push str.flags
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x24]
call fcn.0044f130
lea ecx, [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
call fcn.0044ed10
test eax, eax
je 0x42d484
lea ecx, [ebp - 0x2c]
call fcn.004528e0
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x28]
call fcn.0041ecb7
mov esi, dword [ebp - 0x28]
push 9
push str.mustexist
push esi
call fcn.0046a3d9
add esp, 0xc
test eax, eax
jne 0x42d427
add esi, 0x12
mov bl, 1
mov dword [ebp - 0x28], esi
jmp 0x42d3fe
push 6
push str.delete
push esi
call fcn.0046a3d9
add esp, 0xc
test eax, eax
jne 0x42d445
add esi, 0xc
mov bh, 1
mov dword [ebp - 0x28], esi
jmp 0x42d3fe
push 6
push str.expand
push esi
call fcn.0046a3d9
add esp, 0xc
test eax, eax
jne 0x42d465
add esi, 0xc
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x28], esi
jmp 0x42d3fe
lea ecx, [ebp - 0x28]
call fcn.0041ecb7
mov al, byte [ebp - 0xd]
mov esi, dword [ebp - 0x28]
mov byte [ebp - 0xd], al
xor eax, eax
cmp word [esi], ax
jne 0x42de9c
mov esi, dword [ebp - 0x30]
push str.name
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x24]
call fcn.0044f130
lea ecx, [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
call fcn.0044ece0
test al, al
jne 0x42dfb3
lea ecx, [ebp - 0x2c]
call fcn.004528e0
push eax
lea ecx, [ebp - 0x20]
call fcn.0040a5c2
lea ecx, [ebp - 0x20]
call fcn.0041aee1
mov ecx, eax
call fcn.0040930a
test bl, bl
je 0x42d5a8
xor ecx, ecx
mov edx, 0x20019
mov dword [ebp - 0x40], ecx
mov eax, edx
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x42deda
cmp dword [0x4a76e4], 0
je 0x42d4fc
mov eax, esi
or eax, edx
lea edx, [ebp - 0x40]
push edx
push eax
xor eax, eax
push eax
push dword [ebp - 0x50]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42d519
mov esi, 0x490
jmp 0x42d53c
lea eax, [ebp - 0x6c]
push eax
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x40]
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 - 0x40], 0
je 0x42d54b
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x490
mov dword [ebp - 0x18], esi
cmp esi, eax
jne 0x42d5a0
xor eax, eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc8]
call fcn.00432daa
mov esi, dword [ebp - 0x30]
jmp 0x42dcfa
test esi, esi
jne 0x42dee1
lea ecx, [ebp - 0x24]
call fcn.0044fd40
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040a5c2
lea ecx, [ebp - 0x1c]
call fcn.0041aee1
mov ecx, eax
call fcn.0040930a
push str.reg_sz
push dword [ebp - 0x1c]
call fcn.0045d493
pop ecx
pop ecx
test eax, eax
jne 0x42d5e7
mov dword [ebp - 0x28], 1
jmp 0x42d694
push str.reg_expand_sz
push dword [ebp - 0x1c]
call fcn.0045d493
pop ecx
pop ecx
test eax, eax
jne 0x42d606
mov dword [ebp - 0x28], 2
jmp 0x42d694
push str.reg_dword
push dword [ebp - 0x1c]
call fcn.0045d493
pop ecx
pop ecx
test eax, eax
jne 0x42d622
mov dword [ebp - 0x28], 4
jmp 0x42d694
push str.reg_multi_sz
push dword [ebp - 0x1c]
call fcn.0045d493
pop ecx
pop ecx
test eax, eax
jne 0x42d63e
mov dword [ebp - 0x28], 7
jmp 0x42d694
push str.reg_multi_sz_add
push dword [ebp - 0x1c]
call fcn.0045d493
pop ecx
pop ecx
test eax, eax
jne 0x42d65a
mov dword [ebp - 0x38], 1
jmp 0x42d635
push str.reg_multi_sz_rem
push dword [ebp - 0x1c]
call fcn.0045d493
pop ecx
pop ecx
test eax, eax
jne 0x42d676
mov dword [ebp - 0x38], 2
jmp 0x42d635
push str.reg_binary
push dword [ebp - 0x1c]
call fcn.0045d493
pop ecx
pop ecx
test eax, eax
jne 0x42df7d
mov dword [ebp - 0x28], 3
cmp byte [ebp - 0x88], 0
jne 0x42d6f3
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 dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x42d6fc
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.0040aa0b
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
jmp 0x42df33
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xb8]
call fcn.0040943e
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xbc]
call fcn.0040943e
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xc4], esi
call fcn.0040943e
mov byte [ebp - 0xb4], bh
mov byte [ebp - 0xb3], 1
test bh, bh
je 0x42d783
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0xc8]
push eax
push dword [ecx + 0x28]
lea ecx, [ecx + 0x28]
call fcn.004320e0
xor eax, eax
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
jmp 0x42dcdc
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x24]
call fcn.0044f6c0
jmp 0x42d7b5
lea ecx, [ebp - 0x4c]
call fcn.004528c0
cmp eax, 3
je 0x42d7c6
cmp eax, 4
je 0x42d7c6
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0044fdd0
mov eax, dword [eax]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], eax
call fcn.0044ed10
test eax, eax
jne 0x42d794
lea ecx, [ebp - 0x4c]
call fcn.0044ece0
test al, al
jne 0x42df56
lea ecx, [ebp - 0x4c]
call fcn.004528e0
push eax
lea ecx, [ebp - 0x14]
call fcn.0040a5c2
cmp byte [ebp - 0xd], 0
je 0x42d7ff
push dword [ebp - 0x70]
xor eax, eax
lea ecx, [ebp - 0x14]
push eax
xor dl, dl
call fcn.0041efbe
pop ecx
pop ecx
mov eax, dword [ebp - 0x28]
sub eax, 1
je 0x42de4f
sub eax, 1
je 0x42de4f
sub eax, 1
je 0x42de02
sub eax, 1
je 0x42ddb1
sub eax, 3
jne 0x42dc77
mov eax, dword [ebp - 0x38]
xor edx, edx
sub eax, edx
je 0x42dd4c
sub eax, 1
je 0x42d84a
sub eax, 1
jne 0x42de95
mov ecx, dword [ebp - 0x3c]
mov ebx, edx
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x78], edx
test ecx, ecx
je 0x42dd26
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x50], edx
je 0x42d8a4
mov edx, 0x20019
mov eax, edx
cmp dword [0x4a76e4], ebx
je 0x42d881
mov eax, esi
or eax, edx
lea edx, [ebp - 0x40]
push edx
push eax
xor eax, eax
push eax
push dword [ebp - 0x50]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x42d978
mov eax, dword [ebp - 0x40]
xor edx, edx
jmp 0x42d8a9
mov eax, ecx
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x44]
push ecx
push edx
lea ecx, [ebp - 0x78]
push ecx
push edx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x42d978
mov eax, dword [ebp - 0x78]
cmp eax, 7
je 0x42d8d5
push 0x32
pop esi
jmp 0x42d978
sub eax, 1
je 0x42d8e9
sub eax, 1
je 0x42d8e9
sub eax, 5
jne 0x42d8ec
push 2
pop ebx
jmp 0x42d8ec
xor ebx, ebx
inc ebx
mov eax, dword [ebp - 0x44]
lea esi, [ebx + ebx]
add eax, 2
add eax, esi
push eax
xor eax, eax
push eax
call fcn.0046af2a
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x42d90c
push 8
jmp 0x42d8cf
mov eax, dword [ebp - 0x44]
add eax, 2
mov dword [ebp - 0x74], edi
add eax, esi
xor esi, esi
push eax
push esi
push edi
call fcn.004557e0
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
push edi
lea eax, [ebp - 0x78]
push eax
push esi
push dword [ebp - 0x6c]
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x42d978
cmp dword [ebp - 0x78], 7
jne 0x42d8cd
test ebx, ebx
je 0x42d978
mov eax, dword [ebp - 0x44]
test al, 1
je 0x42d955
inc eax
mov dword [ebp - 0x44], eax
cmp eax, 2
jbe 0x42d96e
xor ecx, ecx
cmp word [edi + eax - 2], cx
jne 0x42d96e
sub eax, 2
mov dword [ebp - 0x44], eax
cmp eax, 2
ja 0x42d95c
test eax, eax
je 0x42d978
lea eax, [eax + ebx*2]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x42d98b
cmp eax, dword [ebp - 0x3c]
je 0x42d98b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x42dd23
xor ebx, ebx
push 0xc
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call fcn.00453ca3
pop ecx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x5c], ebx
call fcn.0040aa2d
mov byte [ebp - 4], 0x2b
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x74]
shr eax, 1
mov byte [ebp - 0xd], bl
test ecx, ecx
jne 0x42d9d9
mov dword [ebp - 0x18], 0x57
jmp 0x42db96
lea ebx, [ecx + eax*2]
mov edi, ecx
cmp ecx, ebx
jae 0x42da38
mov esi, edi
xor edx, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0x42d9e9
sub esi, ecx
sar esi, 1
je 0x42da2e
push edi
lea ecx, [ebp - 0x8c]
call fcn.0040948c
mov byte [ebp - 4], 0x2c
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x64]
lea ecx, [ebp - 0x64]
call fcn.00423104
mov byte [ebp - 4], 0x2b
mov ecx, dword [ebp - 0x8c]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
lea edi, [edi + esi*2]
add edi, 2
cmp edi, ebx
jb 0x42d9e2
xor eax, eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x5c]
push eax
push 0x4941e4
lea eax, [ebp - 0x84]
push eax
call fcn.0041afc8
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x68]
push eax
call fcn.0040943e
mov byte [ebp - 4], 0x2b
mov ecx, dword [ebp - 0x84]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
cmp dword [ebp - 0x5c], 0xffffffff
je 0x42db90
mov edi, dword [ebp - 0x38]
xor eax, eax
mov byte [ebp - 0x31], al
mov eax, dword [ebp - 0x64]
mov esi, dword [eax]
cmp esi, eax
je 0x42db07
lea ebx, [esi + 8]
cmp dword [ebx], 0
je 0x42e052
push dword [ebx]
push dword [ebp - 0x68]
call fcn.0045d493
pop ecx
pop ecx
test eax, eax
jne 0x42dae9
cmp dword [ebp - 0x38], 2
mov byte [ebp - 0x31], 1
jne 0x42dae9
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 - 0x60]
mov dword [ebp - 0xdc], ebx
mov byte [ebp - 4], 0x2b
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.0040aa0b
push 0xc
push esi
call fcn.0045361b
pop ecx
pop ecx
mov esi, edi
jmp 0x42daeb
mov esi, dword [esi]
mov eax, dword [ebp - 0x64]
cmp esi, eax
jne 0x42da8f
cmp byte [ebp - 0x31], 0
mov edi, dword [ebp - 0x38]
je 0x42db07
cmp edi, 2
jne 0x42db1b
mov bl, 1
mov byte [ebp - 0xd], bl
jmp 0x42db1e
cmp edi, 1
jne 0x42db1b
lea ecx, [ebp - 0x68]
push ecx
push eax
lea ecx, [ebp - 0x64]
call fcn.00423104
jmp 0x42db00
mov bl, byte [ebp - 0xd]
lea eax, [ebp - 0x5c]
push eax
push 0x4941e4
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041afc8
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x68]
push eax
call fcn.0040943e
mov byte [ebp - 4], 0x2b
mov ecx, dword [ebp - 0x84]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
cmp dword [ebp - 0x5c], 0xffffffff
jne 0x42da81
test bl, bl
je 0x42db93
xor eax, eax
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
call fcn.0042287f
mov dword [ebp - 0x18], eax
pop ecx
test eax, eax
jne 0x42db93
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x48], eax
jmp 0x42db93
mov bl, byte [ebp - 0xd]
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.0045d3d7
pop ecx
test bl, bl
jne 0x42dc1c
mov byte [ebp - 4], 0x2a
mov ecx, dword [ebp - 0x68]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 8
xor edx, edx
mov ecx, dword [ebp - 0x64]
mov eax, dword [ecx + 4]
mov dword [eax], edx
mov edi, dword [ecx]
test edi, edi
je 0x42dbed
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.0040aa0b
push 0xc
push edi
call fcn.0045361b
mov edi, esi
pop ecx
pop ecx
test esi, esi
jne 0x42dbc4
push 0xc
push dword [ebp - 0x64]
call fcn.0045361b
pop ecx
pop ecx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
jmp 0x42d57a
mov byte [ebp - 4], 0x2a
mov ecx, dword [ebp - 0x68]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 8
xor edx, edx
mov ecx, dword [ebp - 0x64]
mov eax, dword [ecx + 4]
mov dword [eax], edx
mov edi, dword [ecx]
test edi, edi
je 0x42dc68
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.0040aa0b
push 0xc
push edi
call fcn.0045361b
mov edi, esi
pop ecx
pop ecx
test esi, esi
jne 0x42dc3f
push 0xc
push dword [ebp - 0x64]
call fcn.0045361b
mov edi, dword [ebp - 0x80]
pop ecx
pop ecx
mov ebx, dword [ebp - 0x48]
cmp dword [ebp - 0x18], 0
mov eax, edi
jne 0x42df01
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x98], ebx
mov ebx, dword [ebp - 0x70]
mov dword [ebp - 0xa0], eax
add ebx, 0x28
lea eax, [ebp - 0xc8]
mov ecx, ebx
push eax
push dword [ebx]
call fcn.004320e0
xor eax, eax
mov dword [ebp - 0xc0], eax
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [eax + 0x2c], edi
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc8]
call fcn.00432daa
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x24]
call fcn.0044fdd0
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x24]
call fcn.0044ed10
test eax, eax
jne 0x42d2ef
jmp 0x42dfe4
mov esi, dword [ebp - 0x30]
cmp dword [ebp - 0x38], 2
jne 0x42dd4c
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
jmp 0x42dcdc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
lea ebx, [eax*2 + 4]
push ebx
call fcn.00461b84
mov edi, eax
pop ecx
test edi, edi
je 0x42df0e
push ebx
xor eax, eax
push eax
push edi
call fcn.004557e0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov edx, edi
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x42dd7c
mov ecx, ebx
shr ecx, 1
push 0
pop eax
je 0x42dc7a
cmp word [edi + eax*2], 0x23
jne 0x42dda7
xor edx, edx
mov word [edi + eax*2], dx
inc eax
cmp eax, ecx
jb 0x42dd9a
jmp 0x42dc7a
push 4
pop ebx
push ebx
call fcn.00461b84
mov edi, eax
pop ecx
test edi, edi
je 0x42df0e
push edi
xor eax, eax
mov dword [edi], eax
push 0x4941e8
push dword [ebp - 0x14]
call fcn.0041b9fe
add esp, 0xc
cmp eax, 1
je 0x42dc7a
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push str.REG_DWORD_number__s_of_value__s_is_invalid
call fcn.0041defb
add esp, 0xc
mov dword [ebp - 0x18], 0xd
jmp 0x42df05
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
push ebx
call fcn.00461b84
mov edi, eax
pop ecx
test edi, edi
je 0x42df0e
mov ecx, dword [ebp - 0x14]
mov edx, edi
push ebx
call fcn.004201fb
mov dword [ebp - 0x18], eax
pop ecx
test eax, eax
je 0x42dc89
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push str.REG_BINARY_hex_string__s_of_value__s_is_invalid
call fcn.0041defb
add esp, 0xc
jmp 0x42dc7a
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
lea ebx, [eax*2 + 2]
push ebx
call fcn.00461b84
mov edi, eax
pop ecx
test edi, edi
je 0x42df0e
push ebx
xor eax, eax
push eax
push edi
call fcn.004557e0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov edx, edi
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x42de7f
jmp 0x42dc7a
mov ebx, edx
jmp 0x42dc7a
lea ecx, [ebp - 0x24]
call fcn.0044fd40
push eax
push esi
push str.Invalid_flag__s_in_node__s
call fcn.0041defb
add esp, 0xc
mov dword [ebp - 0x18], 0xd
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
jmp 0x42df33
mov dword [ebp - 0x18], 0x57
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
jmp 0x42df33
test eax, eax
je 0x42df15
push edi
call fcn.0045d3d7
pop ecx
jmp 0x42df15
mov dword [ebp - 0x18], 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc8]
call fcn.00432daa
jmp 0x42dfe4
mov dword [ebp - 0x18], 0xd
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
jmp 0x42df33
push dword [ebp - 0x1c]
push str.Unknown_registry_value_type_specified___s
call fcn.0041defb
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.0040aa0b
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
jmp 0x42df33
mov dword [ebp - 0x18], 0xd
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
jmp 0x42df33
mov dword [ebp - 0x18], 0x57
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x42dffb
mov eax, ebx
shr eax, 0x1f
test al, al
jne 0x42dffb
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.00432daa
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x7c]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.0040aa0b
xor eax, eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x58]
add ecx, 0xfffffff0
call fcn.0040aa0b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.0041e418
mov eax, esi
call fcn.004542a0
ret
push 0x80004005
call fcn.0040a64c
int3