Function at 0x451280
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4d61b1
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], ebx
mov eax, dword [0x51856c]
mov edx, dword [eax + 0xc]
mov ecx, 0x51856c
mov dword [esp + 0x14], vtable.DRegistry.0
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov edi, 1
mov dword [esp + 0x30], edi
mov eax, dword [0x51856c]
mov edx, dword [eax + 0xc]
mov ecx, 0x51856c
call edx
add eax, 0x10
mov dword [esi], eax
push ebx
mov dword [esp + 0x14], edi
push reloc.OLEAUT32.dll_SysReAllocString
mov eax, str.SoftwareDAF8B7E5_449D_4180_8281_10E536E597F2_
lea edi, [esp + 0x1c]
call fcn.0046a3b0
test eax, eax
je 0x451324
push esi
push 0x4f0918
mov ecx, edi
call fcn.0046ab00
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x451337
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x451357
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4

Function at 0x451370
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4d6168
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x513330]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x51856c]
mov edx, dword [eax + 0xc]
mov ecx, 0x51856c
mov dword [esp + 0x14], vtable.DRegistry.0
call edx
xor ebp, ebp
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x24]
push ebp
push reloc.gdiplus.dll_Ordinal_1
lea edi, [esp + 0x1c]
xor esi, esi
call fcn.0046a3b0
mov edi, dword [esp + 0x20]
test eax, eax
je 0x45141e
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push ecx
push edx
lea eax, [esp + 0x40]
push eax
push ebp
push str.Info
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebp
jne 0x451415
mov eax, dword [esp + 0x38]
sub eax, 3
neg eax
sbb eax, eax
and eax, 0xd
xor ecx, ecx
cmp eax, ebp
sete cl
mov esi, ecx
cmp esi, ebp
setne bl
mov dword [esp + 0x30], 0xffffffff
cmp edi, ebp
je 0x451436
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x451456
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc