Function at 0x67c04b80
Capabilities:
Get process heap flags
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
test byte [0x67c21028], 8
jne 0x67c04ef0
mov eax, dword [esi + 8]
lea edx, [eax - 4]
cmp edx, 0xffffffb
ja 0x67c04fb0
mov dword [esp + 8], 0x280
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x20], eax
call eax
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x67c05004
test byte [0x67c21028], 8
jne 0x67c04f30
mov eax, dword [ebp + 8]
mov edx, dword [esi]
mov dword [esp + 4], esi
mov dword [ebx + 0x18], 1
mov dword [ebx + 0x28], eax
lea eax, [ebx + 0x74]
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x14], 1
mov dword [ebx], 0x67c24080
mov dword [ebx + 4], 0x67c240e0
mov dword [ebx + 0xc], 0x67c35160
mov dword [ebx + 0x10], 0x67c24068
call sub.ucrtbase.dll_memcpy
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.67c18540
mov dword [ebx + 0x30], eax
test eax, eax
je 0x67c04fef
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
xor edx, edx
movzx edi, word [eax + 0xc]
mov eax, ecx
div edi
mov eax, dword [esi + 0x10]
add edi, ecx
sub edi, edx
test edx, edx
mov edx, 0x100
cmovne ecx, edi
mov edi, dword [ebp - 0x1c]
mov dword [ebx + 0x48], ecx
mov eax, dword [eax + 4]
mov dword [ebx + 0xd0], 0
mov dword [ebx + 0x50], eax
mov eax, 0x200
mov dword [ebx + 0xd4], 0
cmp word [edi + 2], 2
cmovne eax, edx
mov edx, eax
or dh, 4
cmp word [edi + 0xe], 0x10
jne 0x67c04cc2
or ah, 8
mov edx, eax
test byte [0x67c21028], 8
jne 0x67c04f60
add ecx, 0x14
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov edi, dword fs:[0x18]
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x20]
call eax
mov dword [ebx + 0x34], eax
sub esp, 0xc
test eax, eax
je 0x67c04fef
mov esi, dword [esi + 0x10]
lea ecx, [eax + 0x14]
lea edx, [ebx + 0x274]
mov dword [eax], 1
mov dword [eax + 8], ecx
mov dword [ebp - 0x1c], ecx
lea ecx, [eax + 0xc]
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], edx
mov edx, dword [ebx + 0x48]
mov dword [eax + 4], 0
xor eax, eax
mov dword [ebx + 0x274], ecx
mov dword [ebx + 0x278], ecx
cmp word [esi + 0xe], 8
sete al
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 8], edx
shl eax, 7
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_memset]
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 0x50]
mov dword [ebx + 0xc0], 0
mov dword [ebx + 0x3c], 0
mov edx, dword [ecx + 0x7c]
mov dword [ebx + 0xa8], eax
mov dword [ebx + 0xac], 0
mov ecx, dword [edx + 4]
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xb0], ecx
movzx edx, word [esi + 0xc]
mov dword [esp], ebx
imul eax, edx
mov dword [ebx + 0x4c], eax
call fcn.67c141a0
mov eax, dword [ebx + 0x44]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x20]
call eax
mov dword [ebx + 0xc8], eax
sub esp, 0xc
test eax, eax
je 0x67c04fef
mov dword [ebx + 0x140], 0xbf800000
test byte [ebx + 0x78], 0x10
jne 0x67c04e40
lea eax, [ebx + 0x54]
mov dword [esp], eax
call fcn.67c13e20
lea eax, [ebx + 0x2c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_InitializeSRWLock]
mov eax, dword [ebx + 0x28]
sub esp, 4
mov eax, dword [eax + 0x144]
test eax, eax
jne 0x67c04fa0
mov eax, dword [ebp + 8]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.67c0c9b0
mov esi, eax
test eax, eax
jne 0x67c04ed8
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
fldz
mov dword [esp], ebx
fst dword [ebx + 0xdc]
fst dword [ebx + 0xe0]
fst dword [ebx + 0xe4]
fst dword [ebx + 0xe8]
fst dword [ebx + 0xec]
fst dword [ebx + 0xf0]
fst dword [ebx + 0xfc]
fst dword [ebx + 0x100]
mov dword [ebx + 0xd8], 0x40
mov dword [ebx + 0xf4], 0x168
mov dword [ebx + 0xf8], 0x168
mov dword [ebx + 0x108], 0
mov dword [ebx + 0x10c], 0x3f800000
mov dword [ebx + 0x110], 0x4e6e6b28
mov dword [ebx + 0x114], 0
mov dword [ebx + 0x11c], 0
fstp dword [ebx + 0x104]
call fcn.67c1d330
jmp 0x67c04df1
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 8]
mov eax, esi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], 0x67c2331a
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], str.secondarybuffer_create
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x67c21028
mov dword [esp], 3
call fcn.67c012c0
jmp 0x67c04b9f
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Created_buffer_at__p_n
mov dword [esp + 8], str.secondarybuffer_create
mov dword [esp + 4], 0x67c21028
mov dword [esp], 3
call fcn.67c012c0
jmp 0x67c04bf4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.capf__0x_08lx__device__drvcaps.dwFlags__0x_08lx_n
mov dword [esp + 0x14], eax
mov dword [esp + 8], str.secondarybuffer_create
mov dword [esp + 4], 0x67c21028
mov dword [esp], 3
call fcn.67c012c0
mov ecx, dword [ebx + 0x48]
jmp 0x67c04ccf
mov dword [esp], ebx
call fcn.67c12760
jmp 0x67c04e11
mov esi, 0x80070057
test byte [0x67c21028], 4
je 0x67c04e2f
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.invalid_parameter:_dsbd__dwBufferBytes___ld_n
mov dword [esp + 8], str.secondarybuffer_create
mov dword [esp + 4], 0x67c21028
mov dword [esp], 2
call fcn.67c012c0
jmp 0x67c04e2f
mov eax, dword [ebx]
mov dword [esp], ebx
mov esi, 0x8007000e
call dword [eax + 8]
sub esp, 4
jmp 0x67c04e2f
mov esi, 0x8007000e
jmp 0x67c04e2f