Function at 0x437d30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489812
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1164
call fcn.00459bd0
mov eax, dword [0x4ab4ec]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x1024], edi
xor ebx, ebx
movzx eax, byte [edi + 0x51]
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
cmp dword [edi + 0x34], ebx
jne 0x437dc0
mov dword [ebp - 0x101c], ebx
cmp dword [edi + 0x1c], 8
jb 0x437d98
mov ecx, dword [edi + 8]
jmp 0x437d9b
lea ecx, [edi + 8]
lea edx, [ebp - 0x101c]
push edx
push eax
push ebx
push ecx
mov eax, dword [edi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x437db4
mov bl, 1
mov ecx, dword [ebp - 0x101c]
push ecx
jmp 0x437f0a
mov dword [ebp - 0x1020], ebx
cmp dword [edi + 0x1c], 8
jb 0x437dd1
mov ecx, dword [edi + 8]
jmp 0x437dd4
lea ecx, [edi + 8]
lea edx, [ebp - 0x1020]
push edx
push eax
push ebx
push ecx
mov eax, dword [edi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x437f03
mov dword [ebp - 0x101c], ebx
mov dword [ebp - 0x1018], ebx
cmp dword [edi + 0x38], 8
jb 0x437e06
mov eax, dword [edi + 0x24]
jmp 0x437e09
lea eax, [edi + 0x24]
lea ecx, [ebp - 0x1018]
push ecx
push ebx
lea edx, [ebp - 0x101c]
push edx
push ebx
push eax
mov eax, dword [ebp - 0x1020]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call esi
test eax, eax
je 0x437e38
cmp eax, 0xea
jne 0x437f03
cmp dword [ebp - 0x1018], 0x1000
jae 0x437f03
mov ecx, dword [ebp - 0x101c]
mov dword [edi + 0x4c], ecx
mov byte [ebp - 0x1014], bl
push 0xfff
push 0
lea edx, [ebp - 0x1013]
push edx
call fcn.004578d0
add esp, 0xc
mov ebx, 8
cmp dword [edi + 0x38], ebx
jb 0x437e7c
mov eax, dword [edi + 0x24]
jmp 0x437e7f
lea eax, [edi + 0x24]
lea ecx, [ebp - 0x1018]
push ecx
lea edx, [ebp - 0x1014]
push edx
lea ecx, [ebp - 0x101c]
push ecx
push 0
push eax
mov edx, dword [ebp - 0x1020]
push edx
call esi
mov eax, dword [edi + 0x4c]
dec eax
cmp eax, 6
ja case.0x437ea9.3
jmp dword [eax*4 + 0x4380a0]
mov eax, dword [ebp - 0x1018]
shr eax, 1
lea eax, [ebp + eax*2 - 0x1014]
push eax
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x10b4]
call fcn.00437670
mov dword [ebp - 4], 0
cmp dword [eax + 0x18], ebx
jb 0x437ee3
mov eax, dword [eax + 4]
jmp 0x437ee6
add eax, 4
push eax
lea ecx, [edi + 0x3c]
call fcn.00428680
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10b4]
call fcn.00403ac0
mov bl, 1
mov eax, dword [ebp - 0x1020]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045718a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x1014]
push ecx
lea ecx, [edi + 0x3c]
call fcn.00437630
jmp case.0x437ea9.3
mov dword [ebp - 4], 1
lea esi, [ebp - 0x1014]
mov ebx, 2
cmp dword [ebp - 0x1018], 0
jbe 0x437fcf
cmp word [esi], 0
je 0x437f8d
push esi
lea ecx, [ebp - 0x1044]
call fcn.00405d80
mov byte [ebp - 4], bl
lea edx, [ebp - 0x1044]
push edx
lea ecx, [edi + 0x54]
call fcn.00422dc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1044]
call fcn.00403ac0
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x437f92
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2 + 2]
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x437fb0
sub eax, edx
sar eax, 1
add eax, eax
mov ecx, 0xfffffffe
sub ecx, eax
add dword [ebp - 0x1018], ecx
jmp 0x437f51
mov dword [ebp - 4], 0xffffffff
jmp case.0x437ea9.3