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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60ea7a
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x685680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
or edi, 0xffffffff
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0x1c], 1
cmp byte [eax + 0x2c], bl
je 0x4362e7
mov eax, dword [0x686984]
mov ecx, 0x686984
mov dword [ebp - 0xd4], 0x104
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xdc], esi
mov dword [ebp - 4], ebx
mov edx, dword [ebp - 0xd4]
test edx, edx
jns 0x436061
push 0x80070057
call fcn.00403360
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x436084
push edx
lea ecx, [ebp - 0xdc]
call fcn.00403150
mov esi, dword [ebp - 0xdc]
lea eax, [ebp - 0xd4]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xf0]
mov eax, dword [ebp - 0xf4]
push dword [eax + 0x28]
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
push dword [esi - 8]
mov dword [ebp - 0xd8], eax
push esi
call fcn.005cfcd3
add esp, 8
test eax, eax
js 0x436057
cmp eax, dword [esi - 8]
jg 0x436057
cmp dword [ebp - 0xd8], 0
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
je 0x4360df
mov ebx, 1
jmp 0x4362bd
cmp dword [esi - 0xc], 0xc
jl 0x4362bd
push 4
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0x14], 0
call fcn.0042ec50
push 2
push 4
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xe8], 0
call fcn.0042ec50
push 2
push 6
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xec], 0
call fcn.0042ec50
push 2
push 8
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xd8], 0
call fcn.0042ec50
push 2
push 0xa
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xe4], 0
call fcn.0042ec50
push 0xffffffffffffffff
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0xe4]
push 0
push edi
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
mov ebx, dword [ebp - 0xd8]
push eax
push ebx
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
push eax
push dword [ebp - 0xec]
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
push eax
push dword [ebp - 0xe8]
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_StrToIntA]
push eax
lea ecx, [ebp - 0xfc]
call fcn.004356f0
push 0
call fcn.005ce561
add esp, 4
sub eax, 0x3840
sbb edx, 0
cmp edx, dword [ebp - 0xf8]
jl 0x436214
jg 0x43620a
cmp eax, dword [ebp - 0xfc]
jbe 0x436214
mov dword [ebp - 0xe0], 1
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x436234
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x436251
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xec]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x436274
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xe8]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x436297
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4362b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0xe0]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4362dd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x43643c
jmp 0x4362ef
mov ebx, 1
mov byte [eax + 0x2c], bl
push 0
mov dword [ebp - 0x1c], 1
call fcn.005ce561
mov dword [ebp - 0x18], eax
mov eax, dword [0x686984]
add esp, 4
mov ecx, 0x686984
mov dword [ebp - 0x14], edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 6
call fcn.00435810
test eax, eax
je 0x43633e
mov esi, dword [eax + 4]
mov dword [ebp - 0xd8], esi
jmp 0x436348
mov dword [ebp - 0xd8], 0xffffffff
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x18]
call fcn.00435810
test eax, eax
je 0x436366
mov esi, dword [eax + 8]
mov dword [ebp - 0xe4], esi
jmp 0x436370
mov dword [ebp - 0xe4], 0xffffffff
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x18]
call fcn.00435810
test eax, eax
je 0x43638e
mov esi, dword [eax + 0xc]
mov dword [ebp - 0xd4], esi
jmp 0x436398
mov dword [ebp - 0xd4], 0
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x18]
call fcn.00435810
test eax, eax
je 0x4363b1
mov esi, dword [eax + 0x10]
inc esi
jmp 0x4363b3
xor esi, esi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x18]
call fcn.00435810
test eax, eax
je 0x4363cd
mov eax, dword [eax + 0x14]
add eax, 0x76c
jmp 0x4363cf
xor eax, eax
push dword [ebp - 0xd8]
push dword [ebp - 0xe4]
push dword [ebp - 0xd4]
push esi
push eax
lea eax, [ebp - 0xe0]
push str._4.4d_2.2d_2.2d_2.2d_2.2d
push eax
call fcn.00402f20
mov esi, dword [ebp - 0xe0]
mov eax, dword [ebp - 0xf4]
add esp, 0x1c
push dword [esi - 0xc]
push esi
push dword [ebp - 0x1c]
push dword [ebp - 0xf0]
push dword [eax + 0x28]
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x43643c
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005cd355
mov esp, ebp
pop ebp
ret 8