Function at 0x1003acb0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101008c7
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x101385c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1003c029
cmp dword [eax], 0
je 0x1003c029
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x1003c029
mov esi, dword [ebp + 8]
mov edx, 0x1010c440
mov ecx, esi
mov edi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003ad19
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1003ad06
jmp 0x1003ad36
mov ecx, esi
mov edx, 0x1010c550
mov edi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003ad8f
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1003ad25
mov eax, dword [ebx]
lea ecx, [ebp - 0x10]
push ecx
push ebx
mov dword [ebp - 0x10], 0
call dword [eax + 0x18]
test eax, eax
js 0x1003ad8f
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1003ad8f
lea edx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
mov eax, dword [ecx]
push edx
push esi
push ecx
call dword [eax]
test eax, eax
js 0x1003ad74
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x1003ad74
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
mov edx, 0x1010c450
mov edi, 0xc
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003adb3
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1003ada0
jmp 0x1003add1
mov ecx, esi
mov edx, 0x1010c560
mov edi, 0xc
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003ae0d
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1003adc0
mov eax, dword [ebx]
lea ecx, [ebp + 0xc]
push ecx
push esi
push ebx
mov dword [ebp + 0xc], 0
call dword [eax]
test eax, eax
js 0x1003c029
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x1003c029
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
mov edx, 0x1010c4f0
mov edi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003ae33
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1003ae20
jmp 0x1003ae55
mov ecx, esi
mov edx, 0x1010c570
mov edi, 0xc
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003af77
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1003ae40
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov ebx, dword [ebx]
mov ecx, ebx
shr ecx, 0x10
mov edx, ebx
mov dword [ebp - 0x1c], ecx
mov ecx, ebx
shr ecx, 8
shr edx, 0x18
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ecx
test ebx, ebx
je 0x1003bf21
lea edi, [eax + 0x128]
movzx eax, bl
xor eax, 0x811c9dc5
mov dword [ebp - 0x28], edi
imul ecx, eax, 0x1000193
mov eax, dword [ebp - 0x14]
movzx eax, al
xor ecx, eax
mov eax, dword [ebp - 0x1c]
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100367e0
mov edi, dword [eax + 4]
test edi, edi
jne 0x1003aed8
mov edi, dword [ebp - 0x28]
mov edi, dword [edi + 4]
mov eax, dword [ebp - 0x10]
cmp edi, dword [eax + 0x12c]
jne 0x1003bf83
mov ecx, esi
mov edx, 0x1011cf30
mov edi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003af71
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1003aef3
push 0x14
call fcn.100b64b2
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x1003bf21
mov eax, dword [ebp - 0x10]
lea esi, [edi + 4]
mov ecx, dword [eax + 4]
mov dword [esi], vtable.AddressLookupTableObject.0
lea eax, [ebp - 0x28]
mov dword [edi + 0xc], ecx
push eax
mov dword [edi], vtable.m_IDirect3DSwapChain9Ex.0
lea eax, [ebp - 0x18]
mov dword [esi], vtable.m_IDirect3DSwapChain9Ex.1.0
mov dword [edi + 8], ebx
mov dword [edi + 0x10], 0x1010c4f0
mov ecx, dword [ecx + 0x10]
push eax
add ecx, 0x128
mov byte [ebp - 4], 1
mov dword [ebp - 0x28], ebx
call fcn.10036850
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x1003c024
push esi
jmp 0x1003c019
mov ecx, esi
mov edx, 0x1010c490
mov edi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003b0cc
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1003af83
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x10], esi
mov ebx, dword [eax]
mov eax, ebx
shr eax, 0x10
mov edx, ebx
mov dword [ebp - 0x24], eax
mov eax, ebx
shr eax, 8
shr edx, 0x18
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x1003bf21
movzx eax, bl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, dword [ebp - 0x28]
movzx eax, al
xor ecx, eax
mov eax, dword [ebp - 0x24]
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [esi + 0x68]
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100367e0
mov edi, dword [eax + 4]
test edi, edi
jne 0x1003b010
mov edi, dword [esi + 0x6c]
cmp edi, dword [esi + 0x6c]
jne 0x1003bf83
mov ecx, 0x1011cf30
mov esi, 0xc
mov edx, ecx
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003b03a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1003b025
xor eax, eax
jmp 0x1003b061
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1003b05c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1003b05c
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1003b05c
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1003b05c
xor eax, eax
jmp 0x1003b061
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1003c014
push 0x10
call fcn.100b64b2
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 2
test edi, edi
je 0x1003bf21
mov ecx, dword [ebp - 0x10]
lea esi, [edi + 4]
mov ecx, dword [ecx + 4]
mov dword [esi], vtable.AddressLookupTableObject.0
lea eax, [ebp - 0x28]
mov dword [edi + 0xc], ecx
push eax
mov dword [edi], vtable.m_IDirect3DCubeTexture9.0
lea eax, [ebp - 0x20]
mov dword [esi], vtable.m_IDirect3DCubeTexture9.1.0
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x10]
push eax
add ecx, 0x68
mov byte [ebp - 4], 3
mov dword [ebp - 0x28], ebx
call fcn.10036850
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x1003c024
mov ecx, esi
mov edx, 0x1010c4c0
mov edi, 0xc
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003b23a
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1003b0e0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x10], esi
mov ebx, dword [eax]
mov eax, ebx
shr eax, 0x10
mov edx, ebx
mov dword [ebp - 0x24], eax
mov eax, ebx
shr eax, 8
shr edx, 0x18
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x1003bf21
movzx eax, bl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, dword [ebp - 0x28]
movzx eax, al
xor ecx, eax
mov eax, dword [ebp - 0x24]
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [esi + 0x88]
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100367e0
mov edi, dword [eax + 4]
test edi, edi
jne 0x1003b173
mov edi, dword [esi + 0x8c]
cmp edi, dword [esi + 0x8c]
jne 0x1003bf83
mov ecx, 0x1011cf30
mov esi, 0xc
mov edx, ecx
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003b1a5
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1003b190
xor eax, eax
jmp 0x1003b1cc
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1003b1c7
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1003b1c7
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1003b1c7
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1003b1c7
xor eax, eax
jmp 0x1003b1cc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1003c014
push 0x10
call fcn.100b64b2
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 4
test edi, edi
je 0x1003bf21
mov ecx, dword [ebp - 0x10]
lea esi, [edi + 4]
mov ecx, dword [ecx + 4]
mov dword [esi], vtable.AddressLookupTableObject.0
lea eax, [ebp - 0x28]
mov dword [edi + 0xc], ecx
push eax
mov dword [edi], vtable.m_IDirect3DIndexBuffer9.0
lea eax, [ebp - 0x20]
mov dword [esi], vtable.m_IDirect3DIndexBuffer9.1.0
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x10]
push eax
add ecx, 0x88
mov byte [ebp - 4], 5
mov dword [ebp - 0x28], ebx
call fcn.10036850
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x1003c024
mov ecx, esi
mov edx, 0x1010c520
mov edi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003b39b
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1003b246
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x10], esi
mov ebx, dword [eax]
mov eax, ebx
shr eax, 0x10
mov edx, ebx
mov dword [ebp - 0x24], eax
mov eax, ebx
shr eax, 8
shr edx, 0x18
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x1003bf21
movzx eax, bl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, dword [ebp - 0x28]
movzx eax, al
xor ecx, eax
mov eax, dword [ebp - 0x24]
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [esi + 0xa8]
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100367e0
mov edi, dword [eax + 4]
test edi, edi
jne 0x1003b2d9
mov edi, dword [esi + 0xac]
cmp edi, dword [esi + 0xac]
jne 0x1003bf83
mov ecx, 0x1011cf30
mov esi, 0xc
mov edx, ecx
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003b306
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1003b2f1
xor eax, eax
jmp 0x1003b32d
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1003b328
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1003b328
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1003b328
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1003b328
xor eax, eax
jmp 0x1003b32d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1003c014
push 0x10
call fcn.100b64b2
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 6
test edi, edi
je 0x1003bf21
mov ecx, dword [ebp - 0x10]
lea esi, [edi + 4]
mov ecx, dword [ecx + 4]
mov dword [esi], vtable.AddressLookupTableObject.0
lea eax, [ebp - 0x28]
mov dword [edi + 0xc], ecx
push eax
mov dword [edi], vtable.m_IDirect3DPixelShader9.0
lea eax, [ebp - 0x20]
mov dword [esi], vtable.m_IDirect3DPixelShader9.1.0
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x10]
push eax
add ecx, 0xa8
mov byte [ebp - 4], 7
mov dword [ebp - 0x28], ebx
call fcn.10036850
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x1003c024
mov ecx, esi
mov edx, 0x1010c540
mov edi, 0xc
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003b50a
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1003b3b0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x10], esi
mov ebx, dword [eax]
mov eax, ebx
shr eax, 0x10
mov edx, ebx
mov dword [ebp - 0x24], eax
mov eax, ebx
shr eax, 8
shr edx, 0x18
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x1003bf21
movzx eax, bl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, dword [ebp - 0x28]
movzx eax, al
xor ecx, eax
mov eax, dword [ebp - 0x24]
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [esi + 0xc8]
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100367e0
mov edi, dword [eax + 4]
test edi, edi
jne 0x1003b443
mov edi, dword [esi + 0xcc]
cmp edi, dword [esi + 0xcc]
jne 0x1003bf83
mov ecx, 0x1011cf30
mov esi, 0xc
mov edx, ecx
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003b475
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1003b460
xor eax, eax
jmp 0x1003b49c
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1003b497
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1003b497
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1003b497
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1003b497
xor eax, eax
jmp 0x1003b49c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1003c014
push 0x10
call fcn.100b64b2
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 8
test edi, edi
je 0x1003bf21
mov ecx, dword [ebp - 0x10]
lea esi, [edi + 4]
mov ecx, dword [ecx + 4]
mov dword [esi], vtable.AddressLookupTableObject.0
lea eax, [ebp - 0x28]
mov dword [edi + 0xc], ecx
push eax
mov dword [edi], vtable.m_IDirect3DQuery9.0
lea eax, [ebp - 0x20]
mov dword [esi], vtable.m_IDirect3DQuery9.1.0
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x10]
push eax
add ecx, 0xc8
mov byte [ebp - 4], 9
mov dword [ebp - 0x28], ebx
call fcn.10036850
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x1003c024
mov ecx, esi
mov edx, 0x1010c530
mov edi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003b66b
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1003b516
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x10], esi
mov ebx, dword [eax]
mov eax, ebx
shr eax, 0x10
mov edx, ebx
mov dword [ebp - 0x24], eax
mov eax, ebx
shr eax, 8
shr edx, 0x18
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x1003bf21
movzx eax, bl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, dword [ebp - 0x28]
movzx eax, al
xor ecx, eax
mov eax, dword [ebp - 0x24]
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [esi + 0xe8]
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100367e0
mov edi, dword [eax + 4]
test edi, edi
jne 0x1003b5a9
mov edi, dword [esi + 0xec]
cmp edi, dword [esi + 0xec]
jne 0x1003bf83
mov ecx, 0x1011cf30
mov esi, 0xc
mov edx, ecx
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003b5d6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1003b5c1
xor eax, eax
jmp 0x1003b5fd
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1003b5f8
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1003b5f8
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1003b5f8
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1003b5f8
xor eax, eax
jmp 0x1003b5fd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1003c014
push 0x10
call fcn.100b64b2
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0xa
test edi, edi
je 0x1003bf21
mov ecx, dword [ebp - 0x10]
lea esi, [edi + 4]
mov ecx, dword [ecx + 4]
mov dword [esi], vtable.AddressLookupTableObject.0
lea eax, [ebp - 0x28]
mov dword [edi + 0xc], ecx
push eax
mov dword [edi], vtable.m_IDirect3DStateBlock9.0
lea eax, [ebp - 0x20]
mov dword [esi], vtable.m_IDirect3DStateBlock9.1.0
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x10]
push eax
add ecx, 0xe8
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x28], ebx
call fcn.10036850
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x1003c024
mov ecx, esi
mov edx, 0x1010c4d0
mov edi, 0xc
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003b7da
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1003b680
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x10], esi
mov ebx, dword [eax]
mov eax, ebx
shr eax, 0x10
mov edx, ebx
mov dword [ebp - 0x24], eax
mov eax, ebx
shr eax, 8
shr edx, 0x18
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x1003bf21
movzx eax, bl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, dword [ebp - 0x28]
movzx eax, al
xor ecx, eax
mov eax, dword [ebp - 0x24]
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [esi + 0x108]
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100367e0
mov edi, dword [eax + 4]
test edi, edi
jne 0x1003b713
mov edi, dword [esi + 0x10c]
cmp edi, dword [esi + 0x10c]
jne 0x1003bf83
mov ecx, 0x1011cf30
mov esi, 0xc
mov edx, ecx
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003b745
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1003b730
xor eax, eax
jmp 0x1003b76c
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1003b767
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1003b767
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1003b767
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1003b767
xor eax, eax
jmp 0x1003b76c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1003c014
push 0x10
call fcn.100b64b2
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0xc
test edi, edi
je 0x1003bf21
mov ecx, dword [ebp - 0x10]
lea esi, [edi + 4]
mov ecx, dword [ecx + 4]
mov dword [esi], vtable.AddressLookupTableObject.0
lea eax, [ebp - 0x28]
mov dword [edi + 0xc], ecx
push eax
mov dword [edi], vtable.m_IDirect3DSurface9.0
lea eax, [ebp - 0x20]
mov dword [esi], vtable.m_IDirect3DSurface9.1.0
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x10]
push eax
add ecx, 0x108
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x28], ebx
call fcn.10036850
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x1003c024
mov ecx, esi
mov edx, 0x1010c480
mov edi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003b93b
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1003b7e6
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x10], esi
mov ebx, dword [eax]
mov eax, ebx
shr eax, 0x10
mov edx, ebx
mov dword [ebp - 0x24], eax
mov eax, ebx
shr eax, 8
shr edx, 0x18
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x1003bf21
movzx eax, bl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, dword [ebp - 0x28]
movzx eax, al
xor ecx, eax
mov eax, dword [ebp - 0x24]
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [esi + 0x148]
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100367e0
mov edi, dword [eax + 4]
test edi, edi
jne 0x1003b879
mov edi, dword [esi + 0x14c]
cmp edi, dword [esi + 0x14c]
jne 0x1003bf83
mov ecx, 0x1011cf30
mov esi, 0xc
mov edx, ecx
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003b8a6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1003b891
xor eax, eax
jmp 0x1003b8cd
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1003b8c8
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1003b8c8
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1003b8c8
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1003b8c8
xor eax, eax
jmp 0x1003b8cd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1003c014
push 0x10
call fcn.100b64b2
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0xe
test edi, edi
je 0x1003bf21
mov ecx, dword [ebp - 0x10]
lea esi, [edi + 4]
mov ecx, dword [ecx + 4]
mov dword [esi], vtable.AddressLookupTableObject.0
lea eax, [ebp - 0x28]
mov dword [edi + 0xc], ecx
push eax
mov dword [edi], vtable.m_IDirect3DTexture9.0
lea eax, [ebp - 0x20]
mov dword [esi], vtable.m_IDirect3DTexture9.1.0
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x10]
push eax
add ecx, 0x148
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x28], ebx
call fcn.10036850
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x1003c024
mov ecx, esi
mov edx, 0x1010c4b0
mov edi, 0xc
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003baaa
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1003b950
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x10], esi
mov ebx, dword [eax]
mov eax, ebx
shr eax, 0x10
mov edx, ebx
mov dword [ebp - 0x24], eax
mov eax, ebx
shr eax, 8
shr edx, 0x18
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x1003bf21
movzx eax, bl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, dword [ebp - 0x28]
movzx eax, al
xor ecx, eax
mov eax, dword [ebp - 0x24]
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [esi + 0x168]
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100367e0
mov edi, dword [eax + 4]
test edi, edi
jne 0x1003b9e3
mov edi, dword [esi + 0x16c]
cmp edi, dword [esi + 0x16c]
jne 0x1003bf83
mov ecx, 0x1011cf30
mov esi, 0xc
mov edx, ecx
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003ba15
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1003ba00
xor eax, eax
jmp 0x1003ba3c
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1003ba37
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1003ba37
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1003ba37
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1003ba37
xor eax, eax
jmp 0x1003ba3c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1003c014
push 0x10
call fcn.100b64b2
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x10
test edi, edi
je 0x1003bf21
mov ecx, dword [ebp - 0x10]
lea esi, [edi + 4]
mov ecx, dword [ecx + 4]
mov dword [esi], vtable.AddressLookupTableObject.0
lea eax, [ebp - 0x28]
mov dword [edi + 0xc], ecx
push eax
mov dword [edi], vtable.m_IDirect3DVertexBuffer9.0
lea eax, [ebp - 0x20]
mov dword [esi], vtable.m_IDirect3DVertexBuffer9.1.0
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x10]
push eax
add ecx, 0x168
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x28], ebx
call fcn.10036850
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x1003c024
mov ecx, esi
mov edx, 0x1010c500
mov edi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003bc0b
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1003bab6
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x10], esi
mov ebx, dword [eax]
mov eax, ebx
shr eax, 0x10
mov edx, ebx
mov dword [ebp - 0x24], eax
mov eax, ebx
shr eax, 8
shr edx, 0x18
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x1003bf21
movzx eax, bl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, dword [ebp - 0x28]
movzx eax, al
xor ecx, eax
mov eax, dword [ebp - 0x24]
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [esi + 0x188]
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100367e0
mov edi, dword [eax + 4]
test edi, edi
jne 0x1003bb49
mov edi, dword [esi + 0x18c]
cmp edi, dword [esi + 0x18c]
jne 0x1003bf83
mov ecx, 0x1011cf30
mov esi, 0xc
mov edx, ecx
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003bb76
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1003bb61
xor eax, eax
jmp 0x1003bb9d
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1003bb98
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1003bb98
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1003bb98
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1003bb98
xor eax, eax
jmp 0x1003bb9d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1003c014
push 0x10
call fcn.100b64b2
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x12
test edi, edi
je 0x1003bf21
mov ecx, dword [ebp - 0x10]
lea esi, [edi + 4]
mov ecx, dword [ecx + 4]
mov dword [esi], vtable.AddressLookupTableObject.0
lea eax, [ebp - 0x28]
mov dword [edi + 0xc], ecx
push eax
mov dword [edi], vtable.m_IDirect3DVertexDeclaration9.0
lea eax, [ebp - 0x20]
mov dword [esi], vtable.m_IDirect3DVertexDeclaration9.1.0
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x10]
push eax
add ecx, 0x188
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x28], ebx
call fcn.10036850
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x1003c024
mov ecx, esi
mov edx, 0x1010c510
mov edi, 0xc
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003bd7a
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1003bc20
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x10], esi
mov ebx, dword [eax]
mov eax, ebx
shr eax, 0x10
mov edx, ebx
mov dword [ebp - 0x24], eax
mov eax, ebx
shr eax, 8
shr edx, 0x18
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x1003bf21
movzx eax, bl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, dword [ebp - 0x28]
movzx eax, al
xor ecx, eax
mov eax, dword [ebp - 0x24]
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [esi + 0x1a8]
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100367e0
mov edi, dword [eax + 4]
test edi, edi
jne 0x1003bcb3
mov edi, dword [esi + 0x1ac]
cmp edi, dword [esi + 0x1ac]
jne 0x1003bf83
mov ecx, 0x1011cf30
mov esi, 0xc
mov edx, ecx
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003bce5
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1003bcd0
xor eax, eax
jmp 0x1003bd0c
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1003bd07
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1003bd07
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1003bd07
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1003bd07
xor eax, eax
jmp 0x1003bd0c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1003c014
push 0x10
call fcn.100b64b2
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x14
test edi, edi
je 0x1003bf21
mov ecx, dword [ebp - 0x10]
lea esi, [edi + 4]
mov ecx, dword [ecx + 4]
mov dword [esi], vtable.AddressLookupTableObject.0
lea eax, [ebp - 0x28]
mov dword [edi + 0xc], ecx
push eax
mov dword [edi], vtable.m_IDirect3DVertexShader9.0
lea eax, [ebp - 0x20]
mov dword [esi], vtable.m_IDirect3DVertexShader9.1.0
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x10]
push eax
add ecx, 0x1a8
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x28], ebx
call fcn.10036850
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x1003c024
mov ecx, esi
mov edx, 0x1010c4e0
mov edi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003bedb
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1003bd86
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x10], esi
mov ebx, dword [eax]
mov eax, ebx
shr eax, 0x10
mov edx, ebx
mov dword [ebp - 0x24], eax
mov eax, ebx
shr eax, 8
shr edx, 0x18
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x1003bf21
movzx eax, bl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, dword [ebp - 0x28]
movzx eax, al
xor ecx, eax
mov eax, dword [ebp - 0x24]
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [esi + 0x1c8]
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100367e0
mov edi, dword [eax + 4]
test edi, edi
jne 0x1003be19
mov edi, dword [esi + 0x1cc]
cmp edi, dword [esi + 0x1cc]
jne 0x1003bf83
mov ecx, 0x1011cf30
mov esi, 0xc
mov edx, ecx
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003be46
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1003be31
xor eax, eax
jmp 0x1003be6d
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1003be68
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1003be68
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1003be68
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x1003be68
xor eax, eax
jmp 0x1003be6d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1003c014
push 0x10
call fcn.100b64b2
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0x16
test edi, edi
je 0x1003bf21
mov ecx, dword [ebp - 0x10]
lea esi, [edi + 4]
mov ecx, dword [ecx + 4]
mov dword [esi], vtable.AddressLookupTableObject.0
lea eax, [ebp - 0x28]
mov dword [edi + 0xc], ecx
push eax
mov dword [edi], vtable.m_IDirect3DVolume9.0
lea eax, [ebp - 0x20]
mov dword [esi], vtable.m_IDirect3DVolume9.1.0
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x10]
push eax
add ecx, 0x1c8
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x28], ebx
call fcn.10036850
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x1003c024
mov ecx, 0x1010c4a0
mov edx, 0xc
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x1003c029
add esi, 4
add ecx, 4
sub edx, 4
jae 0x1003bee5
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x10], esi
mov ebx, dword [eax]
mov eax, ebx
shr eax, 0x10
mov edx, ebx
mov dword [ebp - 0x24], eax
mov eax, ebx
shr eax, 8
shr edx, 0x18
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], eax
test ebx, ebx
jne 0x1003bf28
xor edi, edi
jmp 0x1003c024
movzx eax, bl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, dword [ebp - 0x28]
movzx eax, al
xor ecx, eax
mov eax, dword [ebp - 0x24]
imul ecx, ecx, 0x1000193
movzx eax, al
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [esi + 0x1e8]
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.100367e0
mov edi, dword [eax + 4]
test edi, edi
jne 0x1003bf7b
mov edi, dword [esi + 0x1ec]
cmp edi, dword [esi + 0x1ec]
je 0x1003bf94
mov edi, dword [edi + 0xc]
lea eax, [edi - 4]
neg edi
sbb edi, edi
and edi, eax
jmp 0x1003c024
mov ecx, 0x1011cf30
mov esi, 0xc
mov edx, ecx
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1003c014
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1003bfa0
push 0x10
call fcn.100b64b2
mov edi, eax
add esp, 4
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 0x18
test edi, edi
je 0x1003bf21
mov ecx, dword [ebp - 0x10]
lea esi, [edi + 4]
mov ecx, dword [ecx + 4]
mov dword [esi], vtable.AddressLookupTableObject.0
lea eax, [ebp - 0x24]
mov dword [edi + 0xc], ecx
push eax
mov dword [edi], vtable.m_IDirect3DVolumeTexture9.0
lea eax, [ebp - 0x38]
mov dword [esi], vtable.m_IDirect3DVolumeTexture9.1.0
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x10]
push eax
add ecx, 0x1e8
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x24], ebx
call fcn.10036850
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x1003c024
push 0x1011cf30
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.10037a10
mov edi, eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret