Function at 0x428d1e
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
sub esp, 0x200
lea ebp, [esp - 4]
mov eax, dword [0x5636c8]
xor eax, ebp
mov dword [ebp + 0x200], eax
push 0x48
mov eax, 0x4ec146
call fcn.00495410
mov eax, dword [ebp + 0x20c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x210]
mov edi, ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x214]
xor esi, esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], esi
call fcn.00414a56
lea eax, [ebp - 0x14]
push eax
xor ebx, ebx
inc ebx
push ebx
push esi
push dword [ebp - 0x40]
mov dword [ebp - 4], ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call edi
cmp eax, esi
je 0x428ec6
mov eax, reloc.OLEAUT32.dll_SysReAllocString
cmp dword [ebp - 0x1c], eax
jne 0x428e57
lea ecx, [ebp - 0x14]
push ecx
push ebx
push esi
push dword [0x55fe68]
push eax
call edi
test eax, eax
je 0x428dc1
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x38]
push eax
call fcn.00414e04
jmp 0x428f43
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x24]
push eax
push esi
push dword [0x55fe64]
push dword [ebp - 0x14]
call edi
test eax, eax
jne 0x428f37
push dword [ebp - 0x18]
call fcn.00414e79
pop ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x24]
push eax
push esi
push dword [0x55fe64]
push dword [ebp - 0x14]
call edi
push 0xffffffffffffffff
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x50]
call fcn.00414cfc
push dword [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00414e92
push esi
push dword [ebp - 0x4c]
call sub.MSVCR90.dll_strtod
fld qword [0x509308]
fcomp st(1)
add esp, 0xc
fnstsw ax
test ah, 0x41
jnp 0x428f78
fldz
fcompp
fnstsw ax
test ah, 1
je 0x428f7a
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.00414a92
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp - 0x40]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x428f37
lea edi, [ebp - 0x50]
call fcn.00428637
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.004064e0
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.00414a92
push 0xff
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x38]
call fcn.00414a42
mov eax, dword [ebp - 0x30]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp]
push eax
push ebx
push esi
push dword [ebp - 0x28]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x24]
push eax
push esi
push dword [ebp - 0x28]
push dword [ebp - 0x14]
call edi
cmp eax, esi
jne 0x428f2e
push dword [ebp - 0x18]
call fcn.00414e79
pop ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
push esi
push dword [ebp - 0x28]
push dword [ebp - 0x14]
call edi
push 0xffffffffffffffff
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x50]
call fcn.00414cfc
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.004064e0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.00414a92
push dword [ebp - 0x1c]
call fcn.00414e92
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x38]
push eax
call fcn.00414e04
mov dword [ebp - 0x20], ebx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00414a92
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.00494f67
add ebp, 0x204
leave
ret
fstp st(0)
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x38]
push eax
call fcn.00414e04
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], bl
call fcn.00414a92
jmp 0x428f46