Function at 0x10043830
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011bb67
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1015bc40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10044c82
cmp dword [eax], 0
je 0x10044c82
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x10044c82
mov esi, dword [ebp + 8]
mov edx, 0x1012a8c0
mov ecx, esi
mov edi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10043899
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10043886
jmp 0x100438b6
mov ecx, esi
mov edx, 0x1012a9d0
mov edi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1004390f
add ecx, 4
add edx, 4
sub edi, 4
jae 0x100438a5
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 0x1004390f
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1004390f
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 0x100438f4
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x100438f4
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, 0x1012a8d0
mov edi, 0xc
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10043933
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10043920
jmp 0x10043951
mov ecx, esi
mov edx, 0x1012a9e0
mov edi, 0xc
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1004398d
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10043940
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 0x10044c82
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x10044c82
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, 0x1012a970
mov edi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100439b3
add ecx, 4
add edx, 4
sub edi, 4
jae 0x100439a0
jmp 0x100439d5
mov ecx, esi
mov edx, 0x1012a9f0
mov edi, 0xc
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10043b6a
add ecx, 4
add edx, 4
sub edi, 4
jae 0x100439c0
mov eax, dword [ebx + 0x1c8]
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 - 0x18], ecx
mov ecx, ebx
shr ecx, 8
shr edx, 0x18
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ecx
test ebx, ebx
jne 0x10043a18
mov ebx, dword [ebp + 0xc]
xor edi, edi
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
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 - 0x18]
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 - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1003df40
mov edi, dword [eax + 4]
test edi, edi
jne 0x10043a70
mov edi, dword [ebp - 0x28]
mov edi, dword [edi + 4]
mov eax, dword [ebp - 0x10]
cmp edi, dword [eax + 0x12c]
je 0x10043a9e
mov edi, dword [edi + 0xc]
mov ebx, dword [ebp + 0xc]
lea eax, [edi - 4]
neg edi
sbb edi, edi
and edi, eax
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
mov ecx, esi
mov edx, 0x1013dea8
mov edi, 0xc
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10043b47
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10043ab0
push 0x14
call fcn.100d04bc
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x100439ff
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 - 0x1c]
mov dword [esi], vtable.m_IDirect3DSwapChain9Ex.1.0
mov dword [edi + 8], ebx
mov dword [edi + 0x10], 0x1012a970
mov ecx, dword [ecx + 0x1c8]
push eax
add ecx, 0x128
mov byte [ebp - 4], 1
mov dword [ebp - 0x28], ebx
call fcn.1003dfb0
mov ebx, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [eax + 0xc], esi
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
mov ecx, dword [ebp - 0x10]
push esi
push ebx
call fcn.1003f410
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
mov ecx, esi
mov edx, 0x1012a910
mov edi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10043cdc
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10043b76
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x1c8]
mov dword [ebp - 0x10], esi
mov ebx, dword [eax]
mov eax, ebx
shr eax, 0x10
mov edx, ebx
mov dword [ebp - 0x20], eax
mov eax, ebx
shr eax, 8
shr edx, 0x18
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x100439ff
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 - 0x20]
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 - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1003df40
mov edi, dword [eax + 4]
test edi, edi
jne 0x10043c06
mov edi, dword [esi + 0x6c]
cmp edi, dword [esi + 0x6c]
jne 0x10043a7b
mov ecx, 0x1013dea8
mov esi, 0xc
mov edx, ecx
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10043c35
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10043c20
xor eax, eax
jmp 0x10043c5c
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10043c57
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10043c57
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10043c57
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10043c57
xor eax, eax
jmp 0x10043c5c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10043cc6
push 0x10
call fcn.100d04bc
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 2
test edi, edi
je 0x100439ff
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 - 0x1c]
mov dword [esi], vtable.m_IDirect3DCubeTexture9.1.0
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x1c8]
push eax
add ecx, 0x68
mov byte [ebp - 4], 3
mov dword [ebp - 0x28], ebx
call fcn.1003dfb0
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x10043b53
mov ecx, dword [ebp - 0x10]
push 0x1013dea8
push ebx
call fcn.1003f410
mov ebx, dword [ebp + 0xc]
jmp 0x10044c7e
mov ecx, esi
mov edx, 0x1012a940
mov edi, 0xc
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10043e4d
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10043cf0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x1c8]
mov dword [ebp - 0x10], esi
mov ebx, dword [eax]
mov eax, ebx
shr eax, 0x10
mov edx, ebx
mov dword [ebp - 0x20], eax
mov eax, ebx
shr eax, 8
shr edx, 0x18
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x100439ff
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 - 0x20]
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 - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1003df40
mov edi, dword [eax + 4]
test edi, edi
jne 0x10043d86
mov edi, dword [esi + 0x8c]
cmp edi, dword [esi + 0x8c]
jne 0x10043a7b
mov ecx, 0x1013dea8
mov esi, 0xc
mov edx, ecx
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10043db5
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10043da0
xor eax, eax
jmp 0x10043ddc
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10043dd7
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10043dd7
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10043dd7
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10043dd7
xor eax, eax
jmp 0x10043ddc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10043cc6
push 0x10
call fcn.100d04bc
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 4
test edi, edi
je 0x100439ff
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 - 0x1c]
mov dword [esi], vtable.m_IDirect3DIndexBuffer9.1.0
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x1c8]
push eax
add ecx, 0x88
mov byte [ebp - 4], 5
mov dword [ebp - 0x28], ebx
call fcn.1003dfb0
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x10043b53
mov ecx, esi
mov edx, 0x1012a9a0
mov edi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10043fbd
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10043e60
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x1c8]
mov dword [ebp - 0x10], esi
mov ebx, dword [eax]
mov eax, ebx
shr eax, 0x10
mov edx, ebx
mov dword [ebp - 0x20], eax
mov eax, ebx
shr eax, 8
shr edx, 0x18
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x100439ff
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 - 0x20]
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 - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1003df40
mov edi, dword [eax + 4]
test edi, edi
jne 0x10043ef6
mov edi, dword [esi + 0xac]
cmp edi, dword [esi + 0xac]
jne 0x10043a7b
mov ecx, 0x1013dea8
mov esi, 0xc
mov edx, ecx
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10043f25
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10043f10
xor eax, eax
jmp 0x10043f4c
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10043f47
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10043f47
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10043f47
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10043f47
xor eax, eax
jmp 0x10043f4c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10043cc6
push 0x10
call fcn.100d04bc
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 6
test edi, edi
je 0x100439ff
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 - 0x1c]
mov dword [esi], vtable.m_IDirect3DPixelShader9.1.0
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x1c8]
push eax
add ecx, 0xa8
mov byte [ebp - 4], 7
mov dword [ebp - 0x28], ebx
call fcn.1003dfb0
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x10043b53
mov ecx, esi
mov edx, 0x1012a9c0
mov edi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1004412d
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10043fd0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x1c8]
mov dword [ebp - 0x10], esi
mov ebx, dword [eax]
mov eax, ebx
shr eax, 0x10
mov edx, ebx
mov dword [ebp - 0x20], eax
mov eax, ebx
shr eax, 8
shr edx, 0x18
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x100439ff
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 - 0x20]
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 - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1003df40
mov edi, dword [eax + 4]
test edi, edi
jne 0x10044066
mov edi, dword [esi + 0xcc]
cmp edi, dword [esi + 0xcc]
jne 0x10043a7b
mov ecx, 0x1013dea8
mov esi, 0xc
mov edx, ecx
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10044095
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10044080
xor eax, eax
jmp 0x100440bc
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100440b7
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100440b7
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100440b7
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x100440b7
xor eax, eax
jmp 0x100440bc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10043cc6
push 0x10
call fcn.100d04bc
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 8
test edi, edi
je 0x100439ff
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 - 0x1c]
mov dword [esi], vtable.m_IDirect3DQuery9.1.0
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x1c8]
push eax
add ecx, 0xc8
mov byte [ebp - 4], 9
mov dword [ebp - 0x28], ebx
call fcn.1003dfb0
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x10043b53
mov ecx, esi
mov edx, 0x1012a9b0
mov edi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1004429d
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10044140
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x1c8]
mov dword [ebp - 0x10], esi
mov ebx, dword [eax]
mov eax, ebx
shr eax, 0x10
mov edx, ebx
mov dword [ebp - 0x20], eax
mov eax, ebx
shr eax, 8
shr edx, 0x18
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x100439ff
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 - 0x20]
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 - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1003df40
mov edi, dword [eax + 4]
test edi, edi
jne 0x100441d6
mov edi, dword [esi + 0xec]
cmp edi, dword [esi + 0xec]
jne 0x10043a7b
mov ecx, 0x1013dea8
mov esi, 0xc
mov edx, ecx
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10044205
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100441f0
xor eax, eax
jmp 0x1004422c
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10044227
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10044227
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10044227
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10044227
xor eax, eax
jmp 0x1004422c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10043cc6
push 0x10
call fcn.100d04bc
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0xa
test edi, edi
je 0x100439ff
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 - 0x1c]
mov dword [esi], vtable.m_IDirect3DStateBlock9.1.0
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x1c8]
push eax
add ecx, 0xe8
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x28], ebx
call fcn.1003dfb0
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x10043b53
mov ecx, esi
mov edx, 0x1012a950
mov edi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1004440d
add ecx, 4
add edx, 4
sub edi, 4
jae 0x100442b0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x1c8]
mov dword [ebp - 0x10], esi
mov ebx, dword [eax]
mov eax, ebx
shr eax, 0x10
mov edx, ebx
mov dword [ebp - 0x20], eax
mov eax, ebx
shr eax, 8
shr edx, 0x18
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x100439ff
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 - 0x20]
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 - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1003df40
mov edi, dword [eax + 4]
test edi, edi
jne 0x10044346
mov edi, dword [esi + 0x10c]
cmp edi, dword [esi + 0x10c]
jne 0x10043a7b
mov ecx, 0x1013dea8
mov esi, 0xc
mov edx, ecx
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10044375
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10044360
xor eax, eax
jmp 0x1004439c
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10044397
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10044397
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10044397
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10044397
xor eax, eax
jmp 0x1004439c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10043cc6
push 0x10
call fcn.100d04bc
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0xc
test edi, edi
je 0x100439ff
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 - 0x1c]
mov dword [esi], vtable.m_IDirect3DSurface9.1.0
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x1c8]
push eax
add ecx, 0x108
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x28], ebx
call fcn.1003dfb0
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x10043b53
mov ecx, esi
mov edx, 0x1012a900
mov edi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1004457d
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10044420
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x1c8]
mov dword [ebp - 0x10], esi
mov ebx, dword [eax]
mov eax, ebx
shr eax, 0x10
mov edx, ebx
mov dword [ebp - 0x20], eax
mov eax, ebx
shr eax, 8
shr edx, 0x18
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x100439ff
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 - 0x20]
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 - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1003df40
mov edi, dword [eax + 4]
test edi, edi
jne 0x100444b6
mov edi, dword [esi + 0x14c]
cmp edi, dword [esi + 0x14c]
jne 0x10043a7b
mov ecx, 0x1013dea8
mov esi, 0xc
mov edx, ecx
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100444e5
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100444d0
xor eax, eax
jmp 0x1004450c
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10044507
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10044507
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10044507
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10044507
xor eax, eax
jmp 0x1004450c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10043cc6
push 0x10
call fcn.100d04bc
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0xe
test edi, edi
je 0x100439ff
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 - 0x1c]
mov dword [esi], vtable.m_IDirect3DTexture9.1.0
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x1c8]
push eax
add ecx, 0x148
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x28], ebx
call fcn.1003dfb0
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x10043b53
mov ecx, esi
mov edx, 0x1012a930
mov edi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100446ed
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10044590
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x1c8]
mov dword [ebp - 0x10], esi
mov ebx, dword [eax]
mov eax, ebx
shr eax, 0x10
mov edx, ebx
mov dword [ebp - 0x20], eax
mov eax, ebx
shr eax, 8
shr edx, 0x18
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x100439ff
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 - 0x20]
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 - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1003df40
mov edi, dword [eax + 4]
test edi, edi
jne 0x10044626
mov edi, dword [esi + 0x16c]
cmp edi, dword [esi + 0x16c]
jne 0x10043a7b
mov ecx, 0x1013dea8
mov esi, 0xc
mov edx, ecx
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10044655
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10044640
xor eax, eax
jmp 0x1004467c
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10044677
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10044677
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10044677
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10044677
xor eax, eax
jmp 0x1004467c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10043cc6
push 0x10
call fcn.100d04bc
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0x10
test edi, edi
je 0x100439ff
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 - 0x1c]
mov dword [esi], vtable.m_IDirect3DVertexBuffer9.1.0
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x1c8]
push eax
add ecx, 0x168
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x28], ebx
call fcn.1003dfb0
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x10043b53
mov ecx, esi
mov edx, 0x1012a980
mov edi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1004485d
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10044700
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x1c8]
mov dword [ebp - 0x10], esi
mov ebx, dword [eax]
mov eax, ebx
shr eax, 0x10
mov edx, ebx
mov dword [ebp - 0x20], eax
mov eax, ebx
shr eax, 8
shr edx, 0x18
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x100439ff
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 - 0x20]
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 - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1003df40
mov edi, dword [eax + 4]
test edi, edi
jne 0x10044796
mov edi, dword [esi + 0x18c]
cmp edi, dword [esi + 0x18c]
jne 0x10043a7b
mov ecx, 0x1013dea8
mov esi, 0xc
mov edx, ecx
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100447c5
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100447b0
xor eax, eax
jmp 0x100447ec
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100447e7
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100447e7
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100447e7
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x100447e7
xor eax, eax
jmp 0x100447ec
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10043cc6
push 0x10
call fcn.100d04bc
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0x12
test edi, edi
je 0x100439ff
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 - 0x1c]
mov dword [esi], vtable.m_IDirect3DVertexDeclaration9.1.0
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x1c8]
push eax
add ecx, 0x188
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x28], ebx
call fcn.1003dfb0
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x10043b53
mov ecx, esi
mov edx, 0x1012a990
mov edi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100449cd
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10044870
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x1c8]
mov dword [ebp - 0x10], esi
mov ebx, dword [eax]
mov eax, ebx
shr eax, 0x10
mov edx, ebx
mov dword [ebp - 0x20], eax
mov eax, ebx
shr eax, 8
shr edx, 0x18
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x100439ff
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 - 0x20]
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 - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1003df40
mov edi, dword [eax + 4]
test edi, edi
jne 0x10044906
mov edi, dword [esi + 0x1ac]
cmp edi, dword [esi + 0x1ac]
jne 0x10043a7b
mov ecx, 0x1013dea8
mov esi, 0xc
mov edx, ecx
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10044935
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10044920
xor eax, eax
jmp 0x1004495c
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10044957
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10044957
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10044957
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10044957
xor eax, eax
jmp 0x1004495c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10043cc6
push 0x10
call fcn.100d04bc
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0x14
test edi, edi
je 0x100439ff
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 - 0x1c]
mov dword [esi], vtable.m_IDirect3DVertexShader9.1.0
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x1c8]
push eax
add ecx, 0x1a8
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x28], ebx
call fcn.1003dfb0
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x10043b53
mov ecx, esi
mov edx, 0x1012a960
mov edi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10044b3d
add ecx, 4
add edx, 4
sub edi, 4
jae 0x100449e0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebx + 0x1c8]
mov dword [ebp - 0x10], esi
mov ebx, dword [eax]
mov eax, ebx
shr eax, 0x10
mov edx, ebx
mov dword [ebp - 0x20], eax
mov eax, ebx
shr eax, 8
shr edx, 0x18
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], eax
test ebx, ebx
je 0x100439ff
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 - 0x20]
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 - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1003df40
mov edi, dword [eax + 4]
test edi, edi
jne 0x10044a76
mov edi, dword [esi + 0x1cc]
cmp edi, dword [esi + 0x1cc]
jne 0x10043a7b
mov ecx, 0x1013dea8
mov esi, 0xc
mov edx, ecx
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10044aa5
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10044a90
xor eax, eax
jmp 0x10044acc
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10044ac7
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10044ac7
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10044ac7
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10044ac7
xor eax, eax
jmp 0x10044acc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10043cc6
push 0x10
call fcn.100d04bc
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0x16
test edi, edi
je 0x100439ff
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 - 0x1c]
mov dword [esi], vtable.m_IDirect3DVolume9.1.0
mov dword [edi + 8], ebx
mov ecx, dword [ecx + 0x1c8]
push eax
add ecx, 0x1c8
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x28], ebx
call fcn.1003dfb0
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x10043b53
mov ecx, 0x1012a920
mov edx, 0xc
nop word [eax + eax]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x10044c82
add esi, 4
add ecx, 4
sub edx, 4
jae 0x10044b50
mov esi, dword [ebx + 0x1c8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
mov edi, dword [ebx]
mov dword [ebp - 0x20], edi
mov dword [ebp + 0xc], edi
test edi, edi
jne 0x10044b93
xor edi, edi
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
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x28]
lea ecx, [esi + 0x1e8]
push eax
call fcn.100437c0
mov eax, dword [ebp - 0x28]
cmp eax, dword [esi + 0x1ec]
je 0x10044bd1
mov edi, dword [eax + 0xc]
lea eax, [edi - 4]
neg edi
sbb edi, edi
and edi, eax
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
mov ecx, 0x1013dea8
mov esi, 0xc
mov edx, ecx
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10044c70
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10044be0
push 0x10
call fcn.100d04bc
mov edi, eax
add esp, 4
mov dword [ebp + 0xc], edi
mov dword [ebp - 4], 0x18
test edi, edi
je 0x10044b7d
mov ecx, dword [ebp - 0x10]
lea esi, [edi + 4]
mov ecx, dword [ecx + 4]
mov dword [esi], vtable.AddressLookupTableObject.0
mov eax, dword [ebp - 0x20]
mov dword [edi + 8], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov dword [edi + 0xc], ecx
push eax
mov dword [edi], vtable.m_IDirect3DVolumeTexture9.0
lea eax, [ebp - 0x24]
mov dword [esi], vtable.m_IDirect3DVolumeTexture9.1.0
mov ecx, dword [ecx + 0x1c8]
push eax
add ecx, 0x1e8
mov byte [ebp - 4], 0x19
call fcn.1003dfb0
mov eax, dword [eax]
mov dword [eax + 0xc], esi
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
mov ecx, dword [ebp - 0x10]
push 0x1013dea8
push edi
call fcn.1003f410
mov edi, eax
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