Function at 0x450a80
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b19b5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8d8
xor eax, eax
push ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
push esi
push edi
mov ebx, ecx
test al, al
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ebx
lea edx, [ebp - 0x38]
je 0x450b01
mov edi, 0x64f278
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [0x67ab88]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x4d8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x67abe8]
push ecx
push edx
push 0x654920
push eax
call fcn.0057f2ea
add esp, 0x10
jmp 0x450b3e
mov edi, 0x654918
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x4d8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x67ab84]
push ecx
push 0x654994
push edx
call fcn.0057f2ea
add esp, 0xc
lea eax, [ebp - 0x4d8]
push ebx
push eax
push 0x1004
lea ecx, [ebp - 0x38]
push 0
push ecx
push 1
lea ecx, [ebp - 0x340]
call fcn.00593bd3
mov ebx, dword [ebp + 0xc]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ebp - 4], 1
jne 0x450cb3
mov ecx, dword [0x67a050]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x148]
push edx
push eax
push 0
push 0
push 0x6548f4
push ecx
mov dword [ebp - 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x450bfd
mov edx, dword [0x6754d4]
mov dword [ebp + 0xc], edx
mov eax, dword [0x679ed0]
mov byte [ebp - 4], 2
test eax, eax
jne 0x450bbe
mov eax, 0x679ed4
lea ecx, [ebp + 0xc]
push ecx
push eax
call fcn.00473aa0
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x148]
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [ebp - 4], 1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp + 0xc]
call fcn.0059ad3d
lea edi, [ebp - 0x148]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x450c1b
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x2b8], ecx
lea ecx, [ebp - 0x340]
call fcn.00593d35
cmp eax, 1
je 0x450c34
mov byte [ebp - 4], 3
jmp 0x4510d6
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x340]
push edx
call fcn.00593e10
mov edi, dword [eax]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x148]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp + 0xc]
call fcn.0059ad3d
lea ecx, [ebp - 0x148]
push 0x5c
push ecx
call fcn.0057f890
add esp, 8
test eax, eax
je 0x450cb3
mov byte [eax], 0
lea edi, [ebp - 0x148]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea edx, [ebp - 0x148]
push ecx
push edx
push 1
push eax
mov eax, dword [0x67a050]
push 0x6548f4
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x2c]
call fcn.0041f930
mov dword [ebp - 0x2c], 0x5ca7dc
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x450cd8
mov eax, ebx
jmp 0x450cf4
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x340]
call fcn.00593e10
mov dword [ebp - 0x30], 1
mov eax, dword [eax]
mov byte [ebp - 4], 5
push 0
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call fcn.0059adab
lea ecx, [ebp - 0x8e4]
call fcn.004fbc10
mov al, byte [ebp - 0x30]
mov dword [ebp - 4], 7
test al, 1
je 0x450d23
lea ecx, [ebp - 0x18]
call fcn.0059ad3d
mov bl, byte [ebp + 8]
test bl, bl
je 0x450d3b
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x8e4]
push edx
call fcn.004fc420
jmp 0x450d4a
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x8e4]
push eax
call fcn.004fbf80
test al, al
jne 0x450da0
test bl, bl
push 0x10030
je 0x450d67
mov ecx, dword [0x67aeb4]
mov edx, dword [0x67aeb0]
push ecx
push edx
jmp 0x450d74
mov eax, dword [0x67aeb4]
mov ecx, dword [0x67aeac]
push eax
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00598d31
lea ecx, [ebp - 0x8e4]
mov byte [ebp - 4], 4
call fcn.004fbd70
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0041faf0
mov byte [ebp - 4], 8
jmp 0x4510d6
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x450e05
mov edx, dword [0x67aeb4]
mov eax, dword [0x67aea8]
mov ecx, dword [ebp - 0x14]
push 0x10040
push edx
push eax
call fcn.00598d31
lea ecx, [ebp - 0x8e4]
mov byte [ebp - 4], 4
call fcn.004fbd70
mov dword [ebp - 0x2c], 0x5ca7e8
mov edx, dword [ebp - 0x28]
mov byte [ebp - 4], 9
test edx, edx
je 0x450dfc
mov ecx, dword [ebp - 0x24]
mov eax, edx
mov esi, ecx
dec ecx
test esi, esi
je 0x450df3
add eax, 0x10
jmp 0x450de7
push edx
call fcn.00597102
add esp, 4
mov byte [ebp - 4], 0xa
jmp 0x4510d6
mov esi, dword [ebp - 0x14]
push 0
lea ecx, [esi + 0x674]
push ecx
lea ecx, [ebp - 0x458]
call fcn.004212f0
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x3f8], edx
call fcn.00596cd3
cmp eax, 1
jne 0x451079
mov eax, dword [0x6754d4]
mov dword [ebp + 8], eax
mov ecx, dword [esi + 0x1c0]
mov byte [ebp - 4], 0xc
mov eax, dword [ecx + 8]
mov dword [esi + 0x1f0], eax
xor eax, eax
mov dword [ebp + 0xc], eax
cmp eax, dword [ebp - 0x24]
jge 0x450fce
mov edx, dword [ebp - 0x28]
shl eax, 4
mov esi, dword [eax + edx]
test esi, esi
je 0x450fbf
lea eax, [ebp + 8]
push 0
push eax
lea ecx, [esi + 0x20]
call fcn.0052b350
mov ecx, dword [esi + 0x38]
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push 0
push ecx
mov ecx, dword [ebx + 0x1c0]
push edx
call fcn.004628e0
mov edi, eax
test edi, edi
jl 0x450f1a
mov eax, dword [ebp + 8]
mov ecx, ebx
push eax
call fcn.0045b7c0
test eax, eax
jne 0x450ec7
mov ecx, esi
call fcn.0054a0f0
push esi
call fcn.00597102
add esp, 4
jmp 0x450fbf
cmp eax, 3
jne 0x450ee9
mov ecx, esi
call fcn.0054a0f0
push esi
call fcn.00597102
add esp, 4
mov ecx, ebx
push edi
call fcn.0045b950
jmp 0x450fbf
cmp eax, 2
jne 0x450f1a
mov ecx, dword [ebx + 0x1c0]
shl edi, 4
mov edx, dword [ecx + 4]
mov edi, dword [edx + edi]
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x450f1a
mov eax, dword [edi + 0x54]
test eax, eax
jne 0x450f0e
lea eax, [edi + 0x58]
push eax
lea ecx, [esi + 0xf4]
call fcn.00401fc0
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x450f24
lea eax, [esi + 0x58]
xor edi, edi
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x40], di
call fcn.00401fc0
mov ecx, dword [ebx + 0x1c0]
lea eax, [ebp - 0x44]
push 1
push eax
push esi
mov byte [ebp - 4], 0xd
call fcn.00462eb0
cmp eax, 2
je 0x450fa3
mov ecx, dword [ebx + 0x1c0]
push esi
call fcn.00462b90
cmp eax, edi
jl 0x450fa3
push esi
lea ecx, [ebx + 0x1cc]
call fcn.004ceb00
push 1
push edi
mov ecx, esi
call fcn.00551300
mov ecx, dword [0x67a168]
cmp ecx, edi
je 0x450f92
mov edx, dword [esi + 0x400]
push edx
push 1
call fcn.004d3d10
push 1
push edi
push esi
lea ecx, [ebx + 0x488]
call fcn.00487690
jmp 0x450fb3
mov ecx, esi
call fcn.0054a0f0
push esi
call fcn.00597102
add esp, 4
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call fcn.00401070
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x14]
inc eax
mov dword [ebp + 0xc], eax
jmp 0x450e5d
mov eax, dword [esi + 0x204]
test eax, eax
je 0x450fe0
push eax
mov ecx, esi
call fcn.004539f0
push 0
push 0
push 0
push 0xfffffffffffffffe
push esi
push 0x43cd60
call fcn.0059b33b
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xb
call fcn.0059ad3d
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x2c]
call fcn.0043b660
lea ecx, [ebp - 0x37c]
mov byte [ebp - 4], 0x12
call fcn.00594d6e
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 0x11
call fcn.005a2881
lea ecx, [ebp - 0x3f4]
mov byte [ebp - 4], 0x10
call fcn.005a2881
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 7
call fcn.00596914
lea ecx, [ebp - 0x8e4]
mov byte [ebp - 4], 4
call fcn.004fbd70
mov dword [ebp - 0x2c], 0x5ca7e8
mov edx, dword [ebp - 0x28]
mov byte [ebp - 4], 0x13
test edx, edx
je 0x4510d2
mov ecx, dword [ebp - 0x24]
mov eax, edx
mov esi, ecx
dec ecx
test esi, esi
je 0x4510c9
add eax, 0x10
jmp 0x45106d
xor edi, edi
mov eax, dword [ebp - 0x24]
mov dword [ebp + 8], edi
cmp edi, eax
jge 0x450fff
mov ecx, dword [ebp - 0x28]
mov eax, edi
shl eax, 4
mov esi, dword [eax + ecx]
test esi, esi
je 0x4510c6
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.0054a0f0
push esi
call fcn.00597102
add esp, 4
mov dword [ebp - 4], 0xb
inc edi
jmp 0x45107b
inc edi
jmp 0x45107b
push edx
call fcn.00597102
add esp, 4
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x294]
call fcn.0059ad3d
lea ecx, [ebp - 0x340]
mov byte [ebp - 4], 0
call fcn.00596914
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8