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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
xor eax, eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x100c0311
push eax
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
pop ecx
mov ecx, dword [ebx + 4]
xor eax, eax
or dword [ebx + 0x80], 0xffffffff
lea edx, [ebx + 0x7c]
movsd xmm0, qword [0x10168780]
mov esi, dword [ebp + 8]
movsd qword [ebx + 0x86], xmm0
mov dword [ebp - 0x10], edx
mov dword [edx], eax
mov dword [ebx + 0xba], 0x64078678
test ecx, ecx
jne 0x100c0352
mov ecx, dword [esi + 0x10c]
mov dword [ebx + 4], ecx
test ecx, ecx
je 0x100c0604
xor edi, edi
mov dl, al
inc edi
mov dword [ebp - 4], edx
cmp dword [ebx], eax
je 0x100c036e
test dword [ebx + 8], 0x800
movzx edx, dl
cmovne edx, edi
mov dword [ebp - 4], edx
push ecx
mov ecx, esi
call sym.rt3d.dll_public:_void___stdcall_MATRIX3D::NoRotate_void_
mov ecx, dword [ebp + 8]
xor edi, edi
mov esi, dword [esi]
push edi
call sym.rt3d.dll_public_virtual:_void____stdcall_e3_STREAM::GetHANDLE_void_
mov esi, dword [esi + 0x34c]
mov ecx, esi
push eax
push dword [ebx + 4]
push dword [ebp + 8]
call dword [0x10155aa8]
call esi
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x1c]
lea eax, [ebx + 0x14]
push eax
lea eax, [ebx + 0xc]
push eax
mov esi, dword [ecx]
push ecx
mov ecx, dword [esi + 0x6c]
call dword [0x10155aa8]
call dword [esi + 0x6c]
test al, al
je 0x100c0604
movss xmm0, dword [ebx + 0x74]
comiss xmm0, dword [0x10159c18]
jbe 0x100c0493
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x4c]
push edi
push ecx
push 1
mov eax, dword [eax + 0x28]
push eax
mov esi, dword [eax]
mov esi, dword [esi + 0x2e4]
mov ecx, esi
call dword [0x10155aa8]
call esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x4c]
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
mov eax, dword [ebx + 4]
lea esi, [ebp - 0x28]
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x1c]
push edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x1c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x3c]
mov ecx, esi
call dword [0x10155aa8]
call esi
movss xmm0, dword [ebp - 0x1c]
lea edx, [ebp - 0x1c]
addss xmm0, dword [ebx + 0x74]
mov eax, dword [ebx + 4]
push edx
movss dword [ebp - 0x1c], xmm0
mov eax, dword [eax + 0x1c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x34]
mov ecx, esi
call dword [0x10155aa8]
call esi
movss xmm0, dword [ebp - 0x1c]
lea eax, [ebp - 0x34]
subss xmm0, dword [ebp - 0x28]
push eax
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [ebp - 0x18]
subss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 0x14]
subss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x2c], xmm0
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
fstp dword [ebp - 0xc]
movss xmm0, dword [ebp - 0xc]
xor edi, edi
movss dword [ebx + 0x74], xmm0
movss dword [ebx + 0x78], xmm0
mov eax, dword [ebx + 4]
push ebx
mov eax, dword [eax + 0x1c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x7c]
mov ecx, esi
call dword [0x10155aa8]
call esi
test al, al
je 0x100c0604
cmp byte [ebx + 8], 0
je 0x100c04ee
push edi
mov edi, dword [ebp + 8]
push ebx
push edi
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
xor ecx, ecx
cmp byte [ebp - 4], cl
je 0x100c04f3
mov edx, dword [ebx]
cmp dword [edx + 0x24], ecx
je 0x100c04f3
mov eax, dword [edx]
push ecx
push edx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10155aa8]
call esi
push 0xd
pop ecx
mov esi, eax
lea edi, [ebx + 0x7c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [ebx + 0x7c]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x100c0527
mov edx, eax
test dword [edx + 0x44], 0x8000
cmovne eax, edx
mov edx, dword [edx + 0x4c]
test edx, edx
jne 0x100c04ff
cmp eax, dword [ebp - 0xc]
je 0x100c0527
mov dword [ebx + 0x7c], eax
xor eax, eax
mov dword [ebx + 0x80], ecx
mov word [ebx + 0x84], ax
test dword [ebx + 8], 0x400
je 0x100c05ab
mov eax, dword [edi + 0x114]
test eax, eax
je 0x100c05ab
cmp dword [eax], ecx
je 0x100c05ab
mov edx, dword [edi + 0xe4]
mov esi, ecx
mov eax, dword [edi + 0x2a8]
mov dword [edi + 0x2a8], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
cmp dword [edx + 0x24], ecx
jle 0x100c05a5
mov eax, dword [edx]
push esi
push edx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov esi, eax
mov eax, dword [ebx + 4]
cmp esi, dword [eax + 0xc]
je 0x100c0585
push ebx
push esi
mov ecx, edi
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
test al, al
jne 0x100c05b2
mov ecx, edi
call fcn.10109ff0
test al, al
jne 0x100c05a2
mov esi, dword [ebp - 0xc]
mov edx, dword [edi + 0xe4]
inc esi
mov dword [ebp - 0xc], esi
cmp esi, dword [edx + 0x24]
jl 0x100c055d
mov eax, dword [ebp - 8]
mov dword [edi + 0x2a8], eax
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
jmp 0x100c0606
cmp byte [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [ebx + 0x7c], esi
mov dword [edi + 0x2a8], eax
je 0x100c05ab
mov ecx, dword [ebx]
xor edi, edi
cmp dword [ecx + 0x24], edi
jle 0x100c05f2
mov eax, dword [ebx]
push edi
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10155aa8]
call esi
push 0x36
push eax
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
pop ecx
pop ecx
mov ecx, dword [ebx]
inc edi
cmp edi, dword [ecx + 0x24]
jl 0x100c05cd
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x10155aa8]
call esi
jmp 0x100c05ab
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8