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

Disassembly:
push 0xffffffffffffffff
push 0x4c41a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x4f5b3c]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x14], eax
mov ecx, dword [ebp + 0x1f68]
mov dword [esp + 0x10], 0x3fc16
xor edi, edi
mov edx, dword [ebp + ecx*4 + 0x20]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x28]
mov eax, dword [edx + 8]
mov edx, dword [0x4ffa14]
push edx
mov edx, dword [ebp + 8]
push ecx
push edi
push eax
push edx
mov dword [esp + 0x54], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, edi
je 0x445716
cmp eax, 0xea
jne 0x445712
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004a9c1f
xor eax, eax
jmp 0x445b87
mov dword [esp + 0x10], edi
mov eax, dword [0x4f5b3c]
mov dword [esp + 0x18], eax
mov ecx, dword [ebp + 0x1f68]
mov esi, dword [esp + 0x44]
mov ebx, 3
cmp esi, edi
mov edx, dword [ebp + ecx*4 + 0x20]
mov byte [esp + 0x3c], 1
mov dword [edx + 0x20], ebx
jne 0x4457b1
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4fc5e4
call fcn.004a9c8d
mov eax, dword [0x4ffa14]
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0x48], 2
call fcn.004a9c8d
mov ecx, dword [ebp + 0x1f68]
mov byte [esp + 0x44], bl
push ecx
mov edx, dword [ebp + ecx*4 + 0x20]
mov ecx, esp
add edx, 8
mov dword [esp + 0x38], esp
push edx
call fcn.004a9994
mov eax, dword [ebp + 0x1f68]
push 0xc
mov byte [esp + 0x4c], 1
mov ecx, dword [ebp + eax*4 + 0x20]
mov edx, dword [ecx]
lea ecx, [ebp + 0x14]
push edx
call fcn.004033c0
push eax
lea ecx, [ebp + 0x10]
call fcn.004033c0
push eax
mov ecx, ebp
call fcn.004470d0
mov eax, dword [ebp + 0x1f68]
mov edx, dword [ebp + eax*4 + 0x20]
lea ecx, [ebp + eax*4 + 0x20]
mov eax, dword [edx]
cmp eax, ebx
je 0x4459b2
cmp eax, edi
je 0x4459b2
cmp eax, 7
jne 0x44592b
cmp dword [esp + 0x10], edi
jne 0x4457e8
mov dword [esp + 0x10], 1
mov ecx, dword [ecx]
add ecx, 0xc
push ecx
lea ecx, [esp + 0x18]
call fcn.004a9d0c
mov edx, dword [esp + 0x14]
mov ebx, dword [edx - 8]
cmp ebx, edi
je 0x4458e1
push ebx
call fcn.004aa1e0
add esp, 4
xor ecx, ecx
xor edx, edx
mov edi, eax
test ebx, ebx
jle 0x44585d
mov esi, dword [esp + 0x14]
lea eax, [ebx - 1]
cmp ecx, eax
jge 0x44584d
cmp byte [esi + ecx], 0x5c
jne 0x44584d
cmp byte [esi + ecx + 1], 0x6e
jne 0x44584d
cmp dword [esp + 0x10], 2
jne 0x445846
test ecx, ecx
jne 0x445846
mov al, byte [esi + 2]
mov ecx, 2
jmp 0x445850
mov byte [edi + edx], 0
inc ecx
jmp 0x445853
mov al, byte [esi + ecx]
mov byte [edi + edx], al
inc ecx
inc edx
cmp ecx, ebx
jl 0x445819
mov esi, dword [esp + 0x44]
test esi, esi
je 0x445890
mov eax, dword [esp + 0x10]
lea ecx, [edx + 1]
cmp eax, ecx
jbe 0x4458d3
or ecx, 0xffffffff
push edi
sub ecx, edx
mov edx, dword [0x4ffa14]
add eax, ecx
mov dword [esp + 0x14], eax
mov byte [edx + eax - 1], 0
call fcn.004aa209
add esp, 4
jmp 0x445a74
xor ecx, ecx
test edx, edx
jle 0x4458ae
mov eax, dword [esp + 0x10]
mov esi, dword [0x4ffa14]
add esi, eax
mov al, byte [edi + ecx]
mov byte [esi + ecx - 1], al
inc ecx
cmp ecx, edx
jl 0x445896
mov ecx, dword [esp + 0x10]
mov eax, dword [0x4ffa14]
lea edx, [ecx + edx + 1]
mov dword [esp + 0x10], edx
mov byte [eax + edx - 2], 0
mov ecx, dword [esp + 0x10]
mov edx, dword [0x4ffa14]
mov byte [edx + ecx - 1], 0
push edi
call fcn.004aa209
add esp, 4
jmp 0x445a74
mov eax, dword [esp + 0x10]
cmp esi, edi
je 0x445907
cmp eax, 1
jbe 0x445a74
mov ecx, dword [0x4ffa14]
dec eax
mov dword [esp + 0x10], eax
mov byte [ecx + eax - 1], 0
jmp 0x445a74
mov edx, dword [0x4ffa14]
inc eax
mov dword [esp + 0x10], eax
mov byte [edx + eax - 2], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4ffa14]
mov byte [ecx + eax - 1], 0
jmp 0x445a74
cmp esi, edi
je 0x445960
mov esi, dword [0x4ffa14]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
mov edx, dword [edx + 0xc]
repne scasb al, byte es:[edi]
mov eax, dword [edx - 8]
not ecx
dec ecx
cmp ecx, eax
jle 0x445956
sub ecx, eax
mov byte [esi + ecx], 0
jmp 0x445a74
xor ecx, ecx
mov byte [esi + ecx], cl
jmp 0x445a74
mov edx, dword [edx + 0xc]
mov eax, dword [0x4ffa14]
push edx
push eax
call fcn.00474f70
add esp, 8
test eax, eax
jne 0x445a74
mov ecx, dword [ebp + 0x1f68]
mov edx, dword [ebp + ecx*4 + 0x20]
or ecx, 0xffffffff
mov edi, dword [edx + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [0x4ffa14]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, ebx
rep movsb byte es:[edi], byte [esi]
jmp 0x445a74
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4ffa14]
push 0x10
push eax
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, ebp
call fcn.00444e90
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 5
call fcn.004a9d0c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 1
call fcn.004a9c1f
mov edi, dword [esp + 0x18]
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, dword [0x4ffa14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x44]
and ecx, ebx
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x445a3b
mov ecx, dword [ebp + 0x1f68]
mov edx, dword [ebp + ecx*4 + 0x20]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx + 0x1c]
cmp ecx, eax
jb 0x445a74
sub ecx, eax
mov eax, dword [0x4ffa14]
mov dword [esp + 0x10], ecx
mov byte [eax + ecx], 0
jmp 0x445a74
mov ecx, dword [ebp + 0x1f68]
xor eax, eax
mov ecx, dword [ebp + ecx*4 + 0x20]
mov edx, dword [ecx + 0x1c]
test edx, edx
jle 0x445a74
mov edx, dword [ecx + 0xc]
mov esi, dword [0x4ffa14]
mov cl, byte [edx + eax]
mov edx, dword [esp + 0x10]
add esi, edx
inc eax
mov byte [esi + eax - 1], cl
mov ecx, dword [ebp + 0x1f68]
mov ecx, dword [ebp + ecx*4 + 0x20]
cmp eax, dword [ecx + 0x1c]
jl 0x445a4e
mov edx, dword [ebp + 0x1f68]
mov ecx, dword [ebp + edx*4 + 0x20]
lea eax, [ebp + edx*4 + 0x20]
mov ecx, dword [ecx]
cmp ecx, 7
ja case.0x445a8d.6
jmp dword [ecx*4 + 0x445b9c]
mov ebx, dword [0x4ffa14]
mov edx, dword [eax]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov esi, dword [edx + 8]
repne scasb al, byte es:[edi]
mov edx, dword [edx]
not ecx
push ecx
push ebx
push edx
push eax
mov eax, dword [ebp + 8]
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp case.0x445a8d.6
mov eax, dword [eax]
mov edx, dword [esp + 0x10]
push edx
mov edx, dword [0x4ffa14]
mov ecx, dword [eax + 8]
jmp 0x445afe
mov eax, dword [0x4ffa14]
lea edx, [esp + 0x30]
push 0
push edx
push eax
call fcn.00476c89
mov ecx, dword [ebp + 0x1f68]
mov dword [esp + 0x2c], eax
add esp, 0xc
lea edx, [esp + 0x20]
mov eax, dword [ebp + ecx*4 + 0x20]
push 4
mov ecx, dword [eax + 8]
mov eax, dword [eax]
push edx
push eax
push 0
push ecx
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp case.0x445a8d.6
mov eax, dword [0x4ffa14]
push 0x10
lea edx, [esp + 0x48]
push 0
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.004a9c8d
mov ecx, ebp
call fcn.00444d50
mov ecx, dword [ebp + 0x1f68]
push eax
mov eax, dword [esp + 0x48]
mov ecx, dword [ebp + ecx*4 + 0x20]
push eax
mov edx, dword [ecx + 8]
mov ecx, dword [ecx]
push ecx
push 0
push edx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x44]
push eax
call fcn.004aa209
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 0
call fcn.004a9c1f
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004a9c1f
mov eax, 1
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret 4