Function at 0x45b650
Capabilities:
Access peb ldr_data
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4bd291
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
push esi
push edi
lea eax, [esp + 0x30]
push eax
mov esi, ecx
xor edi, edi
call fcn.00405f10
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
mov dword [esp + 0xdc], edi
call fcn.00405ed0
mov ebx, dword [esp + 0xe4]
mov esi, dword [esp + 0xe0]
mov byte [esp + 0xd8], 1
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
call dword [edx + 4]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x30]
call dword [eax + 4]
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 0x34]
je 0x45b6e5
push 0x1509
push str..._.._.._Common_MiscMultiFieldBlob.h
push str.m_pBlob__rhs.m_pBlob
push str.Same_m_pBlob
call fcn.00421210
mov ecx, eax
call fcn.00421040
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x38]
je 0x45b8c3
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
call dword [eax + 4]
lea ecx, [esp + 0xc]
call fcn.0041cc40
dec eax
je 0x45b7dc
dec eax
je 0x45b784
dec eax
jne 0x45b83a
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
call dword [edx + 4]
lea ecx, [esp + 0xc]
call fcn.0041c9f0
cmp eax, 2
jne 0x45b848
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
or edi, 8
call dword [eax + 4]
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x10]
call fcn.0041e8f0
xor edx, edx
test esi, esi
mov dx, word [eax]
mov dword [esp + 0x1c], edx
je 0x45b83a
push ebx
push esi
lea eax, [esp + 0x24]
push eax
push str.SubscriptionStatus
call fcn.004274a0
add esp, 0x10
lea ecx, [esp + 0xc]
call fcn.00403df0
jmp 0x45b6a5
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
call dword [edx + 4]
lea ecx, [esp + 0xc]
call fcn.0041c9f0
cmp eax, 8
jne 0x45b86d
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
or edi, 4
call dword [eax + 4]
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x10]
call fcn.0041e8f0
test esi, esi
mov ecx, dword [eax]
mov eax, dword [eax + 4]
je 0x45b83a
push ebx
push esi
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
push str.UnsubscribedDate
jmp 0x45b832
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
call dword [eax + 4]
lea ecx, [esp + 0xc]
call fcn.0041c9f0
cmp eax, 8
jne 0x45b89b
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
or edi, 2
call dword [edx + 4]
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x10]
call fcn.0041e8f0
test esi, esi
mov ecx, dword [eax]
mov eax, dword [eax + 4]
je 0x45b83a
push ebx
mov dword [esp + 0x24], ecx
push esi
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x30], eax
push str.SubscribedDate
call fcn.0042af70
add esp, 0x10
lea ecx, [esp + 0xc]
call fcn.00403df0
jmp 0x45b6a5
push str.Bad_eSubscriptionStatus_field_CAccountSubscriptionRecord
lea ecx, [esp + 0x44]
call fcn.0040a320
push 0x4f79cc
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x48], vtable.Grid::CAccountSubscriptionRecord::CValidateFieldsException.0
call fcn.0049e394
push str.Bad_UnsubscribedDate_field_in_CAccountSubscriptionRecord
lea ecx, [esp + 0xa8]
call fcn.0040a320
push 0x4f79cc
lea eax, [esp + 0xa8]
push eax
mov dword [esp + 0xac], vtable.Grid::CAccountSubscriptionRecord::CValidateFieldsException.0
call fcn.0049e394
push str.Bad_eSubscribedDate_field_CAccountSubscriptionRecord
lea ecx, [esp + 0x7c]
call fcn.0040a320
push 0x4f79cc
lea ecx, [esp + 0x7c]
push ecx
mov dword [esp + 0x80], vtable.Grid::CAccountSubscriptionRecord::CValidateFieldsException.0
call fcn.0049e394
mov edx, edi
and edx, 0xa
cmp dl, 0xa
mov byte [esp + 0xd8], 0
mov dword [esp + 0xc], vtable.common::CMultiFieldBlob::index_iterator_impl.0
je 0x45b977
lea eax, [esp + 0x78]
push edi
push eax
call fcn.0040deb0
push eax
lea ecx, [esp + 0xb0]
push str.Missing_field_in_CAccountSubscriptionRecord:
push ecx
mov byte [esp + 0xec], 2
call fcn.00407fc0
add esp, 0x14
mov esi, eax
mov bl, 3
lea ecx, [esp + 0x40]
mov byte [esp + 0xd8], bl
call fcn.0049e7ab
push 0xffffffffffffffff
push 0
push esi
lea ecx, [esp + 0x58]
mov byte [esp + 0xe4], 4
mov dword [esp + 0x4c], vtable.common::ICloneableException.0
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
call fcn.00405f50
push 0x4f79cc
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x70], 0
mov byte [esp + 0xe0], bl
mov dword [esp + 0x48], vtable.Grid::CAccountSubscriptionRecord::CValidateFieldsException.0
call fcn.0049e394
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xd0
ret 8