Function at 0x406af0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x40cb20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x415218]
push ebx
push ebp
push edi
mov edi, ecx
mov ecx, 0x415218
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [edi + 0x30]
push ecx
lea edx, [esp + 0x10]
push 0x40fd94
push edx
mov byte [esp + 0x38], 3
call fcn.004056e0
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp eax, ebx
jne 0x406b91
xor ebp, ebp
mov dword [esp + 0x18], ebp
push esi
cmp ebp, ebx
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x30], 4
je 0x406bac
push 0
call esi
push ebp
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push ebp
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
test eax, eax
mov dword [esp + 0x18], eax
jne 0x406bac
push 0x8007000e
call fcn.00401280
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebp, eax
cmp ebp, ebx
mov dword [esp + 0x18], ebp
jne 0x406b5c
push 0x8007000e
call fcn.00401280
push ebp
mov byte [esp + 0x34], 3
call esi
mov eax, dword [edi + 0x4c]
push eax
lea ecx, [esp + 0x14]
push 0x40fd94
push ecx
call fcn.004056e0
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x406c08
xor ebp, ebp
mov dword [esp + 0x1c], ebp
test ebp, ebp
mov byte [esp + 0x30], 5
je 0x406c23
push 0
call esi
push ebp
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push ebp
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
test eax, eax
mov ebx, eax
mov dword [esp + 0x20], ebx
jne 0x406c23
push 0x8007000e
call fcn.00401280
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x1c], ebp
jne 0x406bd8
push 0x8007000e
call fcn.00401280
push ebp
mov byte [esp + 0x34], 3
call esi
mov ebp, dword [esp + 0x38]
push ebp
lea ecx, [esp + 0x1c]
call fcn.00401720
test eax, eax
jge 0x406c88
push 0
push str.CHpodRenditionMgr::Save_stream____WriteToStream___call_failed_for_cache_size.
mov ecx, edi
call fcn.00402e50
push ebx
mov edi, eax
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
push 0
call esi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406c81
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, edi
jmp 0x406ea7
push ebp
lea ecx, [esp + 0x24]
call fcn.00401720
test eax, eax
jge 0x406cb0
push 0
push str.CHpodRenditionMgr::Save_stream____WriteToStream___call_failed_for_clock_position.
mov ecx, edi
call fcn.00402e50
push ebx
mov edi, eax
call esi
mov eax, dword [esp + 0x18]
push eax
jmp 0x406c55
mov eax, dword [edi + 0x34]
push eax
lea ecx, [esp + 0x14]
push 0x40fd94
push ecx
call fcn.004056e0
mov edx, dword [esp + 0x1c]
add esp, 0xc
push edx
lea ecx, [esp + 0x18]
call fcn.00401490
push ebp
lea ecx, [esp + 0x18]
call fcn.00401720
test eax, eax
jge 0x406cf7
push 0
push str.CHpodRenditionMgr::Save_stream____WriteToStream___call_failed_for_X_bounding_box_dimension.
mov ecx, edi
call fcn.00402e50
mov edi, eax
jmp 0x406e3c
mov eax, dword [edi + 0x38]
push eax
lea ecx, [esp + 0x14]
push 0x40fd94
push ecx
call fcn.004056e0
mov edx, dword [esp + 0x1c]
add esp, 0xc
push edx
lea ecx, [esp + 0x18]
call fcn.00401490
push ebp
lea ecx, [esp + 0x18]
call fcn.00401720
test eax, eax
jge 0x406d3e
push 0
push str.CHpodRenditionMgr::Save_stream____WriteToStream___call_failed_for_Y_bounding_box_dimension.
mov ecx, edi
call fcn.00402e50
mov edi, eax
jmp 0x406e3c
mov ecx, dword [edi + 0x30]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x1c], eax
jle 0x406da7
mov dword [esp + 0x38], eax
nop
mov ecx, dword [edi + 0x18]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x24]
push eax
add ecx, edx
call fcn.00406910
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 6
call fcn.00402430
mov ecx, dword [esp + 0x24]
push ecx
mov byte [esp + 0x34], 3
call esi
push ebp
lea ecx, [esp + 0x18]
call fcn.00401720
test eax, eax
jl 0x406ddc
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
mov ecx, dword [edi + 0x30]
inc eax
add edx, 0x18
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], edx
jl 0x406d50
mov eax, dword [ebp]
push 0
push ebp
call dword [eax + 0x20]
test eax, eax
jge 0x406e6e
push 0
push str.CHpodRenditionMgr::Save_stream____Commit___call_failed.
mov ecx, edi
call fcn.00402e50
push ebx
mov edi, eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
jmp 0x406c59
mov edx, dword [0x415218]
mov ecx, 0x415218
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
push str.CHpodRenditionMgr::Save_stream____WriteToStream___call_failed_for_cache_entry__d.
push ecx
mov byte [esp + 0x3c], 7
call fcn.004056e0
mov ebp, dword [esp + 0x44]
add esp, 0xc
push 0
push ebp
mov ecx, edi
call fcn.00402e50
mov edi, eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x30], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406e3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push ebx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x406c77
push ebx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406ea5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0x28]
pop esi
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4