Function at 0x42a283
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xec
mov eax, 0x469891
call fcn.00463b20
mov dword [ebp - 0x48], edx
mov edi, ecx
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
push str.ApplyXmlRegistryUpdate
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x14], ebx
call fcn.0041bb53
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x30]
call fcn.0043bcb0
call fcn.004068d0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00405f99
mov byte [ebp - 4], 2
call fcn.004068d0
push eax
lea ecx, [ebp - 0x50]
call fcn.00405f99
mov byte [ebp - 4], 4
call fcn.004068d0
push eax
lea ecx, [ebp - 0x58]
call fcn.00405f99
mov byte [ebp - 4], 6
xor esi, esi
lea ecx, [ebp - 0xec]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x44], esi
call fcn.0042f6ba
mov byte [ebp - 4], 7
xor eax, eax
mov ecx, edi
mov byte [ebp - 0x15], al
mov byte [ebp - 0xd], al
call fcn.0042ccc0
mov ecx, edi
call fcn.0043be00
test al, al
jne 0x42ae03
mov ecx, edi
call fcn.0043fba0
cmp eax, 2
jne 0x42ae03
mov ecx, edi
call fcn.0043cda0
mov esi, eax
mov ecx, esi
call fcn.004082a0
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.00408222
lea ecx, [ebp - 0x58]
call fcn.004185e2
mov ecx, eax
call fcn.0040751e
push str.regkey
push dword [ebp - 0x58]
call fcn.004496b9
pop ecx
pop ecx
test eax, eax
je 0x42a381
mov dword [ebp - 0x14], 0x57
jmp 0x42ae1e
mov ebx, str.path
lea eax, [ebp - 0x5c]
push ebx
push eax
mov ecx, edi
call fcn.0043c260
lea ecx, [ebp - 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
call fcn.0043be00
test al, al
je 0x42a3bc
push ebx
push str._s_attribute_is_mandatory_for_regkey_node
call fcn.0041b909
pop ecx
pop ecx
mov dword [ebp - 0x14], 0xd
jmp 0x42ae1e
lea ecx, [ebp - 0x30]
call fcn.0043fbc0
mov esi, eax
mov ecx, esi
call fcn.004082a0
push eax
push esi
lea ecx, [ebp - 0x4c]
call fcn.00408222
lea ecx, [ebp - 0x4c]
call fcn.004185e2
mov ecx, eax
call fcn.0040751e
mov eax, dword [ebp - 0x4c]
cmp dword [eax - 0xc], 0
jne 0x42a401
push ebx
push str._s_attribute_is_empty
call fcn.0041b909
pop ecx
pop ecx
jmp 0x42a375
push eax
push str.Processing_regkey_node:__s
call fcn.0041b909
pop ecx
pop ecx
push str.flags
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
call fcn.0043c260
lea ecx, [ebp - 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
call fcn.0043be10
test eax, eax
je 0x42a54a
lea ecx, [ebp - 0x30]
mov bl, 1
call fcn.0043fbc0
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x20]
call fcn.0041c376
mov esi, dword [ebp - 0x20]
push 9
push str.mustexist
push esi
call fcn.00454122
add esp, 0xc
test eax, eax
jne 0x42a471
add esi, 0x12
mov byte [ebp - 0x15], 1
mov dword [ebp - 0x20], esi
jmp 0x42a50e
push 2
push 0x479b74
push esi
call fcn.00454122
add esp, 0xc
test eax, eax
jne 0x42a493
add esi, 4
or edi, 0x200
mov dword [ebp - 0x20], esi
jmp 0x42a50e
push 2
push 0x479b7c
push esi
call fcn.00454122
add esp, 0xc
test eax, eax
jne 0x42a4b5
add esi, 4
or edi, 0x100
mov dword [ebp - 0x20], esi
jmp 0x42a50e
push 3
push 0x47d3dc
push esi
call fcn.00454122
add esp, 0xc
test eax, eax
jne 0x42a4ce
add esi, 6
jmp 0x42a4e5
push 4
push str.aimm
push esi
call fcn.00454122
add esp, 0xc
test eax, eax
jne 0x42a4ea
add esi, 8
mov dword [ebp - 0x20], esi
jmp 0x42a50e
push 6
push str.delete
push esi
call fcn.00454122
add esp, 0xc
test eax, eax
jne 0x42a50a
add esi, 0xc
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x20], esi
jmp 0x42a50e
xor eax, eax
mov bl, al
test bl, bl
jne 0x42a443
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x44], edi
call fcn.0041c376
mov eax, edi
mov ecx, 0x300
mov edi, dword [ebp - 0x1c]
and eax, ecx
cmp eax, ecx
je 0x42a3b0
mov eax, dword [ebp - 0x20]
xor esi, esi
cmp word [eax], si
je 0x42a54a
push eax
push str.Invalid_flag__s
jmp 0x42a3a9
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x54]
call fcn.0041ce65
mov ebx, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
pop ecx
test eax, eax
jne 0x42ae0a
mov esi, dword [ebp - 0x44]
cmp byte [ebp - 0x15], al
je 0x42a5a5
push esi
lea edx, [ebp - 0x50]
mov ecx, ebx
call fcn.0041cf36
mov dword [ebp - 0x14], eax
pop ecx
cmp eax, 0x490
jne 0x42a59b
push str.Attribure_mustexist_is_specified__but_the_destination_registry_key_is_missing__skipping
call fcn.0041b909
pop ecx
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x42ae0a
cmp dword [ebp - 0x14], 0
jne 0x42ae0a
mov eax, ebx
mov byte [ebp - 0xec], 1
shr eax, 0x1f
mov dword [ebp - 0x5c], eax
test al, al
jne 0x42a5e6
push 2
xor eax, eax
push eax
push eax
lea eax, [ebp - 0xe4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x42a5ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42a593
mov dword [ebp - 0xe4], ebx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0xdc]
call fcn.0040764f
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xe0]
call fcn.0040764f
mov al, byte [ebp - 0xd]
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xe8], esi
mov esi, dword [ebp - 0x48]
push ecx
mov byte [ebp - 0xd8], al
mov byte [ebp - 0xd7], 1
lea ecx, [esi + 0x28]
call fcn.0042e86d
xor eax, eax
mov dword [ebp - 0xe4], eax
cmp byte [ebp - 0xd], al
jne 0x42ae0a
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.0043c7a0
jmp 0x42aca9
xor ecx, ecx
mov byte [ebp - 0x15], cl
mov byte [ebp - 0xd], cl
mov byte [ebp - 0x31], cl
lea ecx, [ebp - 0x9c]
call fcn.0042f6ba
mov byte [ebp - 4], 8
xor eax, eax
lea ecx, [ebp - 0x3c]
call fcn.0043bcb0
call fcn.004068d0
push eax
lea ecx, [ebp - 0x28]
call fcn.00405f99
mov byte [ebp - 4], 0xa
call fcn.004068d0
push eax
lea ecx, [ebp - 0x24]
call fcn.00405f99
mov byte [ebp - 4], 0xc
call fcn.004068d0
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405f99
mov byte [ebp - 4], 0xe
xor eax, eax
lea ecx, [ebp - 0x20]
mov edi, eax
call fcn.0043fba0
cmp eax, 2
je 0x42a6ff
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x9c]
call fcn.0042fad2
jmp 0x42ac95
push esi
lea edx, [ebp - 0x3d]
lea ecx, [ebp - 0x20]
call fcn.00417a35
pop ecx
test eax, eax
je 0x42a730
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00406985
jmp 0x42a6dc
cmp byte [ebp - 0x3d], 0
jne 0x42a756
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00406985
jmp 0x42a6dc
push str.flags
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x20]
call fcn.0043c260
lea ecx, [ebp - 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
call fcn.0043be10
test eax, eax
je 0x42a81d
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x3e], 1
call fcn.0043fbc0
mov bl, byte [ebp - 0x3e]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x1c]
call fcn.0041c376
mov esi, dword [ebp - 0x1c]
push 9
push str.mustexist
push esi
call fcn.00454122
add esp, 0xc
test eax, eax
jne 0x42a7bc
add esi, 0x12
mov byte [ebp - 0x15], 1
mov dword [ebp - 0x1c], esi
jmp 0x42a800
push 6
push str.delete
push esi
call fcn.00454122
add esp, 0xc
test eax, eax
jne 0x42a7dc
add esi, 0xc
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x1c], esi
jmp 0x42a800
push 6
push str.expand
push esi
call fcn.00454122
add esp, 0xc
test eax, eax
jne 0x42a7fc
add esi, 0xc
mov byte [ebp - 0x31], 1
mov dword [ebp - 0x1c], esi
jmp 0x42a800
xor eax, eax
mov bl, al
test bl, bl
jne 0x42a791
mov ebx, dword [ebp - 0x54]
lea ecx, [ebp - 0x1c]
call fcn.0041c376
mov esi, dword [ebp - 0x1c]
xor eax, eax
cmp word [esi], ax
jne 0x42acbe
push str.name
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x20]
call fcn.0043c260
lea ecx, [ebp - 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
call fcn.0043be00
test al, al
jne 0x42add9
lea ecx, [ebp - 0x30]
call fcn.0043fbc0
mov esi, eax
mov ecx, esi
call fcn.004082a0
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00408222
lea ecx, [ebp - 0x28]
call fcn.004185e2
mov ecx, eax
call fcn.0040751e
cmp byte [ebp - 0x15], 0
je 0x42a924
xor edx, edx
mov ecx, 0x20019
mov dword [ebp - 0x1c], edx
mov eax, ecx
mov dword [ebp - 0x60], edx
test ebx, ebx
je 0x42acfc
cmp dword [0x48bf5c], edx
je 0x42a89e
mov eax, dword [ebp - 0x44]
or eax, ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
push edx
push dword [ebp - 0x50]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42a8b9
mov esi, 0x490
jmp 0x42a8da
lea eax, [ebp - 0x60]
push eax
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor esi, esi
test eax, eax
mov eax, 0x490
cmovne esi, eax
cmp dword [ebp - 0x1c], edi
je 0x42a8e8
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x490
mov dword [ebp - 0x14], esi
cmp esi, eax
jne 0x42a91c
xor eax, eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00406985
jmp 0x42ac74
test esi, esi
jne 0x42ad03
lea ecx, [ebp - 0x20]
call fcn.0043cda0
mov esi, eax
mov ecx, esi
call fcn.004082a0
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.00408222
lea ecx, [ebp - 0x24]
call fcn.004185e2
mov ecx, eax
call fcn.0040751e
push str.reg_sz
push dword [ebp - 0x24]
call fcn.004496b9
pop ecx
pop ecx
test eax, eax
jne 0x42a96a
mov dword [ebp - 0x1c], 1
jmp 0x42a9b5
push str.reg_expand_sz
push dword [ebp - 0x24]
call fcn.004496b9
pop ecx
pop ecx
test eax, eax
jne 0x42a981
push 2
jmp 0x42a9b1
push str.reg_dword
push dword [ebp - 0x24]
call fcn.004496b9
pop ecx
pop ecx
test eax, eax
jne 0x42a998
push 4
jmp 0x42a9b1
push str.reg_multi_sz
push dword [ebp - 0x24]
call fcn.004496b9
pop ecx
pop ecx
test eax, eax
jne 0x42ada3
push 7
pop eax
mov dword [ebp - 0x1c], eax
cmp byte [ebp - 0x5c], 0
jne 0x42aa0b
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor eax, eax
push 2
push eax
push eax
lea eax, [ebp - 0x94]
push eax
call esi
push eax
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x42aa11
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00406985
jmp 0x42ad59
mov dword [ebp - 0x94], ebx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x8c]
call fcn.0040764f
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x90]
call fcn.0040764f
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040764f
mov al, byte [ebp - 0xd]
mov byte [ebp - 0x88], al
mov byte [ebp - 0x87], 1
test al, al
je 0x42aa98
mov esi, dword [ebp - 0x48]
lea eax, [ebp - 0x9c]
push eax
lea ecx, [esi + 0x28]
call fcn.0042e86d
xor eax, eax
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00406985
jmp 0x42a6dc
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x20]
call fcn.0043c7a0
jmp 0x42aaca
lea ecx, [ebp - 0x3c]
call fcn.0043fba0
cmp eax, 3
je 0x42aadb
cmp eax, 4
je 0x42aadb
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0043ce30
mov eax, dword [eax]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
call fcn.0043be10
test eax, eax
jne 0x42aaa9
lea ecx, [ebp - 0x3c]
call fcn.0043be00
test al, al
jne 0x42ad7c
lea ecx, [ebp - 0x3c]
call fcn.0043fbc0
mov esi, eax
mov ecx, esi
call fcn.004082a0
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00408222
cmp byte [ebp - 0x31], 0
je 0x42ab1e
push dword [ebp - 0x48]
xor eax, eax
lea ecx, [ebp - 0x2c]
push eax
xor dl, dl
call fcn.0041c6b5
pop ecx
pop ecx
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x2c]
cmp eax, 2
jbe 0x42abdd
push 4
pop ecx
cmp eax, ecx
je 0x42aba5
cmp eax, 7
jne 0x42ac21
mov eax, dword [esi - 0xc]
lea eax, [eax*2 + 4]
push eax
mov dword [ebp - 0x38], eax
call fcn.00445d23
mov edi, eax
pop ecx
test edi, edi
je 0x42ad37
push dword [ebp - 0x38]
xor eax, eax
push eax
push edi
call fcn.00441660
mov edx, edi
add esp, 0xc
mov ecx, esi
sub edx, esi
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x42ab70
mov edx, dword [ebp - 0x38]
mov ecx, edx
shr ecx, 1
push 0
pop eax
je 0x42aba0
cmp word [edi + eax*2], 0x23
jne 0x42ab98
xor ebx, ebx
mov word [edi + eax*2], bx
inc eax
cmp eax, ecx
jb 0x42ab8b
mov ebx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x1c]
jmp 0x42ac23
push ecx
mov dword [ebp - 0x38], ecx
call fcn.00445d23
mov edi, eax
pop ecx
test edi, edi
je 0x42ad37
push edi
xor eax, eax
push str.__u
push esi
mov dword [edi], eax
call fcn.0041951f
add esp, 0xc
cmp eax, 1
jne 0x42ad23
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x38]
jmp 0x42ac23
mov eax, dword [esi - 0xc]
lea eax, [eax*2 + 2]
push eax
mov dword [ebp - 0x38], eax
call fcn.00445d23
mov edi, eax
pop ecx
test edi, edi
je 0x42ad37
push dword [ebp - 0x38]
xor eax, eax
push eax
push edi
call fcn.00441660
mov edx, edi
add esp, 0xc
mov ecx, esi
sub edx, esi
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x42ac10
jmp 0x42abd5
mov edx, edi
cmp dword [ebp - 0x14], 0
jne 0x42ad2a
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x9c]
push eax
mov dword [ebp - 0x6c], edx
lea ecx, [ecx + 0x28]
call fcn.0042e86d
mov ecx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x94], eax
mov eax, dword [ecx + 0x28]
mov eax, dword [eax + 4]
mov dword [eax + 0x2c], edi
mov byte [ebp - 4], 0xc
lea ecx, [esi - 0x10]
call fcn.00406985
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x9c]
call fcn.0042fad2
mov esi, dword [ebp - 0x48]
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x20]
call fcn.0043ce30
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x20]
call fcn.0043be10
test eax, eax
jne 0x42a653
jmp 0x42ae0a
lea ecx, [ebp - 0x20]
call fcn.0043cda0
push eax
push esi
push str.Invalid_flag__s_in_node__s
call fcn.0041b909
add esp, 0xc
mov dword [ebp - 0x14], 0xd
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00406985
jmp 0x42ad59
mov dword [ebp - 0x14], 0x57
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00406985
jmp 0x42ad59
mov dword [ebp - 0x14], 0xd
test edi, edi
je 0x42ad3e
push edi
call fcn.00445d2e
pop ecx
jmp 0x42ad3e
mov dword [ebp - 0x14], 8
mov byte [ebp - 4], 0xc
lea ecx, [esi - 0x10]
call fcn.00406985
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x9c]
call fcn.0042fad2
jmp 0x42ae0a
mov dword [ebp - 0x14], 0xd
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00406985
jmp 0x42ad59
push dword [ebp - 0x24]
push str.Unknown_registry_value_type_specified___s
call fcn.0041b909
pop ecx
pop ecx
mov dword [ebp - 0x14], 0x32
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00406985
jmp 0x42ad59
mov dword [ebp - 0x14], 0xd
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00406985
jmp 0x42ad59
mov dword [ebp - 0x14], 0x57
test ebx, ebx
je 0x42ae1e
mov eax, ebx
shr eax, 0x1f
test al, al
jne 0x42ae1e
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xec]
call fcn.0042fad2
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.00406985
xor eax, eax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.00406985
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf8]
call fcn.0041bbc1
mov eax, esi
call fcn.00463ae9
ret