Function at 0x456fd7
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov esi, dword [ebp + 0x78]
mov ax, word [edx]
cmp ax, 0x2c
je 0x456b0a
cmp ax, 0x3d
je 0x456b53
cmp ax, 0x21
jne 0x456afe
lea eax, [edx + 2]
mov dword [ebp + 0x30], eax
lea eax, [ebp + 0x30]
push eax
call fcn.0048dd53
mov eax, dword [ebp + 0x30]
cmp word [eax], bx
pop ecx
je 0x456b53
lea edx, [eax - 2]
inc edx
inc edx
mov dword [ebp + 0x44], edx
cmp word [edx], bx
jne 0x456ace
jmp 0x456b53
add edx, 2
push 0x3d
push edx
call dword [0x4a65c0]
cmp eax, ebx
je 0x456b1e
mov edx, eax
jmp 0x456b4b
mov eax, dword [ebp + 0x44]
add eax, 2
push 0x21
push eax
call dword [0x4a65c0]
mov edx, eax
cmp edx, ebx
je 0x456b50
lea eax, [edx + 2]
mov dword [ebp + 0x30], eax
lea eax, [ebp + 0x30]
push eax
call fcn.0048dda3
mov eax, dword [ebp + 0x30]
cmp word [eax], bx
pop ecx
jne 0x456b50
mov dword [ebp + 0x44], edx
jmp 0x456b53
mov edx, dword [ebp + 0x44]
mov ax, word [edx]
cmp ax, 0x2c
je 0x456b68
cmp ax, 0x3d
je 0x456b68
cmp ax, 0x21
jne 0x456b7c
mov al, byte [edx]
mov word [edx], bx
add dword [ebp + 0x44], 2
test al, al
mov byte [ebp + 0x3a], al
jne 0x456c02
inc byte [ebp + 0x3b]
cmp byte [ebp + 0x3b], 0
jg 0x456bf8
mov ecx, dword [ebp + 0x18]
push 1
add dword [ebx - 0x73], edx
inc ebp
clc
push eax
push dword [ebp + 0x24]
call fcn.004a287e
mov eax, dword [ebp - 8]
lea ecx, [ebp]
mov dword [ebp + 0x78], eax
call fcn.0048ddbb
lea ecx, [ebp + 4]
call fcn.0048ddc3
lea ecx, [ebp + 0x10]
dec ebp
adc al, ch
push ss
jb 0x456bb7
add byte [ebp + 0x16e8f04d], cl
jb 0x456bbf
add byte [ebp + 0x16e8084d], cl
jb 0x456bc7
invalid
lea eax, [ebp + 0x78]
push eax
call fcn.0048de2f
push 0xa
lea eax, [ebp + 0x78]
push eax
push str.___initram
call fcn.00495bd7
add esp, 0x10
test al, al
je 0x456757
push 3
call fcn.004671f9
pop ecx
xor esi, esi
jmp 0x457c28
mov esi, 0x80070057
jmp 0x457c00
cmp esi, ebx
mov dword [ebp - 4], ebx
jne 0x456c1b
push 0x5c
push ebx
push edi
mov edi, dword [0x4a65bc]
call edi
mov esi, eax
cmp esi, ebx
je 0x456c73
mov ecx, dword [ebp + 0x18]
push 1
push ebx
lea eax, [ebp + 8]
inc ebp
or byte [eax - 1], dl
jne 0x456ca0
mov word [esi], bx
call fcn.004a2917
mov eax, dword [ebp + 8]
push 0x5c
push eax
mov dword [ebp + 0x1c], eax
call dword [0x4a65c0]
cmp eax, ebx
jne 0x456c4d
mov esi, 0x80070057
jmp 0x457bf8
mov ecx, dword [ebp + 0x18]
mov word [eax], bx
inc eax
inc eax
push 1
mov dword [ebp + 0x60], eax
push ebx
lea eax, [ebp - 4]
push eax
add esi, 2
push esi
call fcn.004a294f
mov eax, dword [ebp - 4]
mov dword [ebp + 0x40], eax
jmp 0x456cf6
push 1
push 0x2c
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004a4e37
push ebx
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.00496935
mov eax, dword [ebp + 8]
add esp, 0xc
push 0x5c
push eax
mov dword [ebp + 0x1c], eax
call dword [0x4a65c0]
mov esi, eax
cmp esi, ebx
je 0x456c43
mov word [esi], bx
inc esi
inc esi
push 0x4af528
push esi
mov dword [ebp + 0x60], esi
call dword [0x4a65b4]
cmp byte [ebp + 0x67], 0
mov dword [ebp + 0x40], eax
je 0x456cd4
cmp eax, ebx
jne 0x456ce9
push esi
call dword [0x4a6508]
lea eax, [esi + eax*2]
mov dword [ebp + 0x40], eax
cmp eax, ebx
jne 0x456ce9
push 0x5c
push ebx
push esi
call edi
cmp eax, ebx
mov dword [ebp + 0x40], eax
je 0x456c43
cmp word [eax], bx
cmp word [eax], 0x5c
jne 0x456d01
inc eax
inc eax
mov dword [ebp + 0x40], eax
cmp byte [ebp + 0x2b], 0
mov dword [ebp + 0x30], ebx
je 0x456d25
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp + 0x44]
push eax
push dword [ebp + 0x18]
call fcn.004a1978
mov eax, dword [ebp + 0x30]
add esp, 0xc
mov dword [ebp + 0x44], eax
jmp 0x456d28
mov eax, dword [ebp + 0x44]
cmp byte [ebp + 0x3a], 0x2c
jne 0x456db9
push 1
push 0x2c
lea eax, [ebp + 0x44]
push eax
lea ecx, [ebp - 0x20]
call fcn.004a4ef6
push ebx
lea ecx, [ebp + 0x10]
push ecx
push eax
call fcn.004969f4
mov ecx, dword [ebp + 0x18]
add esp, 0xc
push ebx
lea eax, [ebp + 0x10]
push eax
call fcn.00458e8c
cmp byte [ebp + 0x6f], 0x2e
jne 0x456d9b
mov eax, dword [ebp + 0x44]
cmp word [eax], 0x2c
jne 0x456d9b
add dword [ebp + 0x44], 2
push 1
push 0x2c
lea eax, [ebp + 0x44]
push eax
lea ecx, [ebp - 0x20]
call fcn.004a4f34
push ebx
lea ecx, [ebp]
push ecx
push eax
call fcn.00496a32
mov ecx, dword [ebp + 0x18]
add esp, 0xc
or al, 0x53
lea eax, [ebp]
push eax
call fcn.00458eca
mov eax, dword [ebp + 0x10]
cmp word [eax], bx
jne 0x456eb2
push str.RegDat
lea ecx, [ebp + 0x10]
call fcn.0049c6af
jmp 0x456eb2
cmp byte [ebp + 0x3a], 0x21
je 0x456eb2
cmp word [eax], bx
jne 0x456dec
cmp byte [ebp + 0x6f], 0x24
je 0x456e0b
cmp byte [ebp + 0x6f], 0x2a
je 0x456dec
cmp byte [ebp + 0x6f], 0x7e
je 0x456dec
cmp byte [ebp + 0x53], 0
je 0x456eb2
mov dword [ebp + 0x68], eax
jmp 0x456eb2
cmp byte [ebp + 0x6f], 0x24
je 0x456e0b
cmp byte [ebp + 0x6f], 0x2a
je 0x456e0b
cmp byte [ebp + 0x6f], 0x7e
je 0x456e0b
lea eax, [ebp + 0x44]
push eax
call fcn.0048e068
mov eax, dword [ebp + 0x44]
pop ecx
push eax
lea ecx, [ebp + 0x14]
call fcn.0049c6a7
mov edx, dword [ebp + 0x14]
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x78], edx
call fcn.0048e084
cmp byte [ebp + 0x7c], 0
pop ecx
je 0x456e35
push edx
lea ecx, [ebp + 4]
call fcn.0049c72e
jmp 0x456e45
mov ecx, dword [ebp + 0x18]
push 1
push ebx
lea eax, [ebp + 4]
push eax
push edx
call fcn.004a1d3d
mov eax, dword [ebp + 4]
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x7c], eax
lea eax, [ebp + 0x7c]
push eax
call fcn.0048e0b8
cmp byte [ebp + 0x6f], 0
pop ecx
jne 0x456e90
push dword [ebp + 0x78]
push 0x4af510
call dword [0x4a64dc]
test eax, eax
jne 0x456e79
mov dword [ebp + 0x68], 0x4a69d4
jmp 0x456eaa
mov ecx, dword [ebp + 0x7c]
mov ax, word [ecx]
cmp ax, 0x23
je 0x456e8b
cmp ax, 0x40
jne 0x456eaa
mov dword [ebp + 0x68], ecx
jmp 0x456eaa
cmp byte [ebp + 0x6f], 0x23
je 0x456e9c
cmp byte [ebp + 0x6f], 0x40
jne 0x456eaa
mov eax, dword [ebp + 0x7c]
cmp word [eax], bx
mov dword [ebp + 0x68], eax
jne 0x456eaa
mov dword [ebp + 0x68], ebx
lea ecx, [ebp + 0x14]
call fcn.0048e0c8
mov edi, dword [ebp + 0x1c]
mov esi, dword [0x4a64e0]
push str.HKLM
push edi
call esi
test eax, eax
je 0x456f69
push str.HKEY_LOCAL_MACHINE
push edi
call esi
test eax, eax
je 0x456f69
add byte [eax], al
push str.HKCU
push edi
call esi
test eax, eax
je 0x456f60
push str.HKEY_CURRENT_USER
push edi
call esi
test eax, eax
je 0x456f60
push str.HKCR
push edi
call esi
test eax, eax
je 0x456f57
push str.HKEY_CLASSES_ROOT
push edi
call esi
test eax, eax
je 0x456f57
push 0x4af474
push edi
call esi
test eax, eax
je 0x456f4e
push str.HKEY_USERS
push edi
mov dword [ebp + 0x78], 0x80000003
jmp 0x456f70
mov dword [ebp + 0x78], 0x80000000
jmp 0x456f70
mov dword [ebp + 0x78], 0x80000001
jmp 0x456f70
mov dword [ebp + 0x78], 0x80000002
mov eax, dword [ebp + 0x10]
cmp word [eax], bx
je 0x457690
cmp byte [ebp + 0x6f], 0x2e
je 0x456f8b
cmp byte [ebp + 0x6f], 0x3f
mov dword [ebp + 0x3c], ebx
jne 0x456f98
cmp byte [ebp + 0x6f], 0x3f
mov dword [ebp + 0x3c], 1
je 0x456fa7
cmp dword [ebp + 0x3c], ebx
je 0x456fa2
cmp word [eax], bx
je 0x456fa7
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x4c], 1
push ebx
call dword [0x4a649c]
push 0x64
lea ecx, [ebp + 0x68]
mov dword [ebp + 0xc], ebx
call fcn.0049415a
lea ecx, [ebp + 0x2c]
call fcn.00494144
cmp byte [ebp + 0x6f], 0x2e
lea eax, [ebp + 0x2c]
je 0x456fd6
lea eax, [ebp + 0x68]
push 0x1000
lea ecx, [ebp + 0x48]
mov dword [ebp + 0x34], eax
call fcn.00494056
cmp byte [ebp + 0x67], 0
lea eax, [ebp + 0x7c]
mov dword [ebp + 0x1c], 0xfff
mov dword [ebp + 0x7c], ebx
mov dword [ebp + 0x24], ebx
push eax
je 0x45717f
movzx eax, word [0x4c0bc8]
or eax, 9
push eax
push ebx
push dword [ebp + 0x60]
mov dword [ebp + 0x40], ebx
push dword [ebp + 0x78]
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x14], ebx
adc al, 0x89
pop ebp
in al, dx
mov dword [ebp + 0x7c], ebx
call dword [0x4a6090]
push ebx
push ebx
mov esi, dword [0x4a609c]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x3c]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 0x7c]
call esi
push ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x14]
push eax
push ebx
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp + 0x3c]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 0x7c]
call esi
mov dword [ebp + 0x78], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp + 0x4c], eax
jae 0x457071
mov dword [ebp + 0x4c], eax
mov eax, dword [ebp + 0x4c]
lea eax, [eax*4 + 0x20]
mov dword [ebp - 0xc], eax
shr eax, 1
add eax, 8
push eax
lea ecx, [ebp + 0x58]
call fcn.00494224
mov esi, dword [ebp + 0x58]
mov word [esi], 0xd
mov word [esi + 2], 0xa
lea ebx, [esi + 4]
mov word [ebx], 0x76
lea edi, [esi + 8]
mov word [esi + 6], 0x20
and word [edi], 0
cmp byte [ebp + 0x67], 3
add ecx, dword [bx + di + 0x605d]
je 0x4570ba
mov edi, ebx
cmp dword [ebp + 0x78], 0
jne 0x457163
test byte [ebp + 0x67], 1
je 0x457111
and dword [ebp + 0x78], 0
cmp dword [ebp + 0x14], 0
jle 0x457111
mov eax, dword [ebp - 0xc]
mov dword [ebp + 0x40], eax
xor eax, eax
push eax
push eax
push eax
push eax
mov word [edi], ax
lea eax, [ebp + 0x40]
push eax
push edi
push dword [ebp + 0x78]
push dword [ebp + 0x7c]
call dword [0x4a6098]
test eax, eax
jne 0x457106
push dword [ebp + 0x60]
lea ecx, [ebp + 0x68]
call fcn.004942e9
mov dword [ebp + 0x60], esi
inc dword [ebp + 0x78]
mov eax, dword [ebp + 0x78]
cmp eax, dword [ebp + 0x14]
jl 0x4570d4
test byte [ebp + 0x67], 2
mov word [ebx], 0x6b
je 0x457163
and dword [ebp + 0x78], 0
cmp dword [ebp + 0x3c], 0
jle 0x457163
xor ebx, ebx
mov eax, dword [ebp - 0xc]
push ebx
cmp dword [ebp + 0x7c], 0
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x48]
push eax
push dword [ebp + 0x40]
push dword [ebp + 0x60]
push dword [ebp + 0x78]
call fcn.00498298
mov esi, dword [ebp + 0x7c]
cmp dword [ebp + 0x68], ebx
je 0x457b68
xor edx, edx
cmp byte [ebp + 0x66], dl
push 8
mov dword [ebp + 0x7c], edx
pop edi
mov dword [ebp + 0x20], edx
mov dword [ebp + 0x24], edx
lea ebx, [ebp + 0x20]
jg 0x4576b4
cmp byte [ebp + 0x53], dl
je 0x4576df
movsx eax, byte [ebp + 0x66]
push eax
push dword [ebp + 0x60]
push dword [ebp + 0x78]
call fcn.00491fa2
add esp, 0xc
cmp byte [ebp + 0x66], 2
mov esi, eax
jge 0x457b5b
cmp byte [ebp + 0x53], 0
jne 0x457b5b
xor edx, edx
mov cl, byte [ebp + 0x6f]
cmp cl, 0x2b
je 0x457aae
test cl, cl
jne 0x457705
mov esi, dword [ebp + 0x68]
mov ax, word [esi]
cmp ax, 0x2b
jne 0x457743
inc esi
inc esi
mov dword [ebp + 0x68], esi
jmp 0x457ab1
cmp cl, 0x23
je 0x457a34
cmp cl, 0x62
jne 0x4577f1
cmp byte [ebp + 0x64], 0
mov dword [ebp + 0x54], 5
mov dword [ebp + 0x58], edx
je 0x457757
movsx eax, byte [ebp + 0x65]
push eax
lea eax, [ebp + 0x7c]
push eax
push dword [ebp + 0x68]
call fcn.0049892a
mov ebx, dword [ebp + 0x7c]
add esp, 0xc
jmp 0x4577c7
cmp ax, 0x23
jne 0x45781c
inc esi
inc esi
mov dword [ebp + 0x68], esi
jmp 0x457a37
cmp byte [ebp + 0x65], 0
je 0x457797
mov edx, dword [ebp + 0x68]
xor ecx, ecx
mov cx, word [edx]
mov eax, ecx
call fcn.00494431
test al, al
je 0x45787f
cmp cx, 0x30
jne 0x45778b
mov ax, word [edx + 2]
or ax, 0x20
add byte [esi + 0x3d], ah
js 0x457786
jne 0x45778b
add edx, 4
push edx
call fcn.00495448
pop ecx
mov dword [ebp + 0x20], eax
jmp 0x4577af
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp + 0x68]
push eax
call fcn.004a011c
cmp eax, 1
pop ecx
pop ecx
jl 0x457b1c
mov al, byte [ebp + 0x20]
mov cl, byte [ebp + 0x23]
mov byte [ebp + 0x20], cl
mov cl, byte [ebp + 0x22]
mov byte [ebp + 0x23], al
mov al, byte [ebp + 0x21]
mov byte [ebp + 0x21], cl
mov byte [ebp + 0x22], al
push 4
pop edi
cmp cl, 0x2a
je 0x45792a
cmp cl, 0x7e
je 0x4578c1
cmp cl, 0x40
je 0x4578b2
cmp cl, 0x6e
mov esi, dword [ebp + 0x68]
jne 0x457846
mov dword [ebp + 0x54], edx
jmp 0x4578bc
cmp ax, 0x2a
jne 0x45782c
inc esi
inc esi
mov dword [ebp + 0x68], esi
jmp 0x45792d
cmp ax, 0x7e
jne 0x45783c
push 2
pop edi
add esi, edi
jmp 0x4578c7
cmp ax, 0x40
jne 0x457846
inc esi
inc esi
jmp 0x4578b5
cmp dword [ebp + 0x58], edx
jg 0x45793d
jl 0x45785a
cmp dword [ebp + 0x54], edx
jae 0x45793d
cmp cl, 0x5e
jne 0x457868
mov dword [ebp + 0x54], 6
jmp 0x457893
cmp cl, 0x75
jne 0x457876
mov dword [ebp + 0x54], 0x15
jmp 0x457893
test cl, cl
je 0x45788c
cmp cl, 0x24
je 0x45788c
lea ecx, [ebp + 0x7c]
call fcn.0048ea9d
jmp 0x456f3b
mov dword [ebp + 0x54], 1
cmp byte [ebp + 0x64], 0
mov dword [ebp + 0x58], edx
jne 0x45793d
push esi
call dword [0x4a6508]
mov edi, eax
shl edi, 1
mov ebx, esi
jmp 0x4577ca
mov esi, dword [ebp + 0x68]
mov dword [ebp + 0x54], 3
mov dword [ebp + 0x58], edx
jmp 0x45793d
mov esi, dword [ebp + 0x68]
push 2
pop edi
cmp byte [ebp + 0x64], 0
mov dword [ebp + 0x54], edi
mov dword [ebp + 0x58], edx
jne 0x45793d
push esi
call dword [0x4a6508]
add eax, 2
push eax
lea ecx, [ebp + 0x7c]
call fcn.00494aa5
cmp word [esi], 0
mov ebx, dword [ebp + 0x7c]
mov ecx, esi
mov eax, ebx
je 0x45791b
mov dx, word [ecx]
cmp dx, 0x5c
jne 0x45790e
cmp word [ecx + 2], 0x30
jne 0x45790e
and word [eax], 0
add eax, edi
add ecx, 4
jmp 0x457915
mov word [eax], dx
add eax, edi
add ecx, edi
cmp word [ecx], 0
jne 0x4578f3
and word [eax], 0
sub eax, ebx
add eax, edi
mov edi, eax
clc
jmp 0x4577ca
mov esi, dword [ebp + 0x68]
cmp byte [ebp + 0x64], 0
mov dword [ebp + 0x54], 7
mov dword [ebp + 0x58], edx
je 0x457953
movsx eax, byte [ebp + 0x65]
push eax
lea eax, [ebp + 0x7c]
push eax
push esi
call fcn.00498b3e
mov edi, eax
jmp 0x457a55
mov esi, dword [ebp + 0x68]
push esi
call dword [0x4a6508]
invalid