Function at 0x1003e100
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push edi
mov dword [ebp - 0xc], esi
call dword [eax + 4]
mov eax, dword [eax + 0x38]
mov ecx, eax
mov dword [ebp - 4], eax
call sym.e2mfc.dll_public:_struct_tagRECT_const____thiscall_P_Camera::getScreenRect_void_
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [esi + 4]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x38], edx
mov edx, dword [eax + 0xc]
mov al, byte [edi + 0xe0]
shr al, 5
test al, 1
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
jne 0x1003e151
mov ecx, edi
call sym.e2mfc.dll_protected:_void___thiscall_P_BaseObject::calculateObjectToWorldMatrix_void_
lea eax, [esi + 0x18]
add edi, 0x5c
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], edx
mov eax, dword [esi + 0x20]
mov ebx, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x2c]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], edx
mov edi, dword [ebp - 4]
mov cl, byte [edi + 0xe0]
shr cl, 5
test cl, 1
jne 0x1003e1c4
mov ecx, edi
call sym.e2mfc.dll_protected:_void___thiscall_P_BaseObject::calculateObjectToWorldMatrix_void_
mov ecx, dword [ebp - 0x14]
lea esi, [edi + 0x8c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x10]
mov edx, 3
fld dword [eax]
fmul dword [ebx]
fld dword [eax]
fmul dword [ebx + 4]
fld dword [eax]
fmul dword [ebx + 8]
fld dword [eax + 4]
fmul dword [ebx + 0xc]
fld dword [eax + 4]
fmul dword [ebx + 0x10]
fld dword [eax + 4]
fmul dword [ebx + 0x14]
fxch st(2)
faddp st(5)
faddp st(3)
faddp st(1)
fld dword [eax + 8]
fmul dword [ebx + 0x18]
fld dword [eax + 8]
fmul dword [ebx + 0x1c]
fld dword [eax + 8]
fmul dword [ebx + 0x20]
fxch st(2)
faddp st(5)
faddp st(3)
faddp st(1)
fxch st(2)
fstp dword [eax]
fstp dword [eax + 4]
fstp dword [eax + 8]
add eax, 0xc
dec edx
jg 0x1003e1de
add ecx, 0x24
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
fld dword [eax]
fmul dword [edx]
fld dword [eax]
fmul dword [edx + 4]
fld dword [eax]
fmul dword [edx + 8]
fld dword [eax + 4]
fmul dword [edx + 0xc]
fld dword [eax + 4]
fmul dword [edx + 0x10]
fld dword [eax + 4]
fmul dword [edx + 0x14]
fxch st(2)
faddp st(5)
faddp st(3)
faddp st(1)
fld dword [eax + 8]
fmul dword [edx + 0x18]
fld dword [eax + 8]
fmul dword [edx + 0x1c]
fld dword [eax + 8]
fmul dword [edx + 0x20]
fxch st(2)
faddp st(5)
faddp st(3)
faddp st(1)
fxch st(2)
fstp dword [eax]
fstp dword [eax + 4]
fstp dword [eax + 8]
add esi, 0x24
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
fld dword [eax]
fadd dword [edx]
fld dword [eax + 4]
fadd dword [edx + 4]
fld dword [eax + 8]
fadd dword [edx + 8]
fxch st(2)
fstp dword [eax]
fstp dword [eax + 4]
fstp dword [eax + 8]
mov cl, byte [0x10066c90]
mov al, 1
test al, cl
jne 0x1003e31f
mov dl, cl
or dl, al
mov ecx, 0x10066c50
mov byte [0x10066c90], dl
call fcn.10018560
mov ecx, 0x10066c60
call fcn.10018560
mov ecx, 0x10066c70
call fcn.10018560
mov ecx, 0x10066c80
call fcn.10018560
push fcn.10018560
push 4
push 0x10
push 0x10066c50
call fcn.10001030
call fcn.10018680
push eax
mov ecx, 0x10066c50
call fcn.100181c0
push 0x1003f180
call fcn.100455b8
add esp, 4
mov cl, byte [0x10066c90]
mov al, 2
test al, cl
jne 0x1003e38d
mov dl, cl
or dl, al
mov ecx, 0x10066c10
mov byte [0x10066c90], dl
call fcn.10018560
mov ecx, 0x10066c20
call fcn.10018560
mov ecx, 0x10066c30
call fcn.10018560
mov ecx, 0x10066c40
call fcn.10018560
push fcn.10018560
push 4
push 0x10
push 0x10066c10
call fcn.10001030
call fcn.10018680
push eax
mov ecx, 0x10066c10
call fcn.100181c0
push 0x1003f170
call fcn.100455b8
add esp, 4
mov al, byte [0x10066c90]
mov ebx, 4
test bl, al
jne 0x1003e3f9
or al, bl
mov ecx, 0x10066bd0
mov byte [0x10066c90], al
call fcn.10018560
mov ecx, 0x10066be0
call fcn.10018560
mov ecx, 0x10066bf0
call fcn.10018560
mov ecx, 0x10066c00
call fcn.10018560
push fcn.10018560
push ebx
push 0x10
push 0x10066bd0
call fcn.10001030
call fcn.10018680
push eax
mov ecx, 0x10066bd0
call fcn.100181c0
push 0x1003f160
call fcn.100455b8
add esp, 4
mov cl, byte [0x10066c90]
mov al, 8
test al, cl
jne 0x1003e466
mov dl, cl
or dl, al
mov ecx, 0x10066b90
mov byte [0x10066c90], dl
call fcn.10018560
mov ecx, 0x10066ba0
call fcn.10018560
mov ecx, 0x10066bb0
call fcn.10018560
mov ecx, 0x10066bc0
call fcn.10018560
push fcn.10018560
push ebx
push 0x10
push 0x10066b90
call fcn.10001030
call fcn.10018680
push eax
mov ecx, 0x10066b90
call fcn.100181c0
push 0x1003f150
call fcn.100455b8
add esp, 4
mov ecx, edi
call sym.e2mfc.dll_public:_class_M_Matrix4Template_float__const____thiscall_P_Camera::getProjectionMatrix_void_const
fld dword [eax]
fstp dword [0x10066b90]
fld dword [eax + 4]
mov ecx, edi
fstp dword [0x10066b94]
fld dword [eax + 8]
fstp dword [0x10066b98]
fld dword [eax + 0xc]
fstp dword [0x10066b9c]
fld dword [eax + 0x10]
fstp dword [0x10066ba0]
fld dword [eax + 0x14]
fstp dword [0x10066ba4]
fld dword [eax + 0x18]
fstp dword [0x10066ba8]
fld dword [eax + 0x1c]
fstp dword [0x10066bac]
fld dword [eax + 0x20]
fstp dword [0x10066bb0]
fld dword [eax + 0x24]
fstp dword [0x10066bb4]
fld dword [eax + 0x28]
fstp dword [0x10066bb8]
fld dword [eax + 0x2c]
fstp dword [0x10066bbc]
fld dword [eax + 0x30]
fstp dword [0x10066bc0]
fld dword [eax + 0x34]
fstp dword [0x10066bc4]
fld dword [eax + 0x38]
fstp dword [0x10066bc8]
fld dword [eax + 0x3c]
fstp dword [0x10066bcc]
call sym.e2mfc.dll_public:_class_M_Matrix4Template_float__const____thiscall_P_Camera::getViewportMatrix_void_const
mov dword [ebp - 0x1c], eax
mov eax, 0x10066b90
mov ebx, dword [ebp - 0x1c]
mov edx, 4
fld dword [eax]
fmul dword [ebx]
fld dword [eax]
fmul dword [ebx + 4]
fld dword [eax]
fmul dword [ebx + 8]
fld dword [eax]
fmul dword [ebx + 0xc]
mov ecx, 0xc
fld dword [eax + ecx]
fmul dword [ebx + ecx*4]
fld dword [eax + ecx]
fmul dword [ebx + ecx*4 + 4]
fld dword [eax + ecx]
fmul dword [ebx + ecx*4 + 8]
fld dword [eax + ecx]
fmul dword [ebx + ecx*4 + 0xc]
fxch st(3)
faddp st(7)
faddp st(4)
faddp st(4)
faddp st(1)
sub ecx, 4
jg 0x1003e52b
fxch st(3)
fstp dword [eax]
fstp dword [eax + 8]
fstp dword [eax + 4]
fstp dword [eax + 0xc]
add eax, 0x10
dec edx
jg 0x1003e513
mov dl, byte [edi + 0xe0]
shr dl, 5
test dl, 1
jne 0x1003e57d
mov ecx, edi
call sym.e2mfc.dll_protected:_void___thiscall_P_BaseObject::calculateObjectToWorldMatrix_void_
mov eax, dword [edi + 0x8c]
mov ecx, dword [edi + 0x90]
mov edx, dword [edi + 0x94]
mov dword [0x10066bd0], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], ecx
mov dword [0x10066bd4], ecx
mov dword [0x10066bd8], edx
mov dword [0x10066bdc], eax
mov cl, byte [edi + 0xe0]
shr cl, 5
test cl, 1
mov dword [ebp - 0x24], edx
jne 0x1003e5cd
mov ecx, edi
call sym.e2mfc.dll_protected:_void___thiscall_P_BaseObject::calculateObjectToWorldMatrix_void_
mov edx, dword [edi + 0x98]
mov eax, dword [edi + 0x9c]
mov ecx, dword [edi + 0xa0]
mov dword [0x10066be0], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov dword [0x10066be4], eax
mov dword [0x10066be8], ecx
mov dword [0x10066bec], edx
mov al, byte [edi + 0xe0]
shr al, 5
test al, 1
mov dword [ebp - 0x24], ecx
jne 0x1003e61d
mov ecx, edi
call sym.e2mfc.dll_protected:_void___thiscall_P_BaseObject::calculateObjectToWorldMatrix_void_
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa8]
mov eax, dword [edi + 0xac]
mov dword [0x10066bf0], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], edx
mov dword [0x10066bf4], edx
mov dword [0x10066bf8], eax
mov dword [0x10066bfc], ecx
mov dl, byte [edi + 0xe0]
shr dl, 5
test dl, 1
mov dword [ebp - 0x24], eax
jne 0x1003e66e
mov ecx, edi
call sym.e2mfc.dll_protected:_void___thiscall_P_BaseObject::calculateObjectToWorldMatrix_void_
mov eax, dword [edi + 0xb0]
mov ecx, dword [edi + 0xb4]
mov edx, dword [edi + 0xb8]
mov esi, dword [ebp - 0xc]
mov dword [0x10066c00], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [0x10066c0c], eax
mov dword [0x10066c04], ecx
mov dword [0x10066c08], edx
mov dword [0x10066bdc], 0
mov dword [0x10066bec], 0
mov dword [0x10066bfc], 0
mov dword [0x10066c0c], 0x3f800000
mov ebx, dword [esi + 4]
mov dword [ebp - 0x28], ecx
mov cl, byte [ebx + 0xe0]
shr cl, 5
test cl, 1
mov dword [ebp - 0x24], edx
jne 0x1003e6ec
mov ecx, ebx
call sym.e2mfc.dll_protected:_void___thiscall_P_BaseObject::calculateObjectToWorldMatrix_void_
mov eax, dword [ebx + 0x60]
mov ecx, dword [ebx + 0x64]
mov edx, dword [ebx + 0x5c]
mov ebx, dword [esi + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x28]
lea eax, [esi + 0x48]
mov dword [eax], edx
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x24]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0xc], ecx
mov dl, byte [ebx + 0xe0]
shr dl, 5
test dl, 1
jne 0x1003e734
mov ecx, ebx
call sym.e2mfc.dll_protected:_void___thiscall_P_BaseObject::calculateObjectToWorldMatrix_void_
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x6c]
mov edx, dword [ebx + 0x70]
mov ebx, dword [esi + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x28]
lea eax, [esi + 0x58]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x24]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x20]
mov dword [eax + 0xc], edx
mov al, byte [ebx + 0xe0]
shr al, 5
test al, 1
jne 0x1003e77e
mov ecx, ebx
call sym.e2mfc.dll_protected:_void___thiscall_P_BaseObject::calculateObjectToWorldMatrix_void_
mov ecx, dword [ebx + 0x74]
mov edx, dword [ebx + 0x78]
mov eax, dword [ebx + 0x7c]
mov ebx, dword [esi + 4]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
lea ecx, [esi + 0x68]
mov dword [ecx], edx
mov edx, dword [ebp - 0x24]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0xc], eax
mov cl, byte [ebx + 0xe0]
shr cl, 5
test cl, 1
jne 0x1003e7c9
mov ecx, ebx
call sym.e2mfc.dll_protected:_void___thiscall_P_BaseObject::calculateObjectToWorldMatrix_void_
mov edx, dword [ebx + 0x80]
mov eax, dword [ebx + 0x84]
mov ecx, dword [ebx + 0x88]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x28]
lea edx, [esi + 0x78]
mov dword [edx], eax
mov eax, dword [ebp - 0x24]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
xor eax, eax
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x20]
mov dword [esi + 0x54], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x74], eax
lea eax, [esi + 0x48]
mov dword [edx + 0xc], ecx
mov dword [esi + 0x84], 0x3f800000
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ebx, 0x10066bd0
mov edx, 4
fld dword [eax]
fmul dword [ebx]
fld dword [eax]
fmul dword [ebx + 4]
fld dword [eax]
fmul dword [ebx + 8]
fld dword [eax]
fmul dword [ebx + 0xc]
mov ecx, 0xc
fld dword [eax + ecx]
fmul dword [ebx + ecx*4]
fld dword [eax + ecx]
fmul dword [ebx + ecx*4 + 4]
fld dword [eax + ecx]
fmul dword [ebx + ecx*4 + 8]
fld dword [eax + ecx]
fmul dword [ebx + ecx*4 + 0xc]
fxch st(3)
faddp st(7)
faddp st(4)
faddp st(4)
faddp st(1)
sub ecx, 4
jg 0x1003e845
fxch st(3)
fstp dword [eax]
fstp dword [eax + 8]
fstp dword [eax + 4]
fstp dword [eax + 0xc]
add eax, 0x10
dec edx
jg 0x1003e82d
lea eax, [esi + 0x48]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ebx, 0x10066b90
mov edx, 4
fld dword [eax]
fmul dword [ebx]
fld dword [eax]
fmul dword [ebx + 4]
fld dword [eax]
fmul dword [ebx + 8]
fld dword [eax]
fmul dword [ebx + 0xc]
mov ecx, 0xc
fld dword [eax + ecx]
fmul dword [ebx + ecx*4]
fld dword [eax + ecx]
fmul dword [ebx + ecx*4 + 4]
fld dword [eax + ecx]
fmul dword [ebx + ecx*4 + 8]
fld dword [eax + ecx]
fmul dword [ebx + ecx*4 + 0xc]
fxch st(3)
faddp st(7)
faddp st(4)
faddp st(4)
faddp st(1)
sub ecx, 4
jg 0x1003e8ad
fxch st(3)
fstp dword [eax]
fstp dword [eax + 8]
fstp dword [eax + 4]
fstp dword [eax + 0xc]
add eax, 0x10
dec edx
jg 0x1003e895
mov dl, byte [edi + 0xe0]
shr dl, 5
test dl, 1
jne 0x1003e8ff
mov ecx, edi
call sym.e2mfc.dll_protected:_void___thiscall_P_BaseObject::calculateObjectToWorldMatrix_void_
mov ebx, dword [esi + 4]
lea ecx, [edi + 0x80]
mov edx, dword [ecx]
lea eax, [esi + 8]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 8]
mov dword [eax + 8], ecx
mov dl, byte [ebx + 0xe0]
shr dl, 5
test dl, 1
jne 0x1003e930
mov ecx, ebx
call sym.e2mfc.dll_protected:_void___thiscall_P_BaseObject::calculateObjectToWorldMatrix_void_
add ebx, 0x8c
lea eax, [esi + 8]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
fld dword [eax]
fmul dword [edx]
fld dword [eax]
fmul dword [edx + 4]
fld dword [eax]
fmul dword [edx + 8]
fld dword [eax + 4]
fmul dword [edx + 0xc]
fld dword [eax + 4]
fmul dword [edx + 0x10]
fld dword [eax + 4]
fmul dword [edx + 0x14]
fxch st(2)
faddp st(5)
faddp st(3)
faddp st(1)
fld dword [eax + 8]
fmul dword [edx + 0x18]
fld dword [eax + 8]
fmul dword [edx + 0x1c]
fld dword [eax + 8]
fmul dword [edx + 0x20]
fxch st(2)
faddp st(5)
faddp st(3)
faddp st(1)
fxch st(2)
fadd dword [edx + 0x24]
fxch st(1)
fadd dword [edx + 0x28]
fxch st(2)
fadd dword [edx + 0x2c]
fxch st(1)
fstp dword [eax]
fxch st(1)
fstp dword [eax + 4]
fstp dword [eax + 8]
mov al, byte [0x10066c90]
test al, 0x10
jne 0x1003e9eb
mov dl, al
or dl, 0x10
push 0x1003f140
mov byte [0x10066c90], dl
mov dword [0x10066b80], 0
mov dword [0x10066b84], 0
mov dword [0x10066b88], 0
mov dword [0x10066b8c], 0
call fcn.100455b8
add esp, 4
mov cl, byte [0x10066c90]
mov al, 0x20
test al, cl
jne 0x1003ea36
mov dl, cl
or dl, al
push 0x1003f130
mov byte [0x10066c90], dl
mov dword [0x10066b70], 0
mov dword [0x10066b74], 0
mov dword [0x10066b78], 0
mov dword [0x10066b7c], 0
call fcn.100455b8
add esp, 4
mov cl, byte [0x10066c90]
mov al, 0x40
test al, cl
jne 0x1003ea81
mov dl, cl
or dl, al
push 0x1003f120
mov byte [0x10066c90], dl
mov dword [0x10066b60], 0
mov dword [0x10066b64], 0
mov dword [0x10066b68], 0
mov dword [0x10066b6c], 0
call fcn.100455b8
add esp, 4
mov cl, byte [0x10066c90]
mov al, 0x80
test al, cl
jne 0x1003eacc
mov dl, cl
or dl, al
push 0x1003f110
mov byte [0x10066c90], dl
mov dword [0x10066b50], 0
mov dword [0x10066b54], 0
mov dword [0x10066b58], 0
mov dword [0x10066b5c], 0
call fcn.100455b8
add esp, 4
fld dword [0x10066bd0]
mov dword [0x10066c40], 0
fstp dword [0x10066c10]
fld dword [0x10066bd4]
mov dword [0x10066c44], 0
fstp dword [0x10066c14]
fld dword [0x10066bd8]
mov dword [0x10066c48], 0
fstp dword [0x10066c18]
fld dword [0x10066bdc]
mov dword [0x10066c4c], 0x3f800000
fstp dword [0x10066c1c]
fld dword [0x10066be0]
fstp dword [0x10066c20]
fld dword [0x10066be4]
fstp dword [0x10066c24]
fld dword [0x10066be8]
fstp dword [0x10066c28]
fld dword [0x10066bec]
fstp dword [0x10066c2c]
fld dword [0x10066bf0]
fstp dword [0x10066c30]
fld dword [0x10066bf4]
fstp dword [0x10066c34]
fld dword [0x10066bf8]
fstp dword [0x10066c38]
fld dword [0x10066bfc]
fstp dword [0x10066c3c]
fld dword [0x10066b90]
fstp dword [0x10066c50]
fld dword [0x10066b94]
fstp dword [0x10066c54]
fld dword [0x10066b98]
fstp dword [0x10066c58]
fld dword [0x10066b9c]
fstp dword [0x10066c5c]
fld dword [0x10066ba0]
fstp dword [0x10066c60]
fld dword [0x10066ba4]
fstp dword [0x10066c64]
fld dword [0x10066ba8]
fstp dword [0x10066c68]
fld dword [0x10066bac]
fstp dword [0x10066c6c]
fld dword [0x10066bb0]
fstp dword [0x10066c70]
fld dword [0x10066bb4]
fstp dword [0x10066c74]
fld dword [0x10066bb8]
fstp dword [0x10066c78]
fld dword [0x10066bbc]
fstp dword [0x10066c7c]
fld dword [0x10066bc0]
fstp dword [0x10066c80]
fld dword [0x10066bc4]
fstp dword [0x10066c84]
mov ecx, 0x10066c50
fld dword [0x10066bc8]
fstp dword [0x10066c88]
fld dword [0x10066bcc]
fstp dword [0x10066c8c]
call fcn.1003fcd0
mov ecx, 0x10066c50
call fcn.1003fc10
mov dword [0x10066c80], 0
mov dword [0x10066c84], 0
mov dword [0x10066c88], 0
mov dword [0x10066c8c], 0
mov eax, dword [esi + 4]
xor ebx, ebx
mov bx, word [eax + 0xe2]
mov ecx, edi
mov dword [ebp - 0x14], ebx
call sym.e2mfc.dll_public:_bool___thiscall_P_Camera::usesGuardBandClipping_void_const
test al, al
mov byte [esi + 0x1f4], al
jne 0x1003ece1
fild dword [ebp - 0x3c]
and ebx, 0xfffffc3f
xor ecx, ecx
mov dword [ebp - 0x14], ebx
fstp dword [esi + 0x88]
mov dword [esi + 0x90], ecx
fild dword [ebp - 0x38]
mov dword [esi + 0x9c], 0x3f7fff58
fstp dword [esi + 0x8c]
fild dword [ebp - 0x34]
fstp dword [esi + 0x94]
fild dword [ebp - 0x30]
fstp dword [esi + 0x98]
jmp 0x1003ed47
mov ecx, dword [sym.e2mfc.dll_class_P_Driver__P_Driver::m_initializedDriver]
call sym.e2mfc.dll_public:_class_P_DriverCaps_const____thiscall_P_Driver::getDriverCaps_void_const
fld dword [eax + 0x24]
fstp dword [esi + 0x88]
mov ecx, dword [sym.e2mfc.dll_class_P_Driver__P_Driver::m_initializedDriver]
call sym.e2mfc.dll_public:_class_P_DriverCaps_const____thiscall_P_Driver::getDriverCaps_void_const
fld dword [eax + 0x2c]
fstp dword [esi + 0x8c]
mov dword [esi + 0x90], 0
mov ecx, dword [sym.e2mfc.dll_class_P_Driver__P_Driver::m_initializedDriver]
call sym.e2mfc.dll_public:_class_P_DriverCaps_const____thiscall_P_Driver::getDriverCaps_void_const
fld dword [eax + 0x28]
fstp dword [esi + 0x94]
mov ecx, dword [sym.e2mfc.dll_class_P_Driver__P_Driver::m_initializedDriver]
call sym.e2mfc.dll_public:_class_P_DriverCaps_const____thiscall_P_Driver::getDriverCaps_void_const
fld dword [eax + 0x30]
fstp dword [esi + 0x98]
mov dword [esi + 0x9c], 0x3f7fff58
xor ecx, ecx
cmp ebx, ecx
mov dword [esi + 0x1f0], ecx
je 0x1003f02c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c8], ecx
mov edi, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], ecx
jle 0x1003f015
lea ecx, [esi + 0x1ac]
lea edx, [esi + 0xac]
lea ebx, [eax + 0x218]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp - 0x14]
test ecx, edi
je 0x1003efe6
lea edx, [ebx - 0xc]
push edx
lea ecx, [ebp - 0x3c]
call fcn.1003fbf0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov dword [0x10066b80], eax
mov eax, dword [ebp - 0x30]
mov dword [0x10066b84], ecx
mov dword [0x10066b8c], eax
push ebx
lea ecx, [ebp - 0x2c]
mov dword [0x10066b88], edx
mov dword [0x10066b8c], 0x3f800000
call fcn.1003fbf0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov dword [0x10066b70], ecx
mov ecx, dword [ebp - 0x20]
mov dword [0x10066b7c], ecx
mov dword [0x10066b74], edx
mov dword [0x10066b78], eax
mov dword [0x10066b7c], 0x3f800000
push ebx
mov eax, 0x10066b80
mov ebx, 0x10066c10
fld dword [eax]
fmul dword [ebx]
fld dword [eax]
fmul dword [ebx + 4]
fld dword [eax]
fmul dword [ebx + 8]
fld dword [eax]
fmul dword [ebx + 0xc]
mov ecx, 1
mov edx, 3
add ebx, 0x10
fld dword [eax + ecx*4]
fmul dword [ebx]
fld dword [eax + ecx*4]
fmul dword [ebx + 4]
fld dword [eax + ecx*4]
fmul dword [ebx + 8]
fld dword [eax + ecx*4]
fmul dword [ebx + 0xc]
fxch st(3)
faddp st(7)
faddp st(4)
faddp st(4)
faddp st(1)
inc ecx
add ebx, 0x10
dec edx
jg 0x1003ee2e
fxch st(3)
fstp dword [eax]
fstp dword [eax + 8]
fstp dword [eax + 4]
fstp dword [eax + 0xc]
pop ebx
push ebx
mov eax, 0x10066b80
mov ebx, 0x10066c50
fld dword [eax]
fmul dword [ebx]
fld dword [eax]
fmul dword [ebx + 4]
fld dword [eax]
fmul dword [ebx + 8]
fld dword [eax]
fmul dword [ebx + 0xc]
mov ecx, 1
mov edx, 3
add ebx, 0x10
fld dword [eax + ecx*4]
fmul dword [ebx]
fld dword [eax + ecx*4]
fmul dword [ebx + 4]
fld dword [eax + ecx*4]
fmul dword [ebx + 8]
fld dword [eax + ecx*4]
fmul dword [ebx + 0xc]
fxch st(3)
faddp st(7)
faddp st(4)
faddp st(4)
faddp st(1)
inc ecx
add ebx, 0x10
dec edx
jg 0x1003ee8f
fxch st(3)
fstp dword [eax]
fstp dword [eax + 8]
fstp dword [eax + 4]
fstp dword [eax + 0xc]
pop ebx
push ebx
mov eax, 0x10066b70
mov ebx, 0x10066bd0
fld dword [eax]
fmul dword [ebx]
fld dword [eax]
fmul dword [ebx + 4]
fld dword [eax]
fmul dword [ebx + 8]
fld dword [eax]
fmul dword [ebx + 0xc]
mov ecx, 1
mov edx, 3
add ebx, 0x10
fld dword [eax + ecx*4]
fmul dword [ebx]
fld dword [eax + ecx*4]
fmul dword [ebx + 4]
fld dword [eax + ecx*4]
fmul dword [ebx + 8]
fld dword [eax + ecx*4]
fmul dword [ebx + 0xc]
fxch st(3)
faddp st(7)
faddp st(4)
faddp st(4)
faddp st(1)
inc ecx
add ebx, 0x10
dec edx
jg 0x1003eef0
fxch st(3)
fstp dword [eax]
fstp dword [eax + 8]
fstp dword [eax + 4]
fstp dword [eax + 0xc]
pop ebx
push ebx
mov eax, 0x10066b70
mov ebx, 0x10066b90
fld dword [eax]
fmul dword [ebx]
fld dword [eax]
fmul dword [ebx + 4]
fld dword [eax]
fmul dword [ebx + 8]
fld dword [eax]
fmul dword [ebx + 0xc]
mov ecx, 1
mov edx, 3
add ebx, 0x10
fld dword [eax + ecx*4]
fmul dword [ebx]
fld dword [eax + ecx*4]
fmul dword [ebx + 4]
fld dword [eax + ecx*4]
fmul dword [ebx + 8]
fld dword [eax + ecx*4]
fmul dword [ebx + 0xc]
fxch st(3)
faddp st(7)
faddp st(4)
faddp st(4)
faddp st(1)
inc ecx
add ebx, 0x10
dec edx
jg 0x1003ef51
fxch st(3)
fstp dword [eax]
fstp dword [eax + 8]
fstp dword [eax + 4]
fstp dword [eax + 0xc]
pop ebx
mov eax, dword [0x10066b80]
mov edx, dword [ebp - 0xc]
mov dword [0x10066b78], 0
mov dword [edx], eax
mov ecx, dword [0x10066b84]
mov dword [edx + 4], ecx
mov eax, dword [0x10066b88]
mov dword [edx + 8], eax
mov ecx, dword [0x10066b8c]
mov dword [edx + 0xc], ecx
mov edx, 0x10066b70
mov ecx, 0x10066b80
call fcn.1003fe80
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x1c]
fchs
fstp dword [edx]
mov ecx, dword [esi + 0x1f0]
or ecx, edi
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x1f0], ecx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
add edx, 4
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0xc]
add edx, 0x10
add edi, edi
inc ecx
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x3c8]
add ebx, 0x1c
cmp ecx, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ebx
jl 0x1003ed8a
mov eax, dword [eax + 0x3c8]
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x1ec], eax
add dword [sym.e2mfc.dll_int_P_Statistics::m_clippedPlanesObject], ecx
jmp 0x1003f032
mov dword [esi + 0x1ec], ecx
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
call dword [edx + 4]
fld dword [eax + 0x64]
mov ecx, dword [esi + 4]
fstp dword [esi + 0xa0]
mov eax, dword [ecx]
call dword [eax + 4]
fld dword [eax + 0x68]
mov ecx, dword [esi + 4]
fstp dword [esi + 0xa4]
mov edx, dword [ecx]
call dword [edx + 4]
fld dword [eax + 0x6c]
mov ecx, dword [esi + 4]
xor edi, edi
fstp dword [esi + 0xa8]
mov dword [esi + 0x1fc], edi
call sym.e2mfc.dll_public:_class_P_VirtualLight____thiscall_P_BaseObject::getFirstLightCollision_void_
test eax, eax
je 0x1003f092
mov edx, dword [esi + 0x1fc]
mov ecx, dword [esi + 4]
inc edx
mov dword [esi + 0x1fc], edx
call sym.e2mfc.dll_public:_class_P_VirtualLight____thiscall_P_BaseObject::getNextLightCollision_void_
test eax, eax
jne 0x1003f079
mov eax, dword [esi + 0x1fc]
cmp eax, dword [esi + 0x1f8]
jle 0x1003f0cc
mov ecx, dword [esi + 0x204]
cmp ecx, edi
je 0x1003f0af
call fcn.1002ede0
mov ecx, dword [esi + 0x1fc]
call fcn.1003fea0
mov ecx, dword [esi + 0x1fc]
mov dword [esi + 0x204], eax
mov dword [esi + 0x1f8], ecx
mov ecx, dword [esi + 4]
mov dword [esi + 0x200], edi
call sym.e2mfc.dll_public:_class_P_VirtualLight____thiscall_P_BaseObject::getFirstLightCollision_void_
cmp eax, edi
je 0x1003f102
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x60]
mov edx, dword [esi + 0x200]
mov ecx, dword [esi + 4]
inc edx
mov dword [esi + 0x200], edx
call sym.e2mfc.dll_public:_class_P_VirtualLight____thiscall_P_BaseObject::getNextLightCollision_void_
cmp eax, edi
jne 0x1003f0de
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret