Function at 0x437d10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4779b0
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x4bb050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x148], ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x134]
mov dword [ebp - method.t_reg.virtual_0], vtable.t_reg.0
call fcn.00434790
push 8
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x130], 7
call fcn.00435000
cmp byte [ebp - 0x18], 0
lea eax, [ebp - 0x128]
movups xmm0, xmmword [str.MACHINE]
cmove eax, dword [ebp - 0x12c]
movups xmmword [eax + 4], xmm0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x13c]
test eax, eax
je 0x437dbc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x13c], 0
test esi, esi
je 0x437e2a
cmp word [esi], 0
je 0x437e2a
push 0x49b470
lea eax, [ebp - 0x134]
push 0x49c2fc
push eax
call fcn.00434d80
push esi
lea eax, [ebp - 0x134]
push 0x49c2fc
push eax
call fcn.00434d80
add esp, 0x18
lea eax, [ebp - 0x13c]
push eax
push 0x20019
push 0
push esi
push dword [ebp - 0x138]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x437ea3
mov dword [ebp - 0x14c], 0x49c280
jmp 0x437e5c
push 0
lea eax, [ebp - 0x13c]
push eax
push 0
push 0x20019
push 0
push 0
push 0
push 0
push dword [ebp - 0x138]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x437ea3
mov dword [ebp - 0x14c], 0x49c26c
cmp byte [ebp - 0x18], 0
lea edi, [ebp - 0x128]
mov ecx, dword [ebp - 0x148]
cmove edi, dword [ebp - 0x12c]
push eax
call fcn.0042c5d0
push dword [ebp - 0x14c]
mov esi, eax
push 0x49c2fc
push esi
call fcn.00434d80
lea ecx, [edi + 4]
push ecx
push 0x49c2fc
push esi
call fcn.00434d80
add esp, 0x18
jmp 0x437fd1
lea esi, [edi + 8]
mov dword [edi + 0x120], 0x105
push 0x105
mov ecx, esi
call fcn.00435000
cmp byte [esi + 0x114], 0
lea eax, [esi + 4]
jne 0x437eca
mov eax, dword [esi]
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x14c], 0
push ecx
add eax, 4
mov dword [ebp - 0x154], 0x208
push eax
lea eax, [ebp - 0x14c]
push eax
push 0
push 0
push dword [ebp - 0x13c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
test ecx, ecx
je 0x437f4a
cmp byte [ebp - 0x18], 0
lea eax, [ebp - 0x128]
push ecx
cmove eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x150], eax
call fcn.0042c5d0
push 0x49c294
push 0x49c2fc
push eax
mov dword [ebp - 0x158], eax
call fcn.00434d80
mov ecx, dword [ebp - 0x158]
add esp, 0xc
jmp 0x437f80
cmp dword [ebp - 0x14c], 1
je 0x437fea
cmp byte [ebp - 0x18], 0
lea eax, [ebp - 0x128]
mov ecx, dword [ebp - 0x148]
cmove eax, dword [ebp - 0x12c]
push 0x49c2a4
mov dword [ebp - 0x150], eax
call fcn.0042c400
mov ecx, eax
mov eax, dword [ebp - 0x150]
add eax, 4
push eax
push 0x49c2fc
push ecx
call fcn.00434d80
add esp, 0xc
cmp dword [edi + 0x120], 0
je 0x437fab
mov dword [edi + 0x120], 0
push 1
mov ecx, esi
mov dword [edi + 4], 0
call fcn.00435000
cmp byte [esi + 0x114], 0
je 0x437fc9
add esi, 4
jmp 0x437fcb
mov esi, dword [esi]
xor eax, eax
mov word [esi + 4], ax
mov ecx, dword [ebp - 0x148]
push 0x49dab4
call fcn.0042c400
mov byte [ebp - 0x141], 0
jmp 0x437ff8
mov ecx, edi
call fcn.00434ca0
mov byte [ebp - 0x141], 1
mov eax, dword [ebp - 0x13c]
mov dword [ebp - method.t_reg.virtual_0], vtable.t_reg.0
test eax, eax
je 0x438013
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x18], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x438046
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
cmp eax, ecx
je 0x438046
push eax
call fcn.0045dc2d
add esp, 4
mov al, byte [ebp - 0x141]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045a329
mov esp, ebp
pop ebp
ret