Function at 0x435690
Capabilities:
Query or enumerate registry key
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x479a3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
push ebx
push ebp
push esi
push edi
mov esi, dword [esp + 0xfc]
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0xac]
push edx
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0xbc]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x40]
push ecx
push 0
push 0
push 0
push esi
mov dword [esp + 0x118], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x435730
mov eax, dword [esp + 0xf8]
add eax, 0xfffffff0
mov dword [esp + 0xe8], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x435e61
mov eax, dword [esp + 0x28]
inc eax
push eax
call fcn.0046b3ee
add esp, 4
test eax, eax
mov dword [esp + 0x1c], eax
je 0x435e3f
push str.k__
lea ecx, [esp + 0x58]
call fcn.00405920
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0xec], 1
call fcn.0044c3f0
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov byte [esp + 0xe8], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435790
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xf8]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x4358e9
mov eax, dword [esp + 0xf4]
test eax, eax
push ecx
lea edx, [esp + 0xfc]
mov dword [esp + 0x24], esp
mov ecx, esp
push edx
jne 0x43589f
call fcn.004023e0
lea eax, [esp + 0x18]
push eax
call fcn.00434c00
add esp, 8
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
mov bl, 4
push str.name
mov byte [esp + 0xf4], bl
call fcn.00405920
lea ecx, [esp + 0x18]
push ecx
call fcn.00434c00
add esp, 8
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xf0], 5
call fcn.0044c460
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0xe8], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435831
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xe8], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435857
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
test eax, eax
ja 0x435883
mov eax, dword [esp + 0x2c]
test eax, eax
ja 0x435883
mov ebp, dword [esp + 0xf0]
push 1
push 1
push 1
push ebp
lea ecx, [esp + 0x80]
call fcn.0044c710
jmp 0x4358f0
mov eax, dword [esp + 0xf0]
push 1
push 1
push 1
push eax
lea ecx, [esp + 0x80]
call fcn.0044c530
jmp 0x4358e9
call fcn.004023e0
lea eax, [esp + 0x14]
push eax
call fcn.00434c00
add esp, 8
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0xec], 6
call fcn.0044c3e0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0xe8], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4358e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ebp, dword [esp + 0xf0]
mov eax, dword [0x49a448]
inc eax
lea ecx, [esp + 0x5c]
mov dword [0x49a448], eax
call fcn.004660f0
lea eax, [esp + 0x5c]
push eax
push esi
mov byte [esp + 0xf0], 7
call fcn.00435150
mov eax, dword [esp + 0x6c]
xor ecx, ecx
add esp, 8
test eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
jle 0x435cf3
mov edx, dword [esp + 0x60]
mov esi, dword [edx + ecx*4]
test esi, esi
je 0x435ce2
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.00416bc0
mov eax, dword [eax]
push str._Default_
push eax
mov byte [esp + 0xf0], 8
call fcn.004578d3
add esp, 8
test eax, eax
jne 0x4359ab
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00416bf0
mov eax, dword [eax]
push str._value_not_set_
push eax
call fcn.004578d3
mov edi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4359a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test edi, edi
jne 0x4359ab
xor bl, bl
jmp 0x4359ad
mov bl, 1
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0xe8], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4359d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x435c9c
mov eax, dword [esp + 0xf4]
test eax, eax
mov ebx, dword [esi + 8]
jne 0x435bfd
push 0x484928
lea ecx, [esp + 0x48]
call fcn.00405920
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0xec], 9
call fcn.0044c3f0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0xe8], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435a36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push eax
mov ecx, esi
call fcn.00416bc0
lea ecx, [esp + 0x5c]
push ecx
call fcn.00434c00
add esp, 8
mov edi, eax
push str.name
lea ecx, [esp + 0x54]
mov byte [esp + 0xec], 0xc
call fcn.00405920
push edi
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0xf0], 0xd
call fcn.0044c460
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov byte [esp + 0xe8], 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435aa6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
mov byte [esp + 0xe8], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435acc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push eax
mov ecx, esi
call fcn.00416bf0
lea ecx, [esp + 0x44]
push ecx
call fcn.00434c00
add esp, 8
mov edi, eax
push str.value
lea ecx, [esp + 0x40]
mov byte [esp + 0xec], 0xe
call fcn.00405920
push edi
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0xf0], 0xf
call fcn.0044c460
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0xe8], 0xe
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435b3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0xe8], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435b62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp ebx, 1
je 0x435bd1
test ebx, ebx
je 0x435bd1
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push ebx
push eax
call fcn.00434990
lea ecx, [esp + 0x58]
add esp, 8
push ecx
call fcn.00434c00
add esp, 8
mov edi, eax
push str.type
lea ecx, [esp + 0x34]
mov byte [esp + 0xec], 0x10
call fcn.00405920
push edi
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0xf0], 0x11
call fcn.0044c460
lea ecx, [esp + 0x30]
call fcn.00413d20
lea ecx, [esp + 0x4c]
mov byte [esp + 0xe8], 0xb
call fcn.00413d20
push 1
push 1
push 1
push ebp
lea ecx, [esp + 0xc4]
call fcn.0044c710
lea ecx, [esp + 0xb4]
mov byte [esp + 0xe8], 7
call fcn.00410870
jmp 0x435c9c
push ecx
mov edx, esp
mov dword [esp + 0x1c], esp
push edx
mov ecx, esi
call fcn.00416bf0
lea eax, [esp + 0x4c]
push eax
call fcn.00434c00
add esp, 8
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push ecx
mov ecx, esi
mov byte [esp + 0xf4], 0x12
call fcn.00416bc0
lea edx, [esp + 0x40]
push edx
call fcn.00434c00
add esp, 8
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xf0], 0x13
call fcn.0044c460
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0xe8], 0x12
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435c76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov byte [esp + 0xe8], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435c9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435cb9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435cd5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push esi
call fcn.0046b3f3
mov ecx, dword [esp + 0x18]
add esp, 4
mov eax, dword [esp + 0x20]
inc ecx
cmp ecx, eax
mov dword [esp + 0x14], ecx
jl 0x435930
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x435d2b
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x435d2b
mov eax, dword [esp + 0x24]
test eax, eax
push 1
push 1
push 1
lea ecx, [esp + 0x7c]
push ebp
jbe 0x435d26
call fcn.0044c530
jmp 0x435d2b
call fcn.0044c710
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
lea esp, [esp]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0xac]
push edx
mov edx, dword [esp + 0x100]
push 0
push 0
push 0
inc ecx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x30]
push ecx
push edi
push edx
call ebx
mov esi, eax
test esi, esi
jne 0x435dd3
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x435dd3
mov ecx, dword [esp + 0x1c]
mov byte [eax + ecx], 0
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, dword [esp + 0x104]
push ecx
call ebp
test eax, eax
jne 0x435dd3
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00405920
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0xf8]
push ecx
push edx
call fcn.00435690
add esp, 0x10
test eax, eax
je 0x435e1d
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
test esi, esi
je 0x435d40
mov esi, dword [esp + 0xf8]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x435e8d
mov eax, dword [esp + 0xf4]
test eax, eax
mov eax, dword [esp + 0x24]
jne 0x435e6f
test eax, eax
ja 0x435e0d
mov eax, dword [esp + 0x2c]
test eax, eax
jbe 0x435e8d
mov eax, dword [esp + 0xf0]
push 1
push 1
push 0xffffffffffffffff
push eax
jmp 0x435e81
lea ecx, [esp + 0x5c]
mov byte [esp + 0xe8], 3
call fcn.00466107
lea ecx, [esp + 0x70]
mov byte [esp + 0xe8], 0
call fcn.00410870
mov eax, dword [esp + 0xf8]
add eax, 0xfffffff0
mov dword [esp + 0xe8], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435e6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x435ee6
test eax, eax
jbe 0x435e8d
mov ecx, dword [esp + 0xf0]
push 1
push 1
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x80]
call fcn.0044cad0
mov edx, dword [esp + 0x1c]
push edx
call fcn.0046b3f3
add esp, 4
lea ecx, [esp + 0x5c]
mov byte [esp + 0xe8], 3
call fcn.00466107
lea ecx, [esp + 0x70]
mov byte [esp + 0xe8], 0
call fcn.00410870
lea eax, [esi - 0x10]
mov dword [esp + 0xe8], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435ee1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0xe0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xdc
ret