Function at 0x6f255be0
Capabilities:
Get process heap flags

Disassembly:
push ebp
push edi
push esi
mov esi, ecx
push ebx
sub esp, 0x3c
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], edx
lea edx, [esp + 0x24]
mov eax, dword [ebx]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 1
mov dword [esp + 4], ecx
mov dword [esp], ebx
call dword [eax + 0xc]
sub esp, 0x10
test eax, eax
mov edi, eax
js 0x6f255c52
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 8
test eax, eax
mov edi, eax
js 0x6f255e98
mov eax, dword [esi]
test eax, eax
jne 0x6f255c60
mov eax, dword [esp + 0x24]
xor edi, edi
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
add esp, 0x3c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
imul eax, eax, 0x4e0
mov dword [esp + 4], 8
mov ebp, dword [sym.imp.kernel32.dll_HeapAlloc]
mov edi, dword fs:[0x18]
mov dword [esp + 0x28], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebp
sub esp, 0xc
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
test eax, eax
je 0x6f255ebf
mov eax, dword [esi]
mov dword [esp + 4], 8
shl eax, 2
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebp
sub esp, 0xc
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
test eax, eax
je 0x6f255ed6
mov eax, dword [ebx]
lea edx, [esp + 0x28]
mov dword [esp + 8], 0
mov edi, dword [esp + 0x50]
mov dword [esp + 0xc], edx
mov dword [esp], ebx
mov dword [esp + 4], edi
call dword [eax + 0x10]
mov ecx, dword [esi]
sub esp, 0x10
mov dword [esp + 0x1c], 1
test ecx, ecx
je 0x6f255e30
xor ebx, ebx
mov dword [esp + 0x18], esi
jmp 0x6f255d1f
mov eax, dword [esp + 0x18]
add ebx, 1
cmp ebx, dword [eax]
jae 0x6f255e2e
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x10]
sub esp, 0xc
test eax, eax
js 0x6f255d10
mov eax, dword [esp + 0x10]
imul edi, ebx, 0x4e0
mov ebp, dword [esp + 0x2c]
mov esi, dword [eax]
mov eax, dword [esp + 0x50]
add esi, edi
mov dword [esi + 0xa8], eax
test eax, eax
jne 0x6f255e50
mov dword [esi], 0xff00ff
mov eax, ebp
mov dword [esi + 4], 0x10001
call fcn.6f255220
xor edx, edx
mov dword [esi + 0x50], 0x2c
mov dword [esi + 0x48], eax
mov eax, ebp
mov word [esi + 8], dx
lea edx, [esi + 8]
mov dword [esi + 0x4c], 2
call fcn.6f255490
test eax, eax
js 0x6f255dec
mov eax, dword [ebp]
lea edx, [esi + 0xa4]
mov dword [esp], ebp
mov dword [esp + 4], edx
call dword [eax + 0x14]
sub esp, 8
test eax, eax
js 0x6f255dec
lea eax, [esi + 0xb0]
mov dword [esp], eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea eax, [esi + 0xc8]
mov dword [esi + 0xc0], ebx
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov eax, dword [esi + 0xc8]
sub esp, 4
mov dword [eax + 0x18], str._Users_gcenx_Documents_GitHub_wineskincx_dlls_winmm_waveform.c:_WINMM_Device.lock
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add edi, dword [esi]
cmp eax, dword [esp + 0x28]
je 0x6f255eb8
mov ecx, dword [esp + 0x1c]
mov dword [edx + ecx*4], edi
add ecx, 1
mov dword [esp + 0x1c], ecx
mov edx, dword [eax]
mov dword [esp], eax
add ebx, 1
call dword [edx + 8]
sub esp, 4
mov eax, dword [esp + 0x18]
cmp ebx, dword [eax]
jb 0x6f255d1f
mov esi, eax
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esi], eax
jmp 0x6f255c41
mov eax, dword [0x6f26ee48]
mov dword [esi + 0x58], 0x10001
mov dword [esi + 0x54], eax
mov eax, ebp
call fcn.6f255220
lea edx, [esi + 0x5c]
mov dword [esi + 0x9c], eax
mov eax, dword [0x6f26ee4c]
mov dword [esi + 0xa0], eax
xor eax, eax
mov word [esi + 0x5c], ax
mov eax, ebp
call fcn.6f255490
test eax, eax
jns 0x6f255d9b
jmp 0x6f255dec
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, edi
sub esp, 4
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [edx], edi
jmp 0x6f255e14
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push edi
mov edi, 0x8007000e
jmp 0x6f255c52
mov eax, dword [esp + 0x24]
xor esi, esi
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
push ebx
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x6f255ecc