Function at 0x6f247ff0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x4c
mov dword [ebp - 0x20], edx
test byte [0x6f266618], 8
jne 0x6f248270
mov eax, dword [ebp - 0x20]
lea edi, [eax + eax*2]
lea eax, [edi*4]
lea edi, [ebx + eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x14]
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
test eax, eax
je 0x6f248241
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x64
mov dword [esp], 0
call eax
sub esp, 0x14
test byte [0x6f266618], 8
jne 0x6f2482e9
mov dword [esp + 4], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], 0
call dword [edi + 0x14]
sub esp, 0x14
mov esi, eax
test byte [0x6f266618], 8
jne 0x6f2482a5
mov eax, esi
shr eax, 0x10
jne 0x6f248241
test byte [ebx + 8], 1
je 0x6f248239
mov eax, dword [ebp - 0x20]
mov edx, dword [0x6f2662e0]
shl eax, 4
mov dword [eax + 0x6f27022c], edx
add eax, 0x6f270220
mov eax, dword [eax + 4]
test byte [0x6f266618], 8
jne 0x6f248345
mov esi, dword [ebp - 0x20]
inc eax
imul eax, eax, 0x1c
shl esi, 4
add esi, 0x6f270220
mov edx, dword [esi + 8]
test edx, edx
je 0x6f2483f2
sub edx, 0x1c
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapReAlloc]
add eax, 0x1c
sub esp, 0x10
mov dword [esi + 8], eax
test byte [ebx + 8], 1
je 0x6f248171
test byte [0x6f266618], 8
jne 0x6f2483a0
mov ecx, dword [ebp - 0x20]
mov edx, ecx
shl edx, 4
mov eax, dword [edx + 0x6f270228]
add edx, 0x6f270220
mov edx, dword [edx + 0xc]
mov dword [eax - 0x1c], 0xffffffff
mov dword [eax - 0x18], ecx
mov dword [eax - 0x14], edx
mov dword [eax - 0x10], 0
mov eax, dword [0x6f2662e0]
test eax, eax
js 0x6f248263
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
xor ebx, ebx
lea edx, [esi*4]
mov eax, esi
mov ecx, esi
add edi, 0x6f266040
sub eax, edx
shl ecx, 4
xor edx, edx
shl eax, 2
mov dword [ebp - 0x28], eax
lea esi, [esi]
cmp dword [edi + 0xc], ebx
jg 0x6f248253
imul esi, ebx, 0x1c
mov dword [ebp - 0x1c], edx
jmp 0x6f2481e6
mov eax, dword [ecx + 0x6f270228]
mov edx, dword [ebp - 0x20]
add eax, esi
add esi, 0x1c
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x1c]
mov dword [eax], ebx
inc ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0
cmp dword [edi + 0xc], ebx
jg 0x6f248250
cmp dword [edi + 0x10], ebx
jle 0x6f248250
test byte [0x6f266618], 8
je 0x6f2481c0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], ecx
mov eax, dword [edi + eax + 4]
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], str._s:Trans__d______s_n
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x6f270220]
mov dword [esp + 8], str.MMDRV_InitPerType
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x6f266618
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
mov ecx, dword [ebp - 0x24]
jmp 0x6f2481c0
test esi, esi
jne 0x6f24831e
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp - 0x1c]
inc edx
add edi, 0x54
cmp dword [0x6f2662e0], edx
jge 0x6f2481a8
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.__p___04x___04x__n
mov dword [esp + 8], str.MMDRV_InitPerType
mov dword [esp + 4], 0x6f266618
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x6f24800d
mov eax, dword [ebp - 0x20]
shl eax, 4
mov eax, dword [eax + 0x6f270220]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.Got__u_dev_for___s:_s__n
mov dword [esp + 8], str.MMDRV_InitPerType
mov dword [esp + 4], 0x6f266618
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x6f2480aa
mov dword [esp], eax
call sym._WINMM_ErrorToString
mov dword [esp + 0xc], str.DRVM_INIT____s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.MMDRV_InitPerType
mov dword [esp + 4], 0x6f266618
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x6f248072
mov edx, dword [ebp - 0x20]
shl edx, 4
mov eax, dword [edx + 0x6f270224]
mov dword [edi + 0xc], eax
add eax, esi
mov dword [edx + 0x6f270224], eax
mov dword [edi + 0x10], eax
test byte [0x6f266618], 8
je 0x6f2480e6
mov edx, dword [ebp - 0x20]
shl edx, 4
lea esi, [edx + 0x6f270220]
mov edx, dword [edx + 0x6f270220]
mov dword [esp + 0x20], edx
mov edx, dword [ebx + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov eax, dword [edi + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0xc], str.Setting_min_d_max_d__ttop_d__for___s:_s__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.MMDRV_InitPerType
mov dword [esp + 4], 0x6f266618
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
mov eax, dword [esi + 4]
jmp 0x6f2480e6
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0xc], str._s:Trans__d______s_n
shl eax, 4
mov dword [esp + 8], str.MMDRV_InitPerType
imul edx, dword [eax + 0x6f27022c], 0x54
mov eax, dword [eax + 0x6f270220]
mov dword [esp + 4], 0x6f266618
mov dword [esp], 3
mov dword [esp + 0x10], eax
mov edx, dword [edx + 0x6f266044]
mov dword [esp + 0x18], edx
call sym._wine_dbg_log.constprop.0_2
jmp 0x6f248146
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
add eax, 0x1c
sub esp, 0xc
mov dword [esi + 8], eax
jmp 0x6f248133