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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea ecx, [ebp - 0x1c]
push ebx
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x684fa8d8
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
test eax, eax
js 0x684e3ed0
mov eax, dword [ebp + 8]
add eax, 0x24
mov dword [ebp - 0x30], eax
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov edi, eax
call eax
mov eax, dword [ebp + 8]
sub esp, 4
mov ebx, dword [eax + 0x44]
lea esi, [eax + 0x44]
mov dword [ebp - 0x34], esi
cmp ebx, esi
je 0x684e3d63
mov eax, dword [ebp - 0x1c]
jmp 0x684e3d16
mov ebx, dword [ebx]
cmp ebx, esi
je 0x684e3d60
cmp dword [ebx + 0x40], eax
jne 0x684e3d10
mov eax, ebx
call fcn.684e2ae0
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x1c]
sub esp, 4
test byte [0x684eb2f0], 8
jne 0x684e3f10
mov dword [ebp - 0x2c], eax
mov edi, dword [ebp - 0x2c]
mov eax, dword [edi]
mov dword [esp], edi
call dword [eax + 8]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov dword [ebp - 0x38], eax
call eax
mov eax, dword [ebp + 0x10]
sub esp, 4
test eax, eax
je 0x684e3f50
test byte [0x684eb2f0], 8
jne 0x684e3f92
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], 0x78
mov dword [esp], 1
mov dword [ebp - 0x2c], eax
call dword [sym.imp.ucrtbase.dll_calloc]
mov ebx, eax
test eax, eax
je 0x684e3d44
lea eax, [ebx + 8]
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
lea eax, [ebx + 0x10]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x10]
sub esp, 4
mov dword [eax + 0x18], str..._dlls_combase_stubmanager.c:_stub_manager
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [ebx + 0x40], esi
mov dword [ebx + 0x30], 2
sub esp, 4
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x34], 0
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x20]
mov dword [ebx + 0x4c], edx
mov eax, dword [eax + 0x24]
mov dword [ebx + 0x50], 0xffffffff
mov dword [ebx + 0x48], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x54], 0xffffffff
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov dword [ebx + 0x60], 1
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x5c], edx
lea edx, [ebx + 0x68]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x70], 0
mov eax, dword [esi]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x684fa878
mov dword [esp], esi
call dword [eax]
sub esp, 0xc
test eax, eax
jns 0x684e3e65
mov dword [ebx + 0x68], 0
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call edi
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 8]
sub esp, 4
mov eax, dword [edi + 0x70]
mov edx, dword [edi + 0x74]
mov esi, eax
mov dword [ebx + 0x38], eax
mov edi, edx
mov eax, dword [ecx + 0x44]
mov dword [ebx + 0x3c], edx
add esi, 1
mov edx, dword [ebp - 0x34]
adc edi, 0
mov dword [ebx], eax
mov dword [ecx + 0x70], esi
mov dword [ecx + 0x74], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x30]
mov dword [ecx + 0x44], ebx
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
call eax
sub esp, 4
test byte [0x684eb2f0], 8
jne 0x684e3fbb
mov eax, dword [ebp - 0x1c]
jmp 0x684e3d41
xor ebx, ebx
test byte [0x684eb2f0], 2
je 0x684e3d52
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.QueryInterface_IID_IUnknown_failed_:__lx_n
mov dword [esp + 8], str.get_stub_manager_from_object
mov dword [esp + 4], 0x684eb2f0
mov dword [esp], 1
call fcn.684e2990
jmp 0x684e3d52
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.found__p_for_object__p_n
mov dword [esp + 8], str.get_stub_manager_from_object
mov dword [esp + 4], 0x684eb2f0
mov dword [esp], 3
call fcn.684e2990
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
jmp 0x684e3d44
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
mov dword [ebp - 0x2c], eax
test byte [0x684eb2f0], 8
je 0x684e3d44
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.not_found_for_object__p_n
mov dword [esp + 8], str.get_stub_manager_from_object
mov dword [esp + 4], 0x684eb2f0
mov dword [esp], 3
call fcn.684e2990
jmp 0x684e3ebe
mov dword [esp + 0xc], str.not_found__creating_new_stub_manager..._n
mov dword [esp + 8], str.get_stub_manager_from_object
mov dword [esp + 4], 0x684eb2f0
mov dword [esp], 3
call fcn.684e2990
jmp 0x684e3d8e
mov eax, dword [ebx + 0x3c]
mov edx, dword [ebx + 0x38]
test eax, eax
je 0x684e4017
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], str._lx_08lx
call fcn.684e28d0
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], str.Created_new_stub_manager__oid_s__at__p_for_object_with_IUnknown__p_n
mov dword [esp + 8], str.new_stub_manager
mov dword [esp + 4], 0x684eb2f0
mov dword [esp], 3
call fcn.684e2990
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
jmp 0x684e3d44
mov dword [esp + 4], edx
mov dword [esp], 0x684f31a5
call fcn.684e28d0
jmp 0x684e3fd9