Function at 0x6a0cb0c0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 8]
test byte [0x6a0de048], 8
jne 0x6a0cb391
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x6a0cb3c4
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
xor edi, edi
mov esi, dword fs:[0x18]
mov dword [ebp - 0x1c], eax
lea esi, [esi]
mov eax, dword [ebx + 8]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], 0
inc edi
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x1c]
call eax
sub esp, 0xc
cmp dword [ebx + 0x14], edi
ja 0x6a0cb0f8
mov eax, dword [ebx + 8]
mov dword [esp + 4], 0
mov esi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x1c]
call eax
mov eax, dword [ebx + 0x18]
sub esp, 0xc
test eax, eax
je 0x6a0cb181
xor edi, edi
lea esi, [esi]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], 0
inc edi
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x1c]
call eax
sub esp, 0xc
cmp dword [ebx + 0x18], edi
ja 0x6a0cb158
mov eax, dword [ebx + 0xc]
mov dword [esp + 4], 0
mov esi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x1c]
call eax
mov edi, dword [ebx + 0x1c]
sub esp, 0xc
test edi, edi
je 0x6a0cb1e1
xor edi, edi
lea esi, [esi]
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], 0
inc edi
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x1c]
call eax
sub esp, 0xc
cmp dword [ebx + 0x1c], edi
ja 0x6a0cb1b8
mov eax, dword [ebx + 0x10]
mov edi, dword [ebp - 0x1c]
mov dword [esp + 4], 0
mov esi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov eax, dword [ebx + 0x20]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov eax, dword [ebx + 0x24]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov eax, dword [ebx + 0x30]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov ecx, dword [ebx + 0x44]
mov dword [ebp - 0x24], 0
sub esp, 0xc
test ecx, ecx
je 0x6a0cb348
lea esi, [esi]
mov edx, dword [ebp - 0x24]
xor edi, edi
lea eax, [edx*4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x40]
mov ecx, dword [eax + edx*4]
mov eax, dword [ecx + 0x2c]
test eax, eax
je 0x6a0cb2d0
lea esi, [esi]
mov edx, dword [ecx + 0x28]
lea eax, [edi + edi*4]
inc edi
lea eax, [edx + eax*4]
mov eax, dword [eax + 8]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x1c]
call eax
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 0x20]
sub esp, 0xc
mov ecx, dword [eax + edx]
cmp dword [ecx + 0x2c], edi
ja 0x6a0cb298
mov eax, dword [ecx + 0x28]
mov edi, dword [ebp - 0x1c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 0x20]
sub esp, 0xc
mov eax, dword [eax + edx]
mov eax, dword [eax + 0x1c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 0x20]
sub esp, 0xc
mov eax, dword [eax + edx]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
sub esp, 0xc
cmp dword [ebx + 0x44], eax
ja 0x6a0cb278
mov eax, dword [ebx + 0x40]
mov edi, dword [ebp - 0x1c]
mov dword [esp + 4], 0
mov esi, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
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 eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.Deleting_shader__p_n
mov dword [esp + 8], str.SlDeleteShader
mov dword [esp + 4], 0x6a0de048
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x6a0cb0e4
mov eax, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [ebp - 0x1c], eax
jmp 0x6a0cb121