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

Disassembly:
push 0x24c
mov eax, 0x4d9b50
call fcn.004c7549
mov eax, dword [ebp + 8]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 0xc]
mov edi, ecx
mov dword [ebp - 0x244], eax
mov eax, dword [ebp + 0x10]
xor esi, esi
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x224], esi
call fcn.0044fa72
lea eax, [ebp - 0x218]
push eax
xor ebx, ebx
inc ebx
push ebx
push esi
push dword [ebp - 0x244]
mov dword [ebp - 4], ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call edi
cmp eax, esi
je 0x464431
mov eax, reloc.WS2_32.dll_bind
cmp dword [ebp - 0x220], eax
jne 0x464399
lea ecx, [ebp - 0x218]
push ecx
push ebx
push esi
push dword [0x548e2c]
push eax
call edi
test eax, eax
je 0x4642dc
mov ecx, dword [ebp - 0x214]
lea eax, [ebp - 0x23c]
push eax
call fcn.0044fe2a
jmp 0x4644e9
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x21c]
push eax
push esi
lea eax, [ebp - 0x228]
push eax
push esi
push dword [0x548e28]
push dword [ebp - 0x218]
call edi
test eax, eax
jne 0x4644d7
push dword [ebp - 0x21c]
call fcn.0044fe9f
pop ecx
lea ecx, [ebp - 0x21c]
push ecx
push eax
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x228]
push eax
push esi
push dword [0x548e28]
push dword [ebp - 0x218]
call edi
push 0xffffffffffffffff
push dword [ebp - 0x240]
lea ecx, [ebp - 0x254]
call fcn.0044fd1d
push dword [ebp - 0x240]
mov byte [ebp - 4], 2
call fcn.0044fec0
push esi
push dword [ebp - 0x250]
call sub.MSVCR100.dll_strtod
fld qword [0x4f6088]
fcomp st(1)
add esp, 0xc
fnstsw ax
test ah, 0x41
jnp 0x46450a
fldz
fcompp
fnstsw ax
test ah, 1
je 0x46450c
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], bl
call fcn.0044faae
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp - 0x244]
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x4644d7
lea edi, [ebp - 0x254]
call fcn.00463ad2
push dword [eax + 8]
lea ecx, [ebp - 0x23c]
push dword [eax + 4]
mov byte [ebp - 4], 3
call fcn.0044fae3
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.0044faae
push 0xff
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x23c]
call fcn.0044fa5c
mov eax, dword [ebp - 0x234]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x210]
push eax
push ebx
push esi
push dword [ebp - 0x22c]
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x21c]
push eax
push esi
lea eax, [ebp - 0x228]
push eax
push esi
push dword [ebp - 0x22c]
push dword [ebp - 0x218]
call edi
cmp eax, esi
jne 0x4644cb
push dword [ebp - 0x21c]
call fcn.0044fe9f
pop ecx
lea ecx, [ebp - 0x21c]
push ecx
push eax
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x228]
push eax
push esi
push dword [ebp - 0x22c]
push dword [ebp - 0x218]
call edi
push 0xffffffffffffffff
push dword [ebp - 0x220]
lea ecx, [ebp - 0x254]
call fcn.0044fd1d
push dword [eax + 8]
lea ecx, [ebp - 0x23c]
push dword [eax + 4]
mov byte [ebp - 4], 4
call fcn.0044fae3
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], bl
call fcn.0044faae
push dword [ebp - 0x220]
call fcn.0044fec0
pop ecx
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x214]
lea eax, [ebp - 0x23c]
push eax
call fcn.0044fe2a
mov dword [ebp - 0x224], ebx
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0
call fcn.0044faae
mov eax, dword [ebp - 0x214]
call fcn.004c7593
ret
fstp st(0)
mov ecx, dword [ebp - 0x214]
lea eax, [ebp - 0x23c]
push eax
call fcn.0044fe2a
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x224], ebx
mov byte [ebp - 4], bl
call fcn.0044faae
jmp 0x4644ef