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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x164
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x20]
cmp dword [eax + 0x270], 0
push edi
mov byte [esp + 0x3a], 1
je 0x1003b0bd
mov eax, dword [eax + 0xe8]
mov edi, dword [eax + 0x1c]
cmp byte [edi + 0x290], 0
mov byte [edi + 0x290], 1
mov ecx, dword [esi + 0x20]
push ecx
mov ecx, edi
setne byte [esp + 0x3f]
call fcn.100fc5a3
mov ecx, dword [esi + 0x1b0]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x140]
push eax
lea eax, [esp + 0x138]
push eax
call edx
fld dword [edi + 0x28c]
mov ecx, dword [edi + 0x280]
fstp dword [esp + 0xc]
mov edx, dword [edi + 0x284]
mov dword [esp + 0x54], ecx
mov ecx, dword [edi + 0x288]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
jle 0x1003b0a4
fld dword [esp + 0x58]
lea edx, [esp + 0x134]
fstp qword [esp + 0x10]
mov dword [esp + 0x34], edx
fld dword [esp + 0x54]
fstp qword [esp + 0x20]
fld dword [esp + 0x5c]
fstp qword [esp + 0x90]
fld dword [esp + 0xc]
fstp qword [esp + 0x88]
mov edx, dword [esp + 0x34]
mov eax, dword [edi]
mov eax, dword [eax + 0x24]
lea ecx, [esp + 0x60]
push ecx
push edx
push edi
call eax
fld dword [esp + 0x64]
fmul qword [esp + 0x10]
fld dword [esp + 0x60]
fmul qword [esp + 0x20]
faddp st(1)
fld dword [esp + 0x68]
fmul qword [esp + 0x90]
faddp st(1)
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fadd qword [esp + 0x88]
fcomp qword [0x10155230]
fnstsw ax
test ah, 5
jnp 0x1003b09f
add dword [esp + 0x34], 0xc
add ebx, 1
cmp ebx, dword [esp + 0x50]
jl 0x1003b042
jmp 0x1003b0a4
mov byte [esp + 0x3a], 0
cmp byte [esp + 0x3b], 0
jne 0x1003b0b2
mov byte [edi + 0x290], 0
cmp byte [esp + 0x3a], 0
je 0x1003be9b
mov eax, dword [esi + 0x1a0]
test eax, eax
je 0x1003be89
mov ecx, dword [esi + 0x1a4]
sub ecx, eax
sar ecx, 2
je 0x1003be89
mov edi, dword [ebp + 0xc]
push edi
push esi
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
test dword [esi + 0x48], 0x200
je 0x1003b103
mov eax, dword [edi + 0x14]
mov edx, dword [eax]
push 1
push 0
push 0x3e9
push eax
mov eax, dword [edx + 0x18]
call eax
mov eax, dword [esi + 0x1b0]
cmp byte [eax + 0x525], 0
jne 0x1003b11b
mov ecx, dword [eax + 0x7c]
mov dword [esp + 0x50], ecx
jmp 0x1003b12d
mov edx, dword [eax + 8]
mov ecx, dword [edx + 0x10]
call fcn.10003f20
mov eax, dword [eax + 0x18]
mov dword [esp + 0x50], eax
mov ebx, dword [esi + 0x1b0]
mov ecx, dword [ebx + 0x70]
mov dword [esp + 0x3c], ecx
mov edx, dword [ebx + 0x74]
mov dword [esp + 0x40], edx
mov eax, dword [ebx + 0x78]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x1a0]
test eax, eax
jne 0x1003b156
xor ecx, ecx
jmp 0x1003b161
mov ecx, dword [esi + 0x1a4]
sub ecx, eax
sar ecx, 2
mov eax, 0x55555556
imul ecx
mov edi, edx
mov dword [esp + 0x84], 0x48
mov ecx, dword [ebx + 8]
mov ecx, dword [ecx + 8]
push 0
shr edi, 0x1f
add edi, edx
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x88]
push eax
push 0x1e
call edx
cmp dword [esp + 0x84], 0x96
jge 0x1003b1df
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x1b0]
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [edx + 8]
call fcn.1002f660
push ecx
fstp dword [esp]
call fcn.10030c20
fstp dword [esp + 0x18]
add esp, 0xc
fld dword [esp + 0xc]
fld dword [esi + 0x188]
fsub dword [esi + 0x180]
fdivp st(1)
fstp dword [esi + 0x1b4]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x74], edx
lea edx, [esp + 0x6c]
mov dword [esp + 0x70], ecx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
fld dword [esp + 0x6c]
fadd qword [0x1014e730]
mov eax, dword [ebx + 0x1c]
lea edx, [esp + 0x6c]
push edx
fstp dword [esp + 0x70]
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x34]
call eax
fld dword [esp + 0x6c]
fsub dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
fstp dword [esp + 0x10]
mov dword [esp + 0x7c], edx
fld dword [esp + 0x70]
mov dword [esp + 0x80], eax
fsub dword [esp + 0x40]
mov eax, dword [ebx + 0x1c]
lea edx, [esp + 0x78]
mov dword [esp + 0x78], ecx
mov ecx, dword [eax]
fstp dword [esp + 0x14]
fld dword [esp + 0x74]
push edx
fsub dword [esp + 0x48]
push eax
mov eax, dword [ecx + 0x3c]
fstp dword [esp + 0x20]
call eax
fld dword [esp + 0x7c]
mov eax, dword [ebx + 0x1c]
fsub qword [0x1014e730]
lea edx, [esp + 0x78]
push edx
push eax
fstp dword [esp + 0x84]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x34]
call eax
fld dword [esp + 0x78]
fsub dword [esp + 0x3c]
lea ecx, [esp + 0x54]
push ecx
fstp dword [esp + 0x58]
fld dword [esp + 0x80]
fsub dword [esp + 0x44]
fstp dword [esp + 0x5c]
fld dword [esp + 0x84]
fsub dword [esp + 0x48]
fstp dword [esp + 0x60]
call sym.rt3d.dll_public:_void___stdcall_POINT3D::Normalize_void_
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x1b8], edx
mov edx, dword [esi + 0x158]
mov dword [esi + 0x1bc], eax
mov eax, dword [esi + 0x15c]
mov dword [esi + 0x1c4], edx
mov edx, dword [esi + 0x164]
mov dword [esi + 0x1c0], ecx
mov ecx, dword [esi + 0x160]
mov dword [esi + 0x1c8], eax
mov dword [esi + 0x1cc], ecx
mov eax, dword [esi + 0x168]
fld dword [esp + 0x58]
mov ecx, dword [esi + 0x16c]
fld dword [esp + 0x54]
fld dword [esp + 0x5c]
mov dword [esi + 0x1d0], edx
mov dword [esi + 0x1d4], eax
mov dword [esi + 0x1d8], ecx
fld dword [esi + 0x15c]
fmul st(3)
fld dword [esi + 0x158]
fmul st(3)
faddp st(1)
fld dword [esi + 0x160]
fmul st(2)
faddp st(1)
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fabs
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fcomp qword [0x10155228]
fnstsw ax
test ah, 5
jp 0x1003b546
fldz
fst dword [esi + 0x1ac]
fld dword [esi + 0x15c]
fmul dword [esp + 0x14]
fld dword [esi + 0x158]
fmul dword [esp + 0x10]
faddp st(1)
fld dword [esi + 0x160]
fmul dword [esp + 0x18]
faddp st(1)
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fcomp st(1)
fnstsw ax
fld qword [0x1014e7a8]
test ah, 5
jp 0x1003b488
fld dword [esi + 0x158]
fmul st(1)
fstp dword [esp + 0x10]
mov edx, dword [esp + 0x10]
fld dword [esi + 0x15c]
fmul st(1)
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
fld dword [esi + 0x160]
mov dword [esi + 0x1c4], edx
fmul st(1)
mov dword [esi + 0x1c8], eax
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fld dword [esi + 0x184]
mov dword [esi + 0x1cc], ecx
fsub dword [esi + 0x17c]
fmul dword [esi + 0x1b4]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fld dword [esi + 0x1c4]
fmul st(1)
fstp dword [esp + 0x10]
fld dword [esi + 0x1c8]
fmul st(1)
fstp dword [esp + 0x14]
fmul dword [esi + 0x1cc]
fstp dword [esp + 0x18]
fld dword [esi + 0x1b8]
fsub dword [esp + 0x10]
fstp dword [esp + 0x20]
mov edx, dword [esp + 0x20]
fld dword [esi + 0x1bc]
fsub dword [esp + 0x14]
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x24]
fld dword [esi + 0x1c0]
mov dword [esi + 0x1b8], edx
fsub dword [esp + 0x18]
mov dword [esi + 0x1bc], eax
fstp dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x1c0], ecx
fld dword [esi + 0x168]
fmulp st(5)
fld dword [esi + 0x164]
fmulp st(4)
fxch st(4)
faddp st(3)
fld dword [esi + 0x16c]
fmulp st(2)
fxch st(2)
faddp st(1)
fstp dword [esp + 0xc]
fcomp dword [esp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x1003b708
fld dword [esi + 0x164]
fmul st(1)
fstp dword [esp + 0x10]
mov edx, dword [esp + 0x10]
fld dword [esi + 0x168]
fmul st(1)
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
fmul dword [esi + 0x16c]
mov dword [esi + 0x1d0], edx
mov dword [esi + 0x1d4], eax
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fld dword [esi + 0x188]
mov dword [esi + 0x1d8], ecx
fsub dword [esi + 0x180]
fmul dword [esi + 0x1b4]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fld dword [esi + 0x1d0]
fmul st(1)
fstp dword [esp + 0x10]
fld dword [esi + 0x1d4]
fmul st(1)
fstp dword [esp + 0x14]
fmul dword [esi + 0x1d8]
fstp dword [esp + 0x18]
fld dword [esp + 0x10]
fadd dword [esi + 0x1b8]
jmp 0x1003be46
fld dword [esp + 0x14]
fld dword [esp + 0x10]
fld dword [esp + 0x18]
fld dword [esi + 0x15c]
fmul st(3)
fld dword [esi + 0x158]
fmul st(3)
faddp st(1)
fld dword [esi + 0x160]
fmul st(2)
faddp st(1)
fstp dword [esp + 0xc]
fld dword [esi + 0x15c]
fmulp st(6)
fld dword [esi + 0x158]
fmulp st(5)
fxch st(5)
faddp st(4)
fld dword [esi + 0x160]
fmulp st(3)
fxch st(3)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0xc]
fld st(0)
fld dword [esi + 0x1ac]
fsubr st(1)
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fabs
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fcomp qword [0x10154d70]
fnstsw ax
fldz
test ah, 5
fld dword [esp + 0x34]
jp 0x1003bc93
fstp st(2)
fxch st(2)
fst dword [esi + 0x1ac]
fabs
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fcomp qword [0x10155220]
fnstsw ax
test ah, 0x41
jne 0x1003b5fa
fxch st(1)
fst dword [esi + 0x1ac]
fxch st(1)
fcomp st(1)
fnstsw ax
fld qword [0x1014e7a8]
test ah, 5
jp 0x1003b6d3
fld dword [esi + 0x158]
fmul st(1)
fstp dword [esp + 0x10]
mov edx, dword [esp + 0x10]
fld dword [esi + 0x15c]
fmul st(1)
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
fld dword [esi + 0x160]
mov dword [esi + 0x1c4], edx
fmul st(1)
mov dword [esi + 0x1c8], eax
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fld dword [esi + 0x184]
mov dword [esi + 0x1cc], ecx
fsub dword [esi + 0x17c]
fmul dword [esi + 0x1b4]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fld dword [esi + 0x1c4]
fmul st(1)
fstp dword [esp + 0x10]
fld dword [esi + 0x1c8]
fmul st(1)
fstp dword [esp + 0x14]
fmul dword [esi + 0x1cc]
fstp dword [esp + 0x18]
fld dword [esi + 0x1b8]
fsub dword [esp + 0x10]
fstp dword [esp + 0x20]
mov edx, dword [esp + 0x20]
fld dword [esi + 0x1bc]
fsub dword [esp + 0x14]
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x24]
fld dword [esi + 0x1c0]
mov dword [esi + 0x1b8], edx
fsub dword [esp + 0x18]
mov dword [esi + 0x1bc], eax
fstp dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x1c0], ecx
fld dword [esi + 0x168]
fmulp st(3)
fld dword [esi + 0x164]
fmulp st(4)
fxch st(2)
faddp st(3)
fld dword [esi + 0x16c]
fmulp st(4)
fxch st(2)
faddp st(3)
fxch st(2)
fstp dword [esp + 0xc]
fcomp dword [esp + 0xc]
fnstsw ax
test ah, 5
jnp 0x1003bdc0
fstp st(0)
test edi, edi
fld dword [esi + 0x17c]
fstp dword [esp + 0x48]
fld dword [esi + 0x188]
fadd dword [esi + 0x180]
fmul qword [0x1014e750]
fstp dword [esp + 0x4c]
jle 0x1003bc6d
fld dword [esp + 0x48]
mov dword [esp + 0x34], 2
fstp qword [esp + 0x88]
mov ebx, 8
fld dword [esp + 0x4c]
mov dword [esp + 0xc], edi
fstp qword [esp + 0x90]
mov ecx, dword [esi + 0x1a0]
test ecx, ecx
je 0x1003b779
mov eax, dword [esi + 0x1a4]
mov edx, dword [esp + 0x34]
sub eax, ecx
sar eax, 2
add edx, 0xfffffffe
cmp edx, eax
jb 0x1003b77f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0x190]
test ecx, ecx
mov eax, dword [esi + 0x1a0]
mov edi, dword [eax + ebx - 8]
je 0x1003b7a2
mov eax, dword [esi + 0x194]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x1003b7a8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0x190]
fld dword [ecx + edi*8]
lea eax, [ecx + edi*8]
fsub qword [esp + 0x88]
fstp dword [esp + 0xc8]
fld dword [eax + 4]
fsub qword [esp + 0x90]
fstp dword [esp + 0xcc]
fld dword [esi + 0x1b4]
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fld dword [esp + 0xc8]
fmul st(1)
fstp dword [esp + 0xb4]
fmul dword [esp + 0xcc]
fstp dword [esp + 0xb8]
fld dword [esp + 0xb8]
fld dword [esi + 0x1d0]
fmul st(1)
fstp dword [esp + 0xdc]
fld dword [esi + 0x1d4]
fmul st(1)
fstp dword [esp + 0xe0]
fmul dword [esi + 0x1d8]
fstp dword [esp + 0xe4]
fld dword [esp + 0xb4]
fld dword [esi + 0x1c4]
fmul st(1)
fstp dword [esp + 0x9c]
fld dword [esi + 0x1c8]
fmul st(1)
fstp dword [esp + 0xa0]
fmul dword [esi + 0x1cc]
fstp dword [esp + 0xa4]
fld dword [esp + 0x9c]
fadd dword [esi + 0x1b8]
fstp dword [esp + 0x10c]
fld dword [esi + 0x1bc]
fadd dword [esp + 0xa0]
fstp dword [esp + 0x110]
fld dword [esi + 0x1c0]
fadd dword [esp + 0xa4]
fstp dword [esp + 0x114]
fld dword [esp + 0x10c]
fsub dword [esp + 0xdc]
fstp dword [esp + 0x118]
mov edx, dword [esp + 0x118]
fld dword [esp + 0x110]
mov dword [esp + 0x14c], edx
fsub dword [esp + 0xe0]
fstp dword [esp + 0x11c]
mov eax, dword [esp + 0x11c]
fld dword [esp + 0x114]
mov dword [esp + 0x150], eax
fsub dword [esp + 0xe4]
fstp dword [esp + 0x120]
mov ecx, dword [esp + 0x120]
mov dword [esp + 0x154], ecx
mov ecx, dword [esi + 0x1a0]
test ecx, ecx
je 0x1003b928
mov eax, dword [esi + 0x1a4]
mov edx, dword [esp + 0x34]
sub eax, ecx
sar eax, 2
add edx, 0xffffffff
cmp edx, eax
jb 0x1003b92e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0x190]
test ecx, ecx
mov eax, dword [esi + 0x1a0]
mov edi, dword [eax + ebx - 4]
je 0x1003b951
mov eax, dword [esi + 0x194]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x1003b957
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0x190]
fld dword [ecx + edi*8]
lea eax, [ecx + edi*8]
fsub qword [esp + 0x88]
fstp dword [esp + 0x12c]
fld dword [eax + 4]
fsub qword [esp + 0x90]
fstp dword [esp + 0x130]
fld dword [esi + 0x1b4]
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fld dword [esp + 0x12c]
fmul st(1)
fstp dword [esp + 0x124]
fmul dword [esp + 0x130]
fstp dword [esp + 0x128]
fld dword [esp + 0x128]
fld dword [esi + 0x1d0]
fmul st(1)
fstp dword [esp + 0xbc]
fld dword [esi + 0x1d4]
fmul st(1)
fstp dword [esp + 0xc0]
fmul dword [esi + 0x1d8]
fstp dword [esp + 0xc4]
fld dword [esp + 0x124]
fld dword [esi + 0x1c4]
fmul st(1)
fstp dword [esp + 0xf4]
fld dword [esi + 0x1c8]
fmul st(1)
fstp dword [esp + 0xf8]
fmul dword [esi + 0x1cc]
fstp dword [esp + 0xfc]
fld dword [esp + 0xf4]
fadd dword [esi + 0x1b8]
fstp dword [esp + 0xa8]
fld dword [esi + 0x1bc]
fadd dword [esp + 0xf8]
fstp dword [esp + 0xac]
fld dword [esi + 0x1c0]
fadd dword [esp + 0xfc]
fstp dword [esp + 0xb0]
fld dword [esp + 0xa8]
fsub dword [esp + 0xbc]
fstp dword [esp + 0xd0]
mov edx, dword [esp + 0xd0]
fld dword [esp + 0xac]
mov dword [esp + 0x158], edx
fsub dword [esp + 0xc0]
fstp dword [esp + 0xd4]
mov eax, dword [esp + 0xd4]
fld dword [esp + 0xb0]
mov dword [esp + 0x15c], eax
fsub dword [esp + 0xc4]
fstp dword [esp + 0xd8]
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0x160], ecx
mov ecx, dword [esi + 0x1a0]
test ecx, ecx
je 0x1003bad2
mov eax, dword [esi + 0x1a4]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x34], eax
jb 0x1003bad8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0x190]
test ecx, ecx
mov edx, dword [esi + 0x1a0]
mov edi, dword [ebx + edx]
je 0x1003bafa
mov eax, dword [esi + 0x194]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x1003bb00
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x190]
fld dword [eax + edi*8]
lea eax, [eax + edi*8]
fsub qword [esp + 0x88]
push 1
fstp dword [esp + 0x24]
fld dword [eax + 4]
fsub qword [esp + 0x94]
fstp dword [esp + 0x28]
fld dword [esi + 0x1b4]
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
fld dword [esp + 0x24]
fmul st(1)
fstp dword [esp + 0x14]
fmul dword [esp + 0x28]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fld dword [esi + 0x1d0]
fmul st(1)
fstp dword [esp + 0x138]
fld dword [esi + 0x1d4]
fmul st(1)
fstp dword [esp + 0x13c]
fmul dword [esi + 0x1d8]
fstp dword [esp + 0x140]
fld dword [esp + 0x14]
fld dword [esi + 0x1c4]
fmul st(1)
fstp dword [esp + 0xec]
fld dword [esi + 0x1c8]
fmul st(1)
fstp dword [esp + 0xf0]
fmul dword [esi + 0x1cc]
fstp dword [esp + 0xf4]
fld dword [esp + 0xec]
fadd dword [esi + 0x1b8]
fstp dword [esp + 0x104]
fld dword [esi + 0x1bc]
fadd dword [esp + 0xf0]
fstp dword [esp + 0x108]
fld dword [esi + 0x1c0]
fadd dword [esp + 0xf4]
fstp dword [esp + 0x10c]
fld dword [esp + 0x104]
fsub dword [esp + 0x138]
fstp dword [esp + 0x64]
mov ecx, dword [esp + 0x64]
fld dword [esp + 0x108]
mov dword [esp + 0x168], ecx
fsub dword [esp + 0x13c]
mov ecx, dword [ebp + 0xc]
fstp dword [esp + 0x68]
mov edx, dword [esp + 0x68]
fld dword [esp + 0x10c]
mov dword [esp + 0x16c], edx
fsub dword [esp + 0x140]
fstp dword [esp + 0x6c]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x170], eax
mov eax, dword [ecx + 0x14]
mov ecx, dword [esp + 0x54]
mov edx, dword [eax]
mov edx, dword [edx + 0x70]
push ecx
push 3
push 0
lea ecx, [esp + 0x15c]
push ecx
push eax
call edx
add dword [esp + 0x34], 3
add ebx, 0xc
sub dword [esp + 0xc], 1
jne 0x1003b759
mov ebx, dword [ebp + 0xc]
test dword [esi + 0x48], 0x200
je 0x1003be8c
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
push 1
push 1
push 0x3e9
push eax
call edx
jmp 0x1003be8c
fstp st(3)
fld st(2)
fmulp st(2)
fxch st(1)
fcomp qword [0x1014e778]
fnstsw ax
test ah, 0x41
je 0x1003b5f8
fstp st(0)
fldz
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
fld qword [0x1014e7a8]
jp 0x1003bd8b
fld dword [esi + 0x158]
fmul st(1)
fstp dword [esp + 0x10]
mov edx, dword [esp + 0x10]
fld dword [esi + 0x15c]
fmul st(1)
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
fld dword [esi + 0x160]
mov dword [esi + 0x1c4], edx
fmul st(1)
mov dword [esi + 0x1c8], eax
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fld dword [esi + 0x184]
mov dword [esi + 0x1cc], ecx
fsub dword [esi + 0x17c]
fmul dword [esi + 0x1b4]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fld dword [esi + 0x1c4]
fmul st(1)
fstp dword [esp + 0x10]
fld dword [esi + 0x1c8]
fmul st(1)
fstp dword [esp + 0x14]
fmul dword [esi + 0x1cc]
fstp dword [esp + 0x18]
fld dword [esi + 0x1b8]
fsub dword [esp + 0x10]
fstp dword [esp + 0x20]
mov edx, dword [esp + 0x20]
fld dword [esi + 0x1bc]
fsub dword [esp + 0x14]
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x24]
fld dword [esi + 0x1c0]
mov dword [esi + 0x1b8], edx
fsub dword [esp + 0x18]
mov dword [esi + 0x1bc], eax
fstp dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x1c0], ecx
fld dword [esi + 0x168]
fmulp st(3)
fld dword [esi + 0x164]
fmulp st(4)
fxch st(2)
faddp st(3)
fld dword [esi + 0x16c]
fmulp st(4)
fxch st(2)
faddp st(3)
fxch st(2)
fstp dword [esp + 0xc]
fcomp dword [esp + 0xc]
fnstsw ax
test ah, 0x41
jne 0x1003b708
fld dword [esi + 0x164]
fmul st(1)
fstp dword [esp + 0x10]
mov edx, dword [esp + 0x10]
fld dword [esi + 0x168]
fmul st(1)
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
fmul dword [esi + 0x16c]
mov dword [esi + 0x1d0], edx
mov dword [esi + 0x1d4], eax
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fld dword [esi + 0x188]
mov dword [esi + 0x1d8], ecx
fsub dword [esi + 0x180]
fmul dword [esi + 0x1b4]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fld dword [esi + 0x1d0]
fmul st(1)
fstp dword [esp + 0x10]
fld dword [esi + 0x1d4]
fmul st(1)
fstp dword [esp + 0x14]
fmul dword [esi + 0x1d8]
fstp dword [esp + 0x18]
fld dword [esi + 0x1b8]
fadd dword [esp + 0x10]
fstp dword [esp + 0x20]
mov edx, dword [esp + 0x20]
fld dword [esi + 0x1bc]
fadd dword [esp + 0x14]
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x24]
fld dword [esi + 0x1c0]
mov dword [esi + 0x1b8], edx
fadd dword [esp + 0x18]
mov dword [esi + 0x1bc], eax
fstp dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x1c0], ecx
jmp 0x1003b70a
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push eax
push ecx
push ebx
push esi
call sym.rt3d.dll_public_virtual:_enum_E3RESULT___stdcall_TSPRITE::Render_class_e3_VIEWPORT___class_e3_NODE___class_e3_CONTEXT__
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10