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

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov eax, dword [ecx + 8]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
test byte [0x6b6d7028], 8
jne 0x6b6c3a18
mov edi, dword [edx + 0xc]
lea esi, [edx + 0xc]
cmp edi, esi
je 0x6b6c3913
mov dword [ebp - 0x20], edx
mov ecx, dword [ebx]
jmp 0x6b6c38c6
mov edi, dword [edi]
cmp edi, esi
je 0x6b6c3910
cmp ecx, dword [edi + 8]
jne 0x6b6c38c0
mov edx, dword [edi + 0xc]
cmp dword [ebx + 4], edx
jne 0x6b6c38c0
mov edx, dword [edi + 0x10]
cmp dword [ebx + 8], edx
jne 0x6b6c38c0
mov eax, dword [edi + 0x14]
cmp dword [ebx + 0xc], eax
jne 0x6b6c38c0
mov eax, dword [edi + 0x1c]
xor ebx, ebx
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 4]
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp - 0x1c]
sub esp, 4
mov dword [esi], eax
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov edx, dword [ebp - 0x20]
mov dword [esp + 8], 0x20
mov ecx, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x28], edx
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x24], ecx
mov dword [esp], eax
call ecx
mov ecx, dword [ebp - 0x24]
mov edi, eax
mov eax, dword [ebx]
sub esp, 0xc
mov dword [edi + 0x18], 0
mov dword [edi + 8], eax
mov eax, dword [ebx + 4]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 8], 0x30
mov dword [esp + 4], 8
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ecx
mov edx, dword [ebp - 0x28]
sub esp, 0xc
test eax, eax
mov ebx, eax
je 0x6b6c3b23
mov dword [eax], sym._Compartment_QueryInterface_12
lea eax, [eax + 0x10]
mov dword [eax - 0xc], 0x6b6d97bc
mov dword [eax - 8], 1
mov dword [eax + 0x10], edi
mov dword [ebp - 0x20], edx
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_VariantInit]
lea eax, [ebx + 0x24]
mov dword [edi + 0x1c], ebx
mov edx, dword [ebp - 0x20]
sub esp, 4
test byte [0x6b6d7028], 8
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x24], eax
jne 0x6b6c3ad8
mov eax, dword [edx + 0xc]
mov dword [edi + 4], esi
xor ebx, ebx
mov dword [edi], eax
mov dword [eax + 4], edi
mov eax, dword [edi + 0x1c]
mov dword [edx + 0xc], edi
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 4]
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp - 0x1c]
sub esp, 4
mov dword [esi], eax
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
test ebx, ebx
je 0x6b6c3b62
mov eax, ebx
mov dword [ebp - 0x20], edx
shr eax, 0x10
je 0x6b6c3b08
movzx eax, byte [ebx + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [ebx + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [ebx + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [ebx + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 8]
mov dword [esp + 0x10], eax
movzx eax, word [ebx + 6]
mov dword [esp + 0xc], eax
movzx eax, word [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], 0x6b6d9490
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0xc], str.__p___s___p_n
mov dword [esp + 8], str.CompartmentMgr_GetCompartment
mov dword [esp + 4], 0x6b6d7028
mov dword [esp], 3
mov dword [ebp - 0x20], edx
call sym._wine_dbg_log.constprop.0_1
mov edx, dword [ebp - 0x20]
jmp 0x6b6c38ac
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x6b6d950d
mov dword [esp + 8], str.Compartment_Constructor
mov dword [esp + 4], 0x6b6d7028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
mov edx, dword [ebp - 0x20]
jmp 0x6b6c39dc
movzx eax, bx
mov dword [esp], 0x6b6d9480
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_1
mov edx, dword [ebp - 0x20]
jmp 0x6b6c3a93
mov eax, dword [ebp - 0x20]
mov dword [esp + 8], edi
mov ebx, 0x8007000e
mov dword [esp + 4], 0
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp - 0x1c]
sub esp, 0xc
mov dword [eax], 0
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, 0x6b6d9521
jmp 0x6b6c3a93