Function at 0x45c970
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525a28
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x595cb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x45c9b2
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
mov ecx, ebx
push str.keyParent
call fcn.00438d70
cmp eax, 0x59c858
je 0x45d8e8
mov al, byte [ebx + 8]
test al, al
je 0x45ca00
cmp al, 7
je 0x45ca00
push 0x42b
push 0x56ef58
push str.type___nullValue__type___objectValue
call fcn.00508598
add esp, 0xc
mov al, byte [ebx + 8]
test al, al
jne 0x45ca0e
mov ecx, 0x59c858
jmp 0x45ca44
mov esi, dword [ebx]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x58], str.keyParent
push eax
mov ecx, esi
mov dword [ebp - 0x54], 0
call fcn.004390f0
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x45ca3a
mov ecx, 0x59c858
jmp 0x45ca3d
lea ecx, [eax + 0x18]
mov byte [ebp - 4], 0
mov al, byte [ebx + 8]
cmp byte [ecx + 8], 4
jne 0x45d8e8
test al, al
je 0x45ca6d
cmp al, 7
je 0x45ca6d
push 0x42b
push 0x56ef58
push str.type___nullValue__type___objectValue
call fcn.00508598
add esp, 0xc
cmp byte [ebx + 8], 0
jne 0x45ca7a
mov esi, 0x59c858
jmp 0x45caad
mov esi, dword [ebx]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x50], str.keyParent
push eax
mov ecx, esi
mov dword [ebp - 0x4c], 0
call fcn.004390f0
mov eax, dword [eax]
cmp eax, dword [esi]
jne 0x45caa6
mov esi, 0x59c858
jmp 0x45caa9
lea esi, [eax + 0x18]
mov byte [ebp - 4], 0
cmp byte [esi + 8], 4
je 0x45caca
push 0x2a9
push 0x56ef58
push str.type___stringValue
call fcn.00508598
add esp, 0xc
mov edi, dword [esi]
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x45cae1
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 9
test edi, edi
je 0x45cb16
test edi, 0xffff0000
jne 0x45cb16
movzx edi, di
mov ecx, edi
call fcn.0041f3d0
test eax, eax
je 0x45cb22
push edi
push eax
lea ecx, [ebp - 0x10]
call fcn.0041fbd0
jmp 0x45cb1f
push edi
lea ecx, [ebp - 0x10]
call fcn.0041fa30
mov esi, dword [ebp - 0x10]
push str.keyName
mov ecx, ebx
mov byte [ebp - 4], 0xa
call fcn.00438d70
cmp eax, 0x59c858
je 0x45d7da
mov al, byte [ebx + 8]
test al, al
je 0x45cb5f
cmp al, 7
je 0x45cb5f
push 0x42b
push 0x56ef58
push str.type___nullValue__type___objectValue
call fcn.00508598
add esp, 0xc
cmp byte [ebx + 8], 0
jne 0x45cb6c
mov eax, 0x59c858
jmp 0x45cb9f
mov edi, dword [ebx]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp + 8]
mov dword [ebp - 0x50], str.keyName
push eax
mov ecx, edi
mov dword [ebp - 0x4c], 0
call fcn.004390f0
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x45cb98
mov eax, 0x59c858
jmp 0x45cb9b
add eax, 0x18
mov byte [ebp - 4], 0xa
cmp byte [eax + 8], 4
jne 0x45d7da
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x45cbbe
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x11
mov al, byte [ebx + 8]
test al, al
je 0x45cbef
cmp al, 7
je 0x45cbef
push 0x42b
push 0x56ef58
push str.type___nullValue__type___objectValue
call fcn.00508598
add esp, 0xc
cmp byte [ebx + 8], 0
jne 0x45cbfc
mov edi, 0x59c858
jmp 0x45cc2f
mov edi, dword [ebx]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x48], str.keyName
push eax
mov ecx, edi
mov dword [ebp - 0x44], 0
call fcn.004390f0
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x45cc28
mov edi, 0x59c858
jmp 0x45cc2b
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x11
cmp byte [edi + 8], 4
je 0x45cc4c
push 0x2a9
push 0x56ef58
push str.type___stringValue
call fcn.00508598
add esp, 0xc
mov edx, dword [edi]
test edx, edx
jne 0x45cc56
xor ecx, ecx
jmp 0x45cc69
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45cc60
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x18]
call fcn.0042cb10
lea edx, [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.0042c0f0
push 0x56de40
push 0x571f34
lea ecx, [ebp + 8]
call fcn.00421760
push str.valueName
mov ecx, ebx
call fcn.00438d70
cmp eax, 0x59c858
je 0x45d6aa
mov al, byte [ebx + 8]
test al, al
je 0x45ccc9
cmp al, 7
je 0x45ccc9
push 0x42b
push 0x56ef58
push str.type___nullValue__type___objectValue
call fcn.00508598
add esp, 0xc
cmp byte [ebx + 8], 0
jne 0x45ccd6
mov eax, 0x59c858
jmp 0x45cd09
mov edi, dword [ebx]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x48], str.valueName
push eax
mov ecx, edi
mov dword [ebp - 0x44], 0
call fcn.004390f0
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x45cd02
mov eax, 0x59c858
jmp 0x45cd05
add eax, 0x18
mov byte [ebp - 4], 0x11
cmp byte [eax + 8], 4
jne 0x45d6aa
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x45cd28
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x1a
mov al, byte [ebx + 8]
test al, al
je 0x45cd59
cmp al, 7
je 0x45cd59
push 0x42b
push 0x56ef58
push str.type___nullValue__type___objectValue
call fcn.00508598
add esp, 0xc
cmp byte [ebx + 8], 0
jne 0x45cd66
mov edi, 0x59c858
jmp 0x45cd99
mov edi, dword [ebx]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x48], str.valueName
push eax
mov ecx, edi
mov dword [ebp - 0x44], 0
call fcn.004390f0
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x45cd92
mov edi, 0x59c858
jmp 0x45cd95
lea edi, [eax + 0x18]
mov byte [ebp - 4], 0x1a
cmp byte [edi + 8], 4
je 0x45cdb6
push 0x2a9
push 0x56ef58
push str.type___stringValue
call fcn.00508598
add esp, 0xc
mov edx, dword [edi]
test edx, edx
jne 0x45cdc0
xor ecx, ecx
jmp 0x45cdce
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45cdc5
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x18]
call fcn.0042cb10
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x18]
call fcn.0042c0f0
push ecx
lea eax, [esi - 0x10]
mov edi, esp
mov ecx, eax
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x24], eax
call fcn.0041fb10
add eax, 0x10
mov dword [edi], eax
call fcn.0042b920
add esp, 4
test eax, eax
jne 0x45cf5d
push str.undefined_keyParent_error
lea ecx, [ebp - 0x20]
call fcn.0041f870
push str.readRegistry
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x1d
call fcn.0041f910
mov byte [ebp - 4], 0x1e
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x45ce42
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x1f
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x28]
call fcn.00420f70
add esp, 4
mov ecx, eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x20
cmp dword [eax + 0xc], 0
je 0x45ce82
push 2
push ecx
lea ecx, [ebp + 0xc]
add eax, 8
push ecx
push eax
call fcn.004210a0
mov byte [ebp - 4], 0x1f
or ebx, 0xffffffff
mov edx, dword [ebp - 0x28]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45cea3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1e
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45cebe
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1d
mov eax, ebx
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45cedc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1a
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45cefa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x11
mov eax, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45cf18
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45cf36
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d7d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or ebx, 0xffffffff
jmp 0x45d9d2
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
push 0x20019
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x64]
mov edi, dword [ebp + 8]
push edi
push eax
call fcn.0042b000
mov esi, eax
mov dword [ebp - 0x4c], esi
test esi, esi
je 0x45d2d9
or ebx, 0xffffffff
cmp esi, 2
je 0x45d150
push 0x56d0dc
lea ecx, [ebp - 0x28]
call fcn.0041f910
push 0x56d0dc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x22
call fcn.0041f910
push str.ReadRegOpenKey
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x23
call fcn.0041f910
lea ecx, [ebp - 0x44]
call fcn.00420390
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x25
push ecx
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.00420f70
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x26
push ecx
mov edx, eax
lea ecx, [ebp - 0x3c]
call fcn.00420f70
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x27
push ecx
mov edx, eax
lea ecx, [ebp - 0x38]
call fcn.00420f70
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x28
push ecx
mov edx, eax
lea ecx, [ebp - 0x34]
call fcn.00420f70
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x29
push ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00420f70
add esp, 0x14
mov edx, esi
mov byte [ebp - 4], 0x2a
mov ecx, eax
call fcn.00422050
mov byte [ebp - 4], 0x29
mov eax, ebx
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d060
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x28
mov eax, ebx
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d07e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x27
mov eax, ebx
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d09c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x26
mov eax, ebx
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d0ba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x25
mov eax, ebx
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d0d8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x24
mov eax, ebx
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d0f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x23
mov eax, ebx
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d114
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x22
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d132
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x21
mov eax, ebx
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d150
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Open_error
lea ecx, [ebp - 0x28]
call fcn.0041f870
push str.readRegistry
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x2b
call fcn.0041f910
mov byte [ebp - 4], 0x2c
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x45d187
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x2d
push eax
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x3c]
call fcn.00420f70
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x40]
push dword [ebp - 0x4c]
mov edx, eax
call fcn.00420ee0
add esp, 8
mov ecx, eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x2f
cmp dword [eax + 0xc], 0
je 0x45d1d8
push 2
push ecx
lea ecx, [ebp + 0xc]
add eax, 8
push ecx
push eax
call fcn.004210a0
mov byte [ebp - 4], 0x2e
mov eax, ebx
mov edx, dword [ebp - 0x40]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d1f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2d
mov eax, ebx
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d214
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2c
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45d22f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2b
mov eax, ebx
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d24d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x21
mov eax, ebx
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d26b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x45d279
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d297
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov byte [ebp - 4], 0xa
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x45d2b2
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d7d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or ebx, 0xffffffff
jmp 0x45d9d2
mov dword [ebp - 0x2c], 0
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x45d2f5
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x30], esi
xor ecx, ecx
mov byte [ebp - 4], 0x30
mov eax, 0x1fffff
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004f45af
push 0x3ffffe
push 0
push eax
mov dword [ebp - 0x20], eax
call fcn.004f9110
mov ebx, dword [ebp - 0x1c]
lea eax, [ebp - 0x4c]
add esp, 0x10
mov dword [ebp - 0x4c], 4
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push ebx
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45d37c
cmp dword [ebp - 0x44], 4
jne 0x45d37c
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x45d64c
mov eax, 0x16
mov word [ecx], ax
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 8], eax
jmp 0x45d64c
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x3ffffe
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x4c]
push eax
push 0
push ebx
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45d3ca
mov eax, dword [ebp - 0x4c]
cmp eax, 1
je 0x45d3ab
cmp eax, 2
jne 0x45d3ca
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
test edx, edx
je 0x45d3e8
test ecx, ecx
je 0x45d3e3
test cl, 1
jne 0x45d3ca
mov eax, ecx
shr eax, 1
cmp word [edx + eax*2 - 2], 0
je 0x45d3e8
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x45d524
push 0x80004005
call fcn.0041f2a0
xor eax, eax
mov word [edx], ax
shr ecx, 1
xor eax, eax
mov word [edx + ecx*2], ax
test edx, edx
jne 0x45d3f8
xor ecx, ecx
jmp 0x45d40f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d400
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.0041fd40
mov esi, dword [ebp - 0x30]
mov ecx, str.true
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45d449
test dx, dx
je 0x45d445
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45d449
add eax, 4
add ecx, 4
test dx, dx
jne 0x45d423
xor eax, eax
jmp 0x45d44e
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
jne 0x45d4c7
mov ecx, str.false
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45d486
test dx, dx
je 0x45d482
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45d486
add eax, 4
add ecx, 4
test dx, dx
jne 0x45d460
xor eax, eax
jmp 0x45d48b
sbb eax, eax
or eax, 1
test eax, eax
sete al
test al, al
jne 0x45d4c7
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x45d64c
mov ecx, 8
mov word [eax], cx
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov ecx, eax
test ecx, ecx
jne 0x45d4bc
call fcn.0041fd30
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], ecx
jmp 0x45d64c
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x45d64c
mov ecx, 0xb
mov word [eax], cx
mov ecx, str.true
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45d507
test dx, dx
je 0x45d503
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45d507
add eax, 4
add ecx, 4
test dx, dx
jne 0x45d4e1
xor eax, eax
jmp 0x45d50c
sbb eax, eax
or eax, 1
mov ecx, dword [ebp + 0xc]
test eax, eax
sete al
movzx eax, al
neg eax
sbb eax, eax
mov word [ecx + 8], ax
jmp 0x45d64c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov eax, str.value_type_not_supported
mov byte [ebp - 4], 0x31
test eax, 0xffff0000
jne 0x45d559
movzx edi, ax
mov ecx, edi
call fcn.0041f3d0
test eax, eax
je 0x45d566
push edi
push eax
lea ecx, [ebp + 0xc]
call fcn.0041fbd0
jmp 0x45d566
push str.value_type_not_supported
lea ecx, [ebp + 0xc]
call fcn.0041fa30
push str.readRegistry
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x32
call fcn.0041f910
mov byte [ebp - 4], 0x33
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x45d590
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x4c], edi
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0x34
push eax
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x44]
call fcn.00420f70
add esp, 4
mov ecx, eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x35
cmp dword [eax + 0xc], 0
je 0x45d5d0
push 2
push ecx
lea ecx, [ebp - 0x28]
add eax, 8
push ecx
push eax
call fcn.004210a0
mov byte [ebp - 4], 0x34
or eax, 0xffffffff
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d5ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0x33
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d60d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x32
mov eax, edi
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d62b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x30
mov eax, edi
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d649
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp + 8]
push dword [ebp - 0x20]
call fcn.004f4577
mov ecx, dword [ebp - 0x64]
add esp, 4
test ecx, ecx
je 0x45d66a
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], 0
add esi, 0xfffffff0
mov byte [ebp - 4], 0x21
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45d68d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x45d69b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 0x11
or ebx, 0xffffffff
jmp 0x45d283
push str.valueName_error
lea ecx, [ebp - 0x30]
call fcn.0041f870
push str.readRegistry
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x16
call fcn.0041f910
mov byte [ebp - 4], 0x17
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x45d6e1
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x4c], edi
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x18
push eax
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x44]
call fcn.00420f70
add esp, 4
mov ecx, eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x19
cmp dword [eax + 0xc], 0
je 0x45d721
push 2
push ecx
lea ecx, [ebp + 0xc]
add eax, 8
push ecx
push eax
call fcn.004210a0
mov byte [ebp - 4], 0x18
or ebx, 0xffffffff
mov edx, dword [ebp - 0x44]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d742
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x17
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x45d75d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x16
mov eax, ebx
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d77b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x11
mov eax, ebx
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d799
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d7b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45d7d2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
or ebx, 0xffffffff
jmp 0x45d9d2
push str.keyName_error
lea ecx, [ebp + 8]
call fcn.0041f870
push str.readRegistry
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xd
call fcn.0041f910
mov byte [ebp - 4], 0xe
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x45d811
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x4c], edi
lea eax, [ebp + 8]
mov byte [ebp - 4], 0xf
push eax
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x44]
call fcn.00420f70
add esp, 4
mov ecx, eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x10
cmp dword [eax + 0xc], 0
je 0x45d851
push 2
push ecx
lea ecx, [ebp + 0xc]
add eax, 8
push ecx
push eax
call fcn.004210a0
mov byte [ebp - 4], 0xf
or ebx, 0xffffffff
mov edx, dword [ebp - 0x44]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d872
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x45d88d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov eax, ebx
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d8ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d8c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45d9d2
mov ecx, dword [esi]
push esi
jmp 0x45d9cd
push str.keyParent_error
lea ecx, [ebp + 8]
call fcn.0041f870
push str.readRegistry
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call fcn.0041f910
mov byte [ebp - 4], 4
call fcn.0040f350
mov ecx, eax
test ecx, ecx
jne 0x45d91f
push 0x80004005
call fcn.0041f2a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x4c], esi
lea eax, [ebp + 8]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x44]
call fcn.00420f70
add esp, 4
mov byte [ebp - 4], 6
cmp dword [edi + 0xc], 0
je 0x45d95a
push 2
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [edi + 8]
push eax
call fcn.004210a0
mov byte [ebp - 4], 5
or ebx, 0xffffffff
mov edx, dword [ebp - 0x44]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d97b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45d996
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, ebx
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d9b4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d9d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x45d9f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8