Function at 0x6f24da50
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get ntdll base address
Get process heap flags
Get process heap force 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]
mov ebx, dword [ecx + 4]
mov edi, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
test byte [0x6f266160], 8
jne 0x6f24db20
cmp ebx, 0x7ff
jbe case.0x6f24daa2.2052
cmp ebx, 0x856
ja 0x6f24dab0
cmp ebx, 0x802
jbe case.0x6f24daa2.2069
lea eax, [ebx - 0x803]
cmp eax, 0x53
ja case.0x6f24daa2.2069
jmp dword [eax*4 + 0x6f26adc4]
lea ecx, [ebx - 0x870]
cmp ecx, 0xb
ja case.0x6f24daa2.2069
mov eax, 1
shl eax, cl
test eax, 0x622
jne case.0x6f24daa2.2052
test al, 0x48
je 0x6f24db68
test edi, 0xf0000
je case.0x6f24daa2.2052
lea esi, [esi]
test byte [0x6f266160], 1
jne 0x6f24dfb8
lea esi, [esi]
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.winmm.dll_mciSendCommandW
sub esp, 0x10
mov esi, eax
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov eax, ebx
call fcn.6f248090
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.__08x___s___08Ix___08Ix__n
mov dword [esp + 8], str.mciSendCommandA
mov dword [esp + 4], 0x6f266160
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.6f2486f0
jmp 0x6f24da7f
test eax, 0x801
je case.0x6f24daa2.2069
mov dword [esp + 8], 0x18
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov edx, eax
test eax, eax
je 0x6f24df72
test edi, 1
jne 0x6f24e000
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], edx
call fcn.6f2482c0
mov edx, dword [ebp - 0x20]
mov dword [edx + 4], eax
cmp ebx, 0x813
je 0x6f24e300
cmp ebx, 0x850
je 0x6f24e300
mov eax, edi
and eax, 0x20000
cmp ebx, 0x870
jne 0x6f24e3c0
test eax, eax
jne 0x6f24e060
mov dword [esp + 0xc], edx
mov dword [ebp - 0x20], edx
mov dword [esp + 8], edi
mov dword [esp + 4], 0x870
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.winmm.dll_mciSendCommandW
mov edx, dword [ebp - 0x20]
sub esp, 0x10
mov esi, eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x1c], edx
mov edi, dword fs:[0x18]
mov dword [esp + 4], 0
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
sub esp, 0xc
jmp 0x6f24db0c
mov dword [esp + 8], 8
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov edx, eax
mov dword [ebp - 0x20], eax
test eax, eax
je 0x6f24df72
mov dword [ebp - 0x24], eax
test edi, 1
je 0x6f24dcb4
mov eax, dword [esi]
mov dword [edx], eax
mov eax, dword [esi + 4]
call fcn.6f2482c0
mov edx, dword [ebp - 0x20]
mov dword [edx + 4], eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.winmm.dll_mciSendCommandW
mov esi, eax
sub esp, 0x10
lea eax, [ebx - 0x805]
cmp eax, 0xd
ja case.0x6f24dced.2054
jmp dword [eax*4 + 0x6f26af14]
mov dword [esp + 8], 0x14
mov edx, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov dword [ebp - 0x24], edx
call edx
sub esp, 0xc
mov ecx, eax
test eax, eax
je 0x6f24df72
lea eax, [eax + 4]
test edi, 1
mov edx, dword [ebp - 0x24]
mov dword [ecx], esi
mov dword [ebp - 0x20], eax
je 0x6f24dd43
mov eax, dword [esi]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x24], ecx
mov ebx, dword fs:[0x18]
mov dword [ecx + 0xc], eax
add eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edx
mov ecx, dword [ebp - 0x24]
sub esp, 0xc
mov dword [ecx + 8], eax
test edi, 0x20000
jne 0x6f24e010
mov eax, dword [ebp - 0x20]
mov dword [esp + 8], edi
mov dword [esp + 4], 0x80a
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.winmm.dll_mciSendCommandW
sub esp, 0x10
mov esi, eax
mov eax, dword [ebp - 0x20]
lea ebx, [eax - 4]
test esi, esi
je 0x6f24e320
mov eax, dword [ebp - 0x20]
mov edx, dword fs:[0x18]
mov eax, dword [eax + 4]
mov dword [esp + 4], 0
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 8], eax
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
jmp 0x6f24db0c
test edi, 0xc00
jne 0x6f24e118
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], 0x810
jmp 0x6f24dafc
test edi, 0x80000
jne 0x6f24e218
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], 0x841
jmp 0x6f24dafc
mov dword [esp + 8], 0x20
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov edx, eax
mov dword [ebp - 0x20], eax
test eax, eax
je 0x6f24df72
mov dword [eax], esi
lea ebx, [eax + 4]
test edi, 1
je 0x6f24de90
mov eax, dword [esi]
mov dword [edx + 4], eax
mov eax, edi
and eax, 0x2000
mov dword [ebp - 0x24], eax
je 0x6f24deb1
mov eax, dword [esi + 8]
test edi, 0x1000
je 0x6f24e428
mov edx, dword [ebp - 0x20]
mov dword [edx + 0xc], eax
mov eax, edi
and eax, 0x200
mov dword [ebp - 0x28], eax
je 0x6f24ded2
mov eax, dword [esi + 0xc]
test edi, 0x800
je 0x6f24e3e0
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x10], eax
mov eax, edi
and eax, 0x400
mov dword [ebp - 0x2c], eax
jne 0x6f24e1e8
mov eax, edi
shr eax, 0x10
test eax, eax
jne 0x6f24e200
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
mov dword [esp + 4], 0x803
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.winmm.dll_mciSendCommandW
lea edx, [ebx - 4]
mov esi, eax
mov eax, dword [ebx - 4]
sub esp, 0x10
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebx + 8]
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x6f24e020
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x6f24df42
and edi, 0x800
je 0x6f24e432
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
jne 0x6f24e3f0
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
sub esp, 0xc
jmp 0x6f24db0c
test byte [0x6f266160], 1
jne 0x6f24df88
mov esi, 0x108
jmp 0x6f24db0c
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.message__04x_mapping_failed_n
mov dword [esp + 8], str.mciSendCommandA
mov dword [esp + 4], 0x6f266160
mov dword [esp], 0
call fcn.6f2486f0
jmp 0x6f24df7b
mov eax, ebx
call fcn.6f248090
mov dword [esp + 0xc], str.Message__s_needs_translation_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.MCI_MapMsgAtoW
mov dword [esp + 4], 0x6f266160
mov dword [esp], 0
call fcn.6f2486f0
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
jmp 0x6f24dafc
mov eax, dword [esi]
mov dword [edx], eax
jmp 0x6f24dbb1
mov eax, dword [esi + 0xc]
mov dword [ecx + 0x10], eax
jmp 0x6f24dd81
test edi, 0x1000
jne 0x6f24df2f
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x20]
mov eax, dword fs:[0x18]
mov ecx, dword [edx + 0xc]
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
jmp 0x6f24df2f
mov eax, dword [esi + 8]
mov dword [edx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edx + 0x14], eax
mov dword [esp + 0xc], edx
mov dword [ebp - 0x20], edx
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.winmm.dll_mciSendCommandW
mov edx, dword [ebp - 0x20]
sub esp, 0x10
cmp ebx, 0x813
mov esi, eax
je 0x6f24dc1b
cmp ebx, 0x850
je 0x6f24dc1b
cmp ebx, 0x870
je 0x6f24dc1b
cmp ebx, 0x87b
je 0x6f24dc1b
lea esi, [esi]
test byte [0x6f266160], 1
je 0x6f24db0c
mov eax, ebx
call fcn.6f248090
mov dword [esp + 0xc], str.Message__s_needs_unmapping_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.MCI_UnmapMsgAtoW
mov dword [esp + 4], 0x6f266160
mov dword [esp], 0
call fcn.6f2486f0
jmp 0x6f24db0c
mov dword [esp + 8], 0x18
mov edx, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov dword [ebp - 0x20], edx
call edx
sub esp, 0xc
mov ecx, eax
test eax, eax
je 0x6f24df72
mov dword [eax], esi
lea eax, [eax + 4]
test edi, 1
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
je 0x6f24e167
mov eax, dword [esi]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x20], ecx
mov ebx, dword fs:[0x18]
mov dword [ecx + 0xc], eax
add eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edx
mov ecx, dword [ebp - 0x20]
movq xmm0, qword [esi + 0xc]
sub esp, 0xc
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x24]
movq qword [ecx + 0x10], xmm0
mov dword [esp + 8], edi
mov dword [esp + 4], 0x810
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.winmm.dll_mciSendCommandW
sub esp, 0x10
mov esi, eax
mov eax, dword [ebp - 0x24]
lea ebx, [eax - 4]
test esi, esi
je 0x6f24e463
mov eax, dword [ebp - 0x24]
mov edx, dword fs:[0x18]
jmp 0x6f24ddbc
mov eax, dword [esi + 0x10]
call fcn.6f2482c0
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x14], eax
jmp 0x6f24dee2
mov eax, dword [esi + 0x14]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x18], eax
mov eax, dword [esi + 0x18]
mov dword [edx + 0x1c], eax
jmp 0x6f24deef
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
mov dword [ebp - 0x20], eax
je 0x6f24df72
mov eax, dword [esi + 0xc]
call fcn.6f2482c0
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0xc], eax
test edi, 1
je 0x6f24e265
mov eax, dword [esi]
mov dword [ecx], eax
test edi, 0x10000
je 0x6f24e273
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
test edi, 0x40000
je 0x6f24e281
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov dword [esp + 0xc], ecx
mov dword [ebp - 0x20], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], 0x841
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym.winmm.dll_mciSendCommandW
mov ecx, dword [ebp - 0x20]
mov esi, eax
sub esp, 0x10
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov edx, dword fs:[0x18]
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x20], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov ecx, dword [ebp - 0x20]
sub esp, 0xc
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
sub esp, 0xc
jmp 0x6f24db0c
test edi, 0x10000
jne 0x6f24e060
mov dword [esp + 0xc], edx
mov dword [ebp - 0x20], edx
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
jmp 0x6f24dc08
mov edi, eax
mov eax, dword [eax - 4]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov edx, dword [eax + 8]
mov dword [esp + 0x14], edx
mov eax, dword [eax + 4]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], eax
mov eax, dword [edi + 4]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], eax
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sub esp, 0x20
jmp 0x6f24ddb2
mov eax, dword [ebp - 0x20]
mov edi, dword fs:[0x18]
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [eax + 4]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [ebp - 0x20]
sub esp, 0xc
mov dword [esp + 8], eax
jmp 0x6f24dc4f
and edi, 0xc00
je 0x6f24db0c
jmp 0x6f24e1c6
test eax, eax
jne 0x6f24e060
mov dword [esp + 0xc], edx
mov dword [ebp - 0x20], edx
mov dword [esp + 8], edi
mov dword [esp + 4], 0x87b
jmp 0x6f24dc08
call fcn.6f2482c0
jmp 0x6f24decc
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
mov eax, dword fs:[0x18]
mov ecx, dword [edi + 0x14]
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
jmp 0x6f24df4d
call fcn.6f2482c0
jmp 0x6f24deab
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
mov eax, dword fs:[0x18]
mov ecx, dword [edi + 0x10]
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
jmp 0x6f24df42
mov edi, eax
mov eax, dword [eax - 4]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov edx, dword [eax + 8]
mov dword [esp + 0x14], edx
mov eax, dword [eax + 4]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], eax
mov eax, dword [edi + 4]
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], eax
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
sub esp, 0x20
jmp 0x6f24e1d4