Function at 0x6f2491c0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, eax
push edi
push esi
push ebx
sub esp, 0x4c
cmp word [eax], 0
mov dword [esp + 0x28], edx
je 0x6f24947b
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x6f2491e0
sub eax, ebp
lea edx, [eax + 2]
mov dword [esp + 8], edx
mov ebx, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 4], 0
mov edi, dword fs:[0x18]
mov eax, dword [edi + 0x30]
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
sub esp, 0xc
mov esi, eax
test eax, eax
je 0x6f2494ea
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov dword [esp], eax
mov dword [esp + 8], edx
call sub.ucrtbase.dll_memcpy
mov dword [esp], esi
call dword [sym.imp.user32.dll_CharUpperW]
sub esp, 4
mov dword [esp + 8], 0x30
mov dword [esp + 4], 8
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
sub esp, 0xc
mov ebx, eax
test eax, eax
jne 0x6f2492a8
mov edi, 0x108
mov dword [esp + 8], esi
xor ebx, ebx
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_HeapFree]
sub esp, 0xc
mov eax, dword [esp + 0x28]
mov dword [eax], ebx
add esp, 0x4c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [eax + 0x18], 0x6f248850
mov ebp, 1
mov dword [eax + 0x1c], 3
mov eax, dword [edi + 0x24]
mov edi, dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 0x20], eax
mov dword [esp], 0x6f266460
call edi
mov eax, dword [0x6f27a510]
mov dword [0x6f27a510], ebx
sub esp, 4
mov dword [ebx + 0x2c], eax
lea esi, [esi]
mov dword [esp + 0x30], ebp
mov dword [esp], 0x6f266460
call edi
mov eax, dword [0x6f27a510]
sub esp, 4
test eax, eax
jne 0x6f24930f
jmp 0x6f249330
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x6f249330
cmp dword [eax], ebp
jne 0x6f249308
mov dword [esp], 0x6f266460
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
mov eax, dword [esp + 0x30]
lea ebp, [eax + 1]
jmp 0x6f2492e8
mov dword [esp], 0x6f266460
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
mov eax, dword [esp + 0x30]
mov dword [ebx], eax
mov dword [esp], 0x6f266460
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esp, 4
test byte [0x6f266160], 8
jne 0x6f2493b6
mov edx, esi
mov eax, ebx
mov dword [esp + 0x34], 0
lea ecx, [esp + 0x30]
call fcn.6f247f80
test eax, eax
je 0x6f249485
mov edi, dword [esp + 0x38]
mov dword [ebx + 0x24], 0xfffe
mov eax, edi
and eax, 0xffff
mov dword [ebx + 0x28], eax
test byte [0x6f266160], 8
jne 0x6f2493e7
mov eax, dword [esp + 0x3c]
mov dword [ebx + 8], esi
mov dword [ebx + 4], eax
xor edi, edi
mov eax, dword [esp + 0x28]
mov dword [eax], ebx
add esp, 0x4c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], str.wDevID_04X_n
mov dword [esp + 8], str.MCI_LoadMciDriver
mov dword [esp + 4], 0x6f266160
mov dword [esp], 3
mov dword [esp + 0x10], eax
call fcn.6f2486f0
jmp 0x6f24935f
mov ebp, dword [esp + 0x3c]
mov eax, esi
call fcn.6f248400
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
mov eax, dword [ebx + 0x10]
mov dword [esp + 0xc], str.Loaded_driver__p___s___type_is__d__cmdTable_08x_n
mov dword [esp + 8], str.MCI_LoadMciDriver
mov dword [esp + 4], 0x6f266160
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.6f2486f0
mov edx, dword [esp + 0x3c]
mov dword [ebx + 8], esi
mov dword [ebx + 4], edx
test byte [0x6f266160], 8
je 0x6f2493a4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], edx
xor edi, edi
mov dword [esp + 0xc], str.mcidev_d__uDevTyp_04X_wDeviceID_04X___n
mov dword [esp + 8], str.MCI_LoadMciDriver
mov dword [esp + 4], 0x6f266160
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
mov dword [esp], 3
call fcn.6f2486f0
jmp 0x6f2493a6
mov edx, 2
jmp 0x6f2491ee
mov dword [esp + 4], 0x6f26a35c
mov edi, 0x117
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll__wcsicmp]
test eax, eax
je 0x6f2494ad
test byte [0x6f266160], 1
jne 0x6f2494b9
mov edi, 0x132
mov eax, ebx
call fcn.6f248a50
jmp 0x6f24926c
mov eax, esi
call fcn.6f248400
mov dword [esp + 0xc], str.Couldnt_load_driver_for_type__s._n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.MCI_LoadMciDriver
mov dword [esp + 4], 0x6f266160
mov dword [esp], 0
call fcn.6f2486f0
jmp 0x6f2494a8
mov dword [esp + 8], 0x30
mov dword [esp + 4], 8
mov eax, dword [edi + 0x30]
mov edi, 0x108
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
sub esp, 0xc
mov ebx, eax
test eax, eax
jne 0x6f2494ad
jmp 0x6f249267