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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d0
mov eax, dword [0x101975e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x190], ecx
mov dword [ebp - 0x18c], eax
test dword [ebx + 8], 0x200
jne 0x100e7eac
mov eax, dword [ebx + 4]
cmp dword [eax + 0xc], ecx
je 0x100e7eac
cmp dword [ecx + 0x58], 0
jne 0x100e7b62
cmp dword [ecx + 0x70], 0
je 0x100e7eac
push esi
push edi
push 2
pop esi
lea edx, [ebp - 0xc4]
push 8
pop ecx
xor eax, eax
lea edi, [edx - 0x40]
rep stosd dword es:[edi], eax
push 8
pop ecx
lea edi, [edx - 0x20]
rep stosd dword es:[edi], eax
push 8
pop ecx
mov edi, edx
rep stosd dword es:[edi], eax
push 8
lea edi, [edx + 0x20]
sub edx, 0xffffff80
pop ecx
rep stosd dword es:[edi], eax
sub esi, 1
jne 0x100e7b6d
mov edi, dword [ebp - 0x190]
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x194]
mov ecx, edi
push eax
lea eax, [ebp - 0x188]
push eax
push dword [ebp - 0x18c]
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
mov ecx, dword [edi + 0x70]
test ecx, ecx
je 0x100e7e90
test byte [ebx + 8], 1
jne 0x100e7be9
mov eax, dword [ecx]
push 0xb
push ecx
mov esi, dword [eax + 0x44]
mov ecx, esi
call dword [0x10155aa8]
call esi
test al, al
jne 0x100e7e90
test byte [ebx + 8], 2
jne 0x100e7c0c
mov eax, dword [edi + 0x70]
push 3
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x44]
mov ecx, esi
call dword [0x10155aa8]
call esi
test al, al
jne 0x100e7e90
test byte [ebx + 8], 4
jne 0x100e7c2f
mov eax, dword [edi + 0x70]
push 4
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x44]
mov ecx, esi
call dword [0x10155aa8]
call esi
test al, al
jne 0x100e7e90
test byte [ebx + 8], 8
jne 0x100e7c52
mov eax, dword [edi + 0x70]
push 6
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x44]
mov ecx, esi
call dword [0x10155aa8]
call esi
test al, al
jne 0x100e7e90
test dword [edi + 0x44], 0x10001
jne 0x100e7e90
test byte [ebx + 8], 0x40
je 0x100e7cab
mov eax, dword [edi + 0x70]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x40]
mov ecx, esi
call dword [0x10155aa8]
call esi
mov ecx, edi
mov esi, eax
call fcn.10015e98
cmp esi, 1
je 0x100e7c8f
cmp esi, 7
jne 0x100e7e90
cmp eax, 8
je 0x100e7cab
test eax, eax
je 0x100e7cab
cmp eax, 0xa
je 0x100e7cab
cmp eax, 0xd
je 0x100e7cab
cmp eax, 0xe
jne 0x100e7e90
mov eax, dword [ebp - 0x188]
lea edi, [ebx + 0x44]
mov dword [ebp - 0x18c], eax
test eax, eax
je 0x100e7dec
push 0x20
mov esi, eax
lea edi, [ebp - 0x184]
pop ecx
lea eax, [ebp - 0x184]
rep movsd dword es:[edi], dword [esi]
push eax
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
lea eax, [ebx + 0x14]
push eax
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x184]
push eax
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
push 6
pop ecx
mov esi, eax
lea edi, [ebx + 0x44]
rep movsd dword es:[edi], dword [esi]
movsd xmm0, qword [ebx + 0x2c]
lea eax, [ebp - 0x1b8]
addsd xmm0, qword [ebx + 0x14]
push eax
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x184]
movsd qword [ebp - 0x1b8], xmm0
movsd xmm0, qword [ebx + 0x1c]
addsd xmm0, qword [ebx + 0x34]
push eax
movsd qword [ebp - 0x1b0], xmm0
movsd xmm0, qword [ebx + 0x24]
addsd xmm0, qword [ebx + 0x3c]
movsd qword [ebp - 0x1a8], xmm0
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
lea edx, [ebx + 0x5c]
mov esi, eax
push 6
pop ecx
mov edi, edx
rep movsd dword es:[edi], dword [esi]
movsd xmm0, qword [edx]
subsd xmm0, qword [ebx + 0x44]
push edx
movsd qword [edx], xmm0
movsd xmm0, qword [edx + 8]
subsd xmm0, qword [ebx + 0x4c]
movsd qword [edx + 8], xmm0
movsd xmm0, qword [edx + 0x10]
subsd xmm0, qword [ebx + 0x54]
movsd qword [edx + 0x10], xmm0
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x184]
push eax
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
movss xmm0, dword [ebp - 0x19c]
addss xmm0, dword [ebp - 0x1a0]
push ecx
push ecx
addss xmm0, dword [ebp - 0x198]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_fabs
fstp dword [ebp - 0x188]
fld dword [ebp - 0x188]
fdiv dword [0x1015e380]
pop ecx
pop ecx
fstp dword [ebp - 0x188]
movss xmm0, dword [ebp - 0x188]
mulss xmm0, dword [ebx + 0x74]
jmp 0x100e7df9
movss xmm0, dword [ebx + 0x74]
lea esi, [ebx + 0x14]
push 0xc
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x190]
movss dword [ebx + 0x78], xmm0
mov dword [ebx + 0xb2], edi
push edi
mov eax, dword [edi + 0x28]
push dword [ebx + 4]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x3e8]
mov ecx, esi
call dword [0x10155aa8]
call esi
movzx eax, al
mov dword [ebx + 0xb6], eax
test dword [edi + 0xa8], 0x10000000
mov eax, dword [ebx + 8]
mov dword [ebp - 0x188], eax
je 0x100e7e4a
or eax, 0x1000
mov dword [ebx + 8], eax
mov eax, dword [edi + 0x70]
push dword [ebp - 0x18c]
push ebx
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 0x9c]
mov ecx, esi
call dword [0x10155aa8]
call esi
test al, al
je 0x100e7e87
cmp dword [ebx], 0
je 0x100e7e84
test dword [ebx + 8], 0x800
je 0x100e7e84
push edi
push ebx
call sym.rt3d.dll_public:_void___stdcall_TSPRITE::Update_class_e3_VIEWPORT__
pop ecx
pop ecx
jmp 0x100e7e87
mov dword [ebx + 0x7c], edi
mov eax, dword [ebp - 0x188]
mov dword [ebx + 8], eax
mov eax, dword [edi]
push dword [ebp - 0x194]
push ebx
mov esi, dword [eax + 0x148]
mov ecx, esi
push edi
call dword [0x10155aa8]
call esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10147db0
leave
ret 0xc