Function at 0x450610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x490f16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
push edi
mov eax, dword [esi]
lea ecx, [esp + 0x10]
xor edi, edi
push ecx
mov ecx, esi
mov dword [esp + 0x14], edi
call dword [eax + 0xc]
test eax, eax
jne 0x45065b
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], edi
push eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edx
call fcn.00445a80
add esp, 4
cmp eax, edi
je 0x450891
push ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push ebp
push 0xc
call sub.MFC42u.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
cmp esi, edi
mov dword [esp + 0x34], edi
je 0x4506cd
mov ebp, 1
push 0x4b99c0
mov dword [esi + 4], edi
mov dword [esi + 8], ebp
call ebx
cmp eax, edi
mov dword [esi], eax
jne 0x4506d4
mov ecx, 0x4b99c0
test ecx, ecx
je 0x4506d4
push 0x8007000e
call fcn.00436b27
jmp 0x4506d4
xor esi, esi
mov ebp, 1
cmp esi, edi
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x14], esi
jne 0x4506ee
push 0x8007000e
call fcn.00436b27
push 0xc
mov dword [esp + 0x38], ebp
call sub.MFC42u.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
cmp esi, edi
mov byte [esp + 0x34], 2
je 0x450733
push 0x4b99c0
mov dword [esi + 4], edi
mov dword [esi + 8], ebp
call ebx
cmp eax, edi
mov dword [esi], eax
jne 0x450735
mov edx, 0x4b99c0
test edx, edx
je 0x450735
push 0x8007000e
call fcn.00436b27
jmp 0x450735
xor esi, esi
cmp esi, edi
mov byte [esp + 0x34], 1
mov dword [esp + 0x10], esi
jne 0x45074c
push 0x8007000e
call fcn.00436b27
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push 0x4b6614
push ecx
mov byte [esp + 0x40], 3
call fcn.00445990
lea edx, [esp + 0x1c]
lea eax, [esp + 0x30]
push edx
push str.value
push eax
call fcn.00445990
mov eax, dword [esp + 0x28]
add esp, 0x18
cmp eax, edi
je 0x450795
mov eax, dword [eax]
cmp eax, edi
je 0x450795
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, edi
jne 0x4507a8
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x20]
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4507e8
mov eax, dword [eax]
cmp eax, edi
je 0x4507e8
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, edi
jbe 0x4507e8
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x4507cd
mov ecx, dword [eax]
jmp 0x4507cf
xor ecx, ecx
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4507db
mov eax, dword [eax]
jmp 0x4507dd
xor eax, eax
push ecx
mov ecx, dword [esp + 0x20]
push eax
call fcn.004503e0
lea ecx, [esp + 0x24]
push ecx
call fcn.00445ac0
mov esi, dword [esp + 0x14]
add esp, 4
cmp esi, edi
mov ebp, eax
je 0x45083b
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x450837
cmp esi, edi
je 0x450837
mov eax, dword [esi]
cmp eax, edi
je 0x45081e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x45082e
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov dword [esp + 0x10], edi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x34], 0xffffffff
cmp esi, edi
je 0x450887
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x450883
cmp esi, edi
je 0x450883
mov eax, dword [esi]
cmp eax, edi
je 0x45086a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x45087a
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov dword [esp + 0x14], edi
cmp ebp, edi
jne 0x450688
pop ebp
pop ebx
lea ecx, [esp + 0x1c]
push ecx
call fcn.00445ae0
mov ecx, dword [esp + 0x28]
add esp, 4
mov eax, 1
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x28
ret 4