Function at 0x44d530
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4373
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x507254]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x24]
push eax
push 0x201
push 0
push ebx
push ecx
mov dword [ebp - 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
je 0x44d605
push str.GetRegKeyValue
mov edx, 4
lea ecx, [ebp - 0xd8]
call fcn.004090a0
add esp, 4
mov esi, eax
mov dword [ebp - 4], 0
mov al, byte [esi + 0x48]
test al, al
je 0x44d5f3
mov edx, str.RegOpenKeyEx
mov ecx, esi
call fcn.0040cb90
mov al, byte [esi + 0x48]
test al, al
je 0x44d5f3
push ebx
push esi
call fcn.00412180
mov al, byte [esi + 0x48]
add esp, 8
test al, al
je 0x44d5f3
mov edx, str._failed
mov ecx, esi
call fcn.0040cb90
mov al, byte [esi + 0x48]
test al, al
je 0x44d5f3
push edi
mov ecx, esi
call fcn.0040b230
lea ecx, [ebp - 0xd8]
call fcn.00408f30
xor al, al
jmp 0x44d75c
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
lea ecx, [ebp - 0x1c]
push 0x7fff
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00403a50
push 0xfffe
push 0
push eax
lea esi, [eax + 0xfffe]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], esi
call fcn.004a8a30
add esp, 0xc
mov dword [ebp - 0x18], esi
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
sub esi, ecx
sar esi, 1
lea eax, [esi + esi]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push ecx
push 0
push 0
push ebx
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x44d6ab
mov esi, dword [ebp - 0x1c]
mov edx, esi
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x44d690
sub edx, ecx
mov ecx, dword [ebp - 0x2c]
sar edx, 1
push edx
push esi
call fcn.00403940
jmp 0x44d719
push str.GetRegKeyValue
mov edx, 4
lea ecx, [ebp - 0x180]
call fcn.004090a0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 2
mov al, byte [esi + 0x48]
test al, al
je 0x44d70e
mov edx, str.RegQueryValueEx
mov ecx, esi
call fcn.0040cb90
mov al, byte [esi + 0x48]
test al, al
je 0x44d70e
push ebx
push esi
call fcn.00412180
mov al, byte [esi + 0x48]
add esp, 8
test al, al
je 0x44d70e
mov edx, str._failed
mov ecx, esi
call fcn.0040cb90
cmp byte [esi + 0x48], 0
je 0x44d70e
push edi
mov ecx, esi
call fcn.0040b230
lea ecx, [ebp - 0x180]
call fcn.00408f30
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x1c]
test edi, edi
sete bl
test edx, edx
je 0x44d75a
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x44d750
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d778
push ecx
push edx
call fcn.004a6287
add esp, 8
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 - 0x10]
xor ecx, ebp
call fcn.004a6256
mov esp, ebp
pop ebp
ret
call fcn.004ab23f
int3