Function at 0x434bf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x547495
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
cmp byte [0x5cc2dc], 0
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], 0
je 0x434c57
mov dword [ebp - 0x10], 0x992b90
mov eax, dword [ebp - 0x10]
sub eax, 0x439180
push esi
push eax
movzx eax, word [0x5cc2dc]
push eax
call fcn.004bad80
add esp, 0xc
push dword [ebp + 0xc]
lea eax, [ebp - 0x3c]
push eax
call fcn.00435f50
add esp, 8
mov ebx, dword [ebp + 0x14]
lea ecx, [ebp - 0x3c]
mov edi, dword [ebp + 0x1c]
xor eax, eax
cmp dword [ebp - 0x28], 8
cmovae ecx, dword [ebp - 0x3c]
mov word [ebx], ax
mov word [edi], ax
movzx eax, byte [ebp + 8]
xor eax, 1
sub eax, 0x7fffffff
lea edx, [ebp + 8]
mov dword [ebp + 8], 0
push edx
push 0x20019
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test ecx, ecx
jne 0x434cb4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 1
test ecx, ecx
jne 0x434e8d
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.00433910
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 3
push esi
push eax
call fcn.00433780
add esp, 0x10
cmp byte [0x5cc2dc], 0
mov byte [ebp - 4], 4
je 0x434d16
mov dword [ebp + 0x14], 0x9a8db0
lea eax, [ebp - 0x6c]
mov ecx, dword [ebp + 0x14]
sub ecx, 0x44f350
cmp dword [ebp - 0x58], 8
cmovae eax, dword [ebp - 0x6c]
push eax
movzx eax, word [0x5cc2dc]
push esi
push ecx
push eax
call fcn.004bad80
add esp, 0x10
cmp dword [ebp - 0x58], 8
lea ecx, [ebp - 0x6c]
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp - 0x6c]
add eax, eax
mov dword [ebp + 0x14], eax
lea eax, [ebp + 0x14]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
push 0
push ecx
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
test edx, edx
jne 0x434d7b
mov eax, dword [ebp - 0x14]
cmp eax, 1
je 0x434d58
cmp eax, 2
je 0x434d58
mov edx, 0xd
jmp 0x434d7b
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x434d74
test al, 1
jne 0x434d6d
shr eax, 1
cmp word [ebx + eax*2 - 2], 0
je 0x434d79
mov edx, 0xd
jmp 0x434d7b
xor eax, eax
mov word [ebx], ax
xor edx, edx
cmp byte [0x5cc2dc], 0
je 0x434de5
mov dword [ebp - 0x10], 0x9b03e8
xor eax, eax
mov ecx, dword [ebp - 0x10]
sub ecx, 0x456940
test edx, edx
push ebx
sete al
push eax
movzx eax, word [0x5cc2dc]
push ecx
push eax
call fcn.004bad80
add esp, 0x10
cmp byte [0x5cc2dc], 0
je 0x434de5
mov dword [ebp + 0x1c], 0x9b52b8
lea eax, [ebp - 0x54]
mov ecx, dword [ebp + 0x1c]
sub ecx, 0x45b7e0
cmp dword [ebp - 0x40], 8
cmovae eax, dword [ebp - 0x54]
push eax
movzx eax, word [0x5cc2dc]
push esi
push ecx
push eax
call fcn.004bad80
add esp, 0x10
cmp dword [ebp - 0x40], 8
lea ecx, [ebp - 0x54]
mov eax, dword [ebp + 0x20]
cmovae ecx, dword [ebp - 0x54]
add eax, eax
mov dword [ebp + 0x1c], eax
lea eax, [ebp + 0x1c]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push 0
push ecx
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
test edx, edx
jne 0x434e4a
mov eax, dword [ebp - 0x18]
cmp eax, 1
je 0x434e27
cmp eax, 2
je 0x434e27
mov edx, 0xd
jmp 0x434e4a
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x434e43
test al, 1
jne 0x434e3c
shr eax, 1
cmp word [edi + eax*2 - 2], 0
je 0x434e48
mov edx, 0xd
jmp 0x434e4a
xor eax, eax
mov word [edi], ax
xor edx, edx
cmp byte [0x5cc2dc], 0
je 0x434e7d
xor eax, eax
mov dword [ebp + 8], 0x9bc8ec
mov ecx, dword [ebp + 8]
sub ecx, 0x462dd0
test edx, edx
push edi
sete al
push eax
movzx eax, word [0x5cc2dc]
push ecx
push eax
call fcn.004bad80
add esp, 0x10
lea ecx, [ebp - 0x54]
call fcn.00416700
lea ecx, [ebp - 0x6c]
call fcn.00416700
mov edx, dword [ebp - 0x28]
pop edi
pop esi
pop ebx
cmp edx, 8
jb 0x434ec6
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x434ebc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x434ef6
push edx
push ecx
call fcn.004b9160
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], 7
test eax, eax
je 0x434ee8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0051bb5f
int3