Function at 0x1000bcb0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
test byte [0x1001c03c], 8
jne 0x1000bd58
mov eax, dword [ebx]
cmp eax, dword [0x1001ec70]
je 0x1000bd18
cmp eax, dword [0x1001f350]
je 0x1000be08
cmp eax, dword [0x1001eb50]
je 0x1000be40
test byte [0x1001c03c], 4
jne 0x1000bef0
mov dword [edi], 0
mov ebx, 0x80004002
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov edx, dword [0x1001ec74]
cmp dword [ebx + 4], edx
jne 0x1000bcd9
mov ecx, dword [0x1001ec78]
cmp dword [ebx + 8], ecx
jne 0x1000bcd9
mov edx, dword [0x1001ec7c]
cmp dword [ebx + 0xc], edx
jne 0x1000bcd9
mov eax, dword [esi]
mov dword [esp], esi
xor ebx, ebx
call dword [eax + 4]
mov dword [edi], esi
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
test ebx, ebx
je 0x1000beb0
mov eax, ebx
shr eax, 0x10
je 0x1000be90
movzx eax, byte [ebx + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [ebx + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [ebx + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [ebx + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 8]
mov dword [esp + 0x10], eax
movzx eax, word [ebx + 6]
mov dword [esp + 0xc], eax
movzx eax, word [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], 0x10021224
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_2
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x10021257
mov dword [esp + 8], str.d3d9_device_QueryInterface
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_2
jmp 0x1000bccf
mov ecx, dword [0x1001f354]
cmp dword [ebx + 4], ecx
jne 0x1000bce5
mov ecx, dword [0x1001f358]
cmp dword [ebx + 8], ecx
jne 0x1000bce5
mov edx, dword [0x1001f35c]
cmp dword [ebx + 0xc], edx
jne 0x1000bce5
jmp 0x1000bd39
mov eax, dword [str.IZ_]
cmp dword [ebx + 4], eax
jne 0x1000bcf1
mov eax, dword [0x1001eb58]
cmp dword [ebx + 8], eax
jne 0x1000bcf1
mov eax, dword [0x1001eb5c]
cmp dword [ebx + 0xc], eax
jne 0x1000bcf1
mov eax, dword [esi + 0x18]
xor ebx, ebx
mov eax, dword [eax + 0x14]
test eax, eax
je 0x1000beba
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 4]
mov dword [edi], esi
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
movzx eax, bx
mov dword [esp], 0x10021212
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_2
jmp 0x1000bdcd
mov eax, 0x10021135
jmp 0x1000bdcd
test byte [0x1001c03c], 4
je 0x1000bcfe
mov dword [esp + 0xc], 0x10021274
mov dword [esp + 8], str.d3d9_device_QueryInterface
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_2
jmp 0x1000bcfe
mov eax, ebx
shr eax, 0x10
je 0x1000bf8a
movzx eax, byte [ebx + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [ebx + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [ebx + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [ebx + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 8]
mov dword [esp + 0x10], eax
movzx eax, word [ebx + 6]
mov dword [esp + 0xc], eax
movzx eax, word [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], 0x10021224
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_2
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x100212cc
mov dword [esp + 8], str.d3d9_device_QueryInterface
mov dword [esp + 4], 0x1001c03c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_2
jmp 0x1000bcfe
movzx ebx, bx
mov dword [esp], 0x10021212
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf_2
jmp 0x1000bf5d