Function at 0x434310
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5e5a
mov eax, dword fs:[0]
push eax
mov eax, 0x1074
call fcn.004b4a40
mov eax, dword [0x50f52c]
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
xor eax, eax
mov esi, ecx
mov dword [ebp - 0x103c], eax
mov edi, dword [esi + 0x54]
mov ecx, dword [esi + 0x34]
push eax
neg edi
lea ebx, [esi + 0x20]
push 0x4e25d8
sbb edi, edi
push ecx
and edi, 0x100
push eax
mov ecx, ebx
mov dword [ebp - 0x1030], eax
or edi, 0x20019
call fcn.00401fe0
test eax, eax
jne 0x4343c9
cmp dword [esi + 0x1c], 8
mov dword [ebp - 0x1034], eax
jb 0x43438f
mov eax, dword [esi + 8]
jmp 0x434392
lea eax, [esi + 8]
lea edx, [ebp - 0x1034]
push edx
push edi
push 0
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, 1
test eax, eax
je 0x4343b5
mov esi, dword [ebp - 0x1030]
mov ecx, dword [ebp - 0x1034]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x43461d
cmp dword [esi + 0x1c], 8
mov dword [ebp - 0x1038], 0
jb 0x4343de
mov eax, dword [esi + 8]
jmp 0x4343e1
lea eax, [esi + 8]
lea edx, [ebp - 0x1038]
push edx
push edi
push 0
push eax
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43460a
xor ecx, ecx
cmp dword [ebx + 0x18], 8
mov dword [ebp - 0x1034], ecx
mov dword [ebp - 0x1040], ecx
jb 0x434416
mov eax, dword [ebx + 4]
jmp 0x434419
lea eax, [ebx + 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 0x1040]
push edx
push ecx
lea edx, [ebp - 0x1034]
push edx
push ecx
push eax
mov eax, dword [ebp - 0x1038]
push eax
call edi
test eax, eax
je 0x434448
cmp eax, 0xea
jne 0x43460a
cmp dword [ebp - 0x1040], 0x1000
jae 0x43460a
mov ecx, dword [esi + 0x4c]
cmp ecx, dword [ebp - 0x1034]
jne 0x43460a
push 0xfff
lea edx, [ebp - 0x100f]
push 0
push edx
mov byte [ebp - 0x1010], 0
call fcn.004b32f0
add esp, 0xc
cmp dword [ebx + 0x18], 8
jb 0x43448f
mov ebx, dword [ebx + 4]
jmp 0x434492
add ebx, 4
lea eax, [ebp - 0x1040]
push eax
mov eax, dword [ebp - 0x1038]
lea ecx, [ebp - 0x1010]
push ecx
lea edx, [ebp - 0x1034]
push edx
push 0
push ebx
push eax
call edi
mov eax, dword [esi + 0x4c]
mov ebx, 1
sub eax, ebx
je 0x4344ed
sub eax, 3
jne 0x43460a
mov esi, dword [esi + 0x44]
cmp esi, dword [ebp - 0x1010]
je 0x4344e2
test esi, esi
je 0x4344e2
mov dword [ebp - 0x1030], eax
jmp 0x43460a
mov dword [ebp - 0x1030], ebx
jmp 0x43460a
cmp dword [esi + 0x58], 0
je 0x43455a
lea ecx, [ebp - 0x1010]
push ecx
lea ecx, [ebp - 0x102c]
call fcn.004019e0
mov dword [ebp - 4], 0
mov edx, dword [esi + 0x44]
push 0
push edx
lea ecx, [ebp - 0x1048]
call fcn.004163c0
mov byte [ebp - 4], 1
push 0
push eax
lea eax, [ebp - 0x102c]
push eax
call fcn.0041d850
movzx ecx, al
mov dword [ebp - 0x1030], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1048]
call fcn.00436f10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x102c]
jmp 0x434605
mov edx, dword [esi + 0x44]
push edx
lea ecx, [ebp - 0x1080]
call fcn.004019e0
mov edi, 2
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x1010]
push ecx
push eax
mov dword [ebp - 0x103c], ebx
call fcn.00402330
add esp, 8
test al, al
jne 0x4345c4
mov edx, dword [esi + 0x44]
push edx
lea ecx, [ebp - 0x1064]
call fcn.004019e0
mov ebx, 3
mov dword [ebp - 4], ebx
push 0x4e25d8
push eax
mov dword [ebp - 0x103c], ebx
call fcn.00402330
add esp, 8
mov dword [ebp - 0x1030], 0
test al, al
je 0x4345ce
mov dword [ebp - 0x1030], 1
mov dword [ebp - 4], edi
test bl, 2
je 0x4345ea
and ebx, 0xfffffffd
lea ecx, [ebp - 0x1064]
mov dword [ebp - 0x103c], ebx
call fcn.00490320
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x43460a
and ebx, 0xfffffffe
mov dword [ebp - 0x103c], ebx
lea ecx, [ebp - 0x1080]
call fcn.00490320
mov eax, dword [ebp - 0x1038]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1030]
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.004b3057
mov esp, ebp
pop ebp
ret