Function at 0x10014bf0
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 [0x1001c09c], 8
jne 0x10014c98
mov eax, dword [ebx]
cmp eax, dword [0x1001ec30]
je 0x10014c58
cmp eax, dword [0x1001f350]
je 0x10014d48
cmp eax, dword [0x1001eb60]
je 0x10014d80
test byte [0x1001c09c], 4
jne 0x10014e30
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 [0x1001ec34]
cmp dword [ebx + 4], edx
jne 0x10014c19
mov ecx, dword [0x1001ec38]
cmp dword [ebx + 8], ecx
jne 0x10014c19
mov edx, dword [str._v_vP_]
cmp dword [ebx + 0xc], edx
jne 0x10014c19
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 0x10014df0
mov eax, ebx
shr eax, 0x10
je 0x10014dd8
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], 0x100256d0
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_8
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x10025703
mov dword [esp + 8], str.d3d9_swapchain_QueryInterface
mov dword [esp + 4], 0x1001c09c
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_8
jmp 0x10014c0f
mov ecx, dword [0x1001f354]
cmp dword [ebx + 4], ecx
jne 0x10014c25
mov ecx, dword [0x1001f358]
cmp dword [ebx + 8], ecx
jne 0x10014c25
mov edx, dword [0x1001f35c]
cmp dword [ebx + 0xc], edx
jne 0x10014c25
jmp 0x10014c79
mov eax, dword [0x1001eb64]
cmp dword [ebx + 4], eax
jne 0x10014c31
mov eax, dword [0x1001eb68]
cmp dword [ebx + 8], eax
jne 0x10014c31
mov eax, dword [0x1001eb6c]
cmp dword [ebx + 0xc], eax
jne 0x10014c31
mov eax, dword [esi + 0x10]
xor ebx, ebx
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x10014dfa
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], 0x100256c1
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_8
jmp 0x10014d0d
mov eax, 0x10025632
jmp 0x10014d0d
test byte [0x1001c09c], 4
je 0x10014c3e
mov dword [esp + 0xc], str.IDirect3D9_instance_wasnt_created_with_CreateDirect3D9Ex__returning_E_NOINTERFACE._n
mov dword [esp + 8], str.d3d9_swapchain_QueryInterface
mov dword [esp + 4], 0x1001c09c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_8
jmp 0x10014c3e
mov eax, ebx
shr eax, 0x10
je 0x10014eca
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], 0x100256d0
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf_8
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x10025778
mov dword [esp + 8], str.d3d9_swapchain_QueryInterface
mov dword [esp + 4], 0x1001c09c
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_8
jmp 0x10014c3e
movzx ebx, bx
mov dword [esp], 0x100256c1
mov dword [esp + 4], ebx
call sym._wine_dbg_sprintf_8
jmp 0x10014e9d