Function at 0x10043900
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011be27
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 0x10044d52
cmp dword [eax], 0
je 0x10044d52
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x10044d52
mov esi, dword [ebp + 8]
mov edx, 0x1012a8c0
mov ecx, esi
mov edi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10043969
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10043956
jmp 0x10043986
mov ecx, esi
mov edx, 0x1012a9d0
mov edi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100439df
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10043975
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 0x100439df
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100439df
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 0x100439c4
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x100439c4
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 0x10043a03
add ecx, 4
add edx, 4
sub edi, 4
jae 0x100439f0
jmp 0x10043a21
mov ecx, esi
mov edx, 0x1012a9e0
mov edi, 0xc
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10043a5d
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10043a10
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 0x10044d52
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x10044d52
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 0x10043a83
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10043a70
jmp 0x10043aa5
mov ecx, esi
mov edx, 0x1012a9f0
mov edi, 0xc
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10043c3a
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10043a90
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 0x10043ae8
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.1003e010
mov edi, dword [eax + 4]
test edi, edi
jne 0x10043b40
mov edi, dword [ebp - 0x28]
mov edi, dword [edi + 4]
mov eax, dword [ebp - 0x10]
cmp edi, dword [eax + 0x12c]
je 0x10043b6e
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, 0x1013ded8
mov edi, 0xc
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10043c17
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10043b80
push 0x14
call fcn.100d088c
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x10043acf
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.1003e080
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.1003f4e0
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 0x10043dac
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10043c46
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 0x10043acf
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.1003e010
mov edi, dword [eax + 4]
test edi, edi
jne 0x10043cd6
mov edi, dword [esi + 0x6c]
cmp edi, dword [esi + 0x6c]
jne 0x10043b4b
mov ecx, 0x1013ded8
mov esi, 0xc
mov edx, ecx
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10043d05
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10043cf0
xor eax, eax
jmp 0x10043d2c
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10043d27
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10043d27
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10043d27
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10043d27
xor eax, eax
jmp 0x10043d2c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10043d96
push 0x10
call fcn.100d088c
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 2
test edi, edi
je 0x10043acf
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.1003e080
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x10043c23
mov ecx, dword [ebp - 0x10]
push 0x1013ded8
push ebx
call fcn.1003f4e0
mov ebx, dword [ebp + 0xc]
jmp 0x10044d4e
mov ecx, esi
mov edx, 0x1012a940
mov edi, 0xc
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10043f1d
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10043dc0
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 0x10043acf
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.1003e010
mov edi, dword [eax + 4]
test edi, edi
jne 0x10043e56
mov edi, dword [esi + 0x8c]
cmp edi, dword [esi + 0x8c]
jne 0x10043b4b
mov ecx, 0x1013ded8
mov esi, 0xc
mov edx, ecx
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10043e85
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10043e70
xor eax, eax
jmp 0x10043eac
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10043ea7
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10043ea7
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10043ea7
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10043ea7
xor eax, eax
jmp 0x10043eac
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10043d96
push 0x10
call fcn.100d088c
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 4
test edi, edi
je 0x10043acf
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.1003e080
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x10043c23
mov ecx, esi
mov edx, 0x1012a9a0
mov edi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1004408d
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10043f30
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 0x10043acf
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.1003e010
mov edi, dword [eax + 4]
test edi, edi
jne 0x10043fc6
mov edi, dword [esi + 0xac]
cmp edi, dword [esi + 0xac]
jne 0x10043b4b
mov ecx, 0x1013ded8
mov esi, 0xc
mov edx, ecx
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10043ff5
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10043fe0
xor eax, eax
jmp 0x1004401c
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10044017
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10044017
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10044017
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10044017
xor eax, eax
jmp 0x1004401c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10043d96
push 0x10
call fcn.100d088c
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 6
test edi, edi
je 0x10043acf
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.1003e080
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x10043c23
mov ecx, esi
mov edx, 0x1012a9c0
mov edi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100441fd
add ecx, 4
add edx, 4
sub edi, 4
jae 0x100440a0
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 0x10043acf
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.1003e010
mov edi, dword [eax + 4]
test edi, edi
jne 0x10044136
mov edi, dword [esi + 0xcc]
cmp edi, dword [esi + 0xcc]
jne 0x10043b4b
mov ecx, 0x1013ded8
mov esi, 0xc
mov edx, ecx
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10044165
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10044150
xor eax, eax
jmp 0x1004418c
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10044187
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10044187
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10044187
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10044187
xor eax, eax
jmp 0x1004418c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10043d96
push 0x10
call fcn.100d088c
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 8
test edi, edi
je 0x10043acf
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.1003e080
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x10043c23
mov ecx, esi
mov edx, 0x1012a9b0
mov edi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1004436d
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10044210
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 0x10043acf
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.1003e010
mov edi, dword [eax + 4]
test edi, edi
jne 0x100442a6
mov edi, dword [esi + 0xec]
cmp edi, dword [esi + 0xec]
jne 0x10043b4b
mov ecx, 0x1013ded8
mov esi, 0xc
mov edx, ecx
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100442d5
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100442c0
xor eax, eax
jmp 0x100442fc
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100442f7
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100442f7
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100442f7
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x100442f7
xor eax, eax
jmp 0x100442fc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10043d96
push 0x10
call fcn.100d088c
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0xa
test edi, edi
je 0x10043acf
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.1003e080
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x10043c23
mov ecx, esi
mov edx, 0x1012a950
mov edi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100444dd
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10044380
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 0x10043acf
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.1003e010
mov edi, dword [eax + 4]
test edi, edi
jne 0x10044416
mov edi, dword [esi + 0x10c]
cmp edi, dword [esi + 0x10c]
jne 0x10043b4b
mov ecx, 0x1013ded8
mov esi, 0xc
mov edx, ecx
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10044445
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10044430
xor eax, eax
jmp 0x1004446c
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10044467
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10044467
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10044467
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10044467
xor eax, eax
jmp 0x1004446c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10043d96
push 0x10
call fcn.100d088c
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0xc
test edi, edi
je 0x10043acf
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.1003e080
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x10043c23
mov ecx, esi
mov edx, 0x1012a900
mov edi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1004464d
add ecx, 4
add edx, 4
sub edi, 4
jae 0x100444f0
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 0x10043acf
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.1003e010
mov edi, dword [eax + 4]
test edi, edi
jne 0x10044586
mov edi, dword [esi + 0x14c]
cmp edi, dword [esi + 0x14c]
jne 0x10043b4b
mov ecx, 0x1013ded8
mov esi, 0xc
mov edx, ecx
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100445b5
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100445a0
xor eax, eax
jmp 0x100445dc
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100445d7
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100445d7
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100445d7
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x100445d7
xor eax, eax
jmp 0x100445dc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10043d96
push 0x10
call fcn.100d088c
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0xe
test edi, edi
je 0x10043acf
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.1003e080
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x10043c23
mov ecx, esi
mov edx, 0x1012a930
mov edi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100447bd
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10044660
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 0x10043acf
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.1003e010
mov edi, dword [eax + 4]
test edi, edi
jne 0x100446f6
mov edi, dword [esi + 0x16c]
cmp edi, dword [esi + 0x16c]
jne 0x10043b4b
mov ecx, 0x1013ded8
mov esi, 0xc
mov edx, ecx
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10044725
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10044710
xor eax, eax
jmp 0x1004474c
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10044747
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10044747
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10044747
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10044747
xor eax, eax
jmp 0x1004474c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10043d96
push 0x10
call fcn.100d088c
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0x10
test edi, edi
je 0x10043acf
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.1003e080
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x10043c23
mov ecx, esi
mov edx, 0x1012a980
mov edi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1004492d
add ecx, 4
add edx, 4
sub edi, 4
jae 0x100447d0
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 0x10043acf
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.1003e010
mov edi, dword [eax + 4]
test edi, edi
jne 0x10044866
mov edi, dword [esi + 0x18c]
cmp edi, dword [esi + 0x18c]
jne 0x10043b4b
mov ecx, 0x1013ded8
mov esi, 0xc
mov edx, ecx
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10044895
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10044880
xor eax, eax
jmp 0x100448bc
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100448b7
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100448b7
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100448b7
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x100448b7
xor eax, eax
jmp 0x100448bc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10043d96
push 0x10
call fcn.100d088c
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0x12
test edi, edi
je 0x10043acf
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.1003e080
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x10043c23
mov ecx, esi
mov edx, 0x1012a990
mov edi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10044a9d
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10044940
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 0x10043acf
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.1003e010
mov edi, dword [eax + 4]
test edi, edi
jne 0x100449d6
mov edi, dword [esi + 0x1ac]
cmp edi, dword [esi + 0x1ac]
jne 0x10043b4b
mov ecx, 0x1013ded8
mov esi, 0xc
mov edx, ecx
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10044a05
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100449f0
xor eax, eax
jmp 0x10044a2c
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10044a27
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10044a27
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10044a27
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10044a27
xor eax, eax
jmp 0x10044a2c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10043d96
push 0x10
call fcn.100d088c
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0x14
test edi, edi
je 0x10043acf
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.1003e080
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x10043c23
mov ecx, esi
mov edx, 0x1012a960
mov edi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10044c0d
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10044ab0
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 0x10043acf
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.1003e010
mov edi, dword [eax + 4]
test edi, edi
jne 0x10044b46
mov edi, dword [esi + 0x1cc]
cmp edi, dword [esi + 0x1cc]
jne 0x10043b4b
mov ecx, 0x1013ded8
mov esi, 0xc
mov edx, ecx
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10044b75
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10044b60
xor eax, eax
jmp 0x10044b9c
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10044b97
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10044b97
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10044b97
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10044b97
xor eax, eax
jmp 0x10044b9c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10043d96
push 0x10
call fcn.100d088c
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0x16
test edi, edi
je 0x10043acf
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.1003e080
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x10043c23
mov ecx, 0x1012a920
mov edx, 0xc
nop word [eax + eax]
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x10044d52
add esi, 4
add ecx, 4
sub edx, 4
jae 0x10044c20
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 0x10044c63
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.10043890
mov eax, dword [ebp - 0x28]
cmp eax, dword [esi + 0x1ec]
je 0x10044ca1
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, 0x1013ded8
mov esi, 0xc
mov edx, ecx
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10044d40
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10044cb0
push 0x10
call fcn.100d088c
mov edi, eax
add esp, 4
mov dword [ebp + 0xc], edi
mov dword [ebp - 4], 0x18
test edi, edi
je 0x10044c4d
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.1003e080
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 0x1013ded8
push edi
call fcn.1003f4e0
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