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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, eax
push esi
push edi
mov dword [ebp - 0x10], eax
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x100bce54
push eax
call sym.rt3d.dll_public_virtual:_enum_E3RESULT___stdcall_TSPRITE::Render_class_e3_VIEWPORT___class_e3_NODE___class_e3_CONTEXT__
pop ecx
mov ecx, dword [ebx + 4]
xor eax, eax
or dword [ebx + 0x80], 0xffffffff
lea edx, [ebx + 0x7c]
movsd xmm0, qword [0x10164788]
mov esi, dword [ebp + 8]
movsd qword [ebx + 0x86], xmm0
mov dword [ebp - 0x18], edx
mov dword [edx], eax
mov dword [ebx + 0xba], 0x64078678
test ecx, ecx
jne 0x100bce95
mov ecx, dword [esi + 0x10c]
mov dword [ebx + 4], ecx
test ecx, ecx
je 0x100bd163
xor edi, edi
mov dl, al
inc edi
mov dword [ebp - 4], edx
cmp dword [ebx], eax
je 0x100bceb1
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 [0x10151aac]
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 [0x10151aac]
call dword [esi + 0x6c]
test al, al
je 0x100bd163
movss xmm0, dword [ebx + 0x74]
comiss xmm0, dword [0x10155c28]
jbe 0x100bcfd6
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x54]
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 [0x10151aac]
call esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x54]
call sym.rt3d.dll_public_virtual:_enum_E3RESULT___stdcall_TSPRITE::Render_class_e3_VIEWPORT___class_e3_NODE___class_e3_CONTEXT__
mov eax, dword [ebx + 4]
lea esi, [ebp - 0x30]
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x24]
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 [0x10151aac]
call esi
movss xmm0, dword [ebx + 0x74]
lea edx, [ebp - 0x24]
addss xmm0, dword [ebp - 0x24]
mov eax, dword [ebx + 4]
push edx
movss dword [ebp - 0x24], xmm0
mov eax, dword [eax + 0x1c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x34]
mov ecx, esi
call dword [0x10151aac]
call esi
movss xmm0, dword [ebp - 0x24]
lea eax, [ebp - 0x3c]
subss xmm0, dword [ebp - 0x30]
push eax
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [ebp - 0x20]
subss xmm0, dword [ebp - 0x2c]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0x1c]
subss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x34], xmm0
call sym.rt3d.dll_public_virtual:_enum_E3RESULT___stdcall_TSPRITE::Render_class_e3_VIEWPORT___class_e3_NODE___class_e3_CONTEXT__
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 [0x10151aac]
call esi
test al, al
je 0x100bd163
cmp byte [ebx + 8], 0
je 0x100bd031
push edi
mov edi, dword [ebp + 8]
push ebx
push edi
call sym.rt3d.dll_public_virtual:_enum_E3RESULT___stdcall_TSPRITE::Render_class_e3_VIEWPORT___class_e3_NODE___class_e3_CONTEXT__
xor edx, edx
cmp byte [ebp - 4], dl
je 0x100bd036
mov ecx, dword [ebx]
cmp dword [ecx + 0x24], edx
je 0x100bd036
mov eax, dword [ecx]
push edx
push ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10151aac]
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 edx, edx
mov eax, dword [ebx + 0x7c]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x100bd06a
mov ecx, eax
test dword [ecx + 0x44], 0x8000
cmovne eax, ecx
mov ecx, dword [ecx + 0x4c]
test ecx, ecx
jne 0x100bd042
cmp eax, dword [ebp - 0xc]
je 0x100bd06a
mov dword [ebx + 0x7c], eax
xor eax, eax
mov dword [ebx + 0x80], edx
mov word [ebx + 0x84], ax
test dword [ebx + 8], 0x400
je 0x100bd15c
mov eax, dword [edi + 0x114]
test eax, eax
je 0x100bd15c
cmp dword [eax], edx
je 0x100bd15c
mov ecx, dword [edi + 0xe4]
mov esi, edx
mov eax, dword [edi + 0x2a8]
mov dword [edi + 0x2a8], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
cmp dword [ecx + 0x24], edx
jle 0x100bd105
mov eax, dword [ecx]
push esi
push ecx
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x10151aac]
call esi
mov esi, eax
mov eax, dword [ebx + 4]
cmp esi, dword [eax + 0xc]
je 0x100bd0d7
push ebx
push esi
mov ecx, edi
call sym.rt3d.dll_public_virtual:_enum_E3RESULT___stdcall_TSPRITE::Render_class_e3_VIEWPORT___class_e3_NODE___class_e3_CONTEXT__
test al, al
jne 0x100bd0fb
mov ecx, edi
call fcn.101064e6
test al, al
jne 0x100bd0f4
mov esi, dword [ebp - 8]
mov ecx, dword [edi + 0xe4]
inc esi
mov dword [ebp - 8], esi
cmp esi, dword [ecx + 0x24]
jl 0x100bd0af
mov eax, dword [ebp - 0xc]
xor edx, edx
jmp 0x100bd107
xor eax, eax
mov dword [ebx + 0x7c], esi
inc eax
xor edx, edx
jmp 0x100bd107
mov eax, edx
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x2a8], ecx
test eax, eax
je 0x100bd15c
cmp byte [ebp - 4], 0
je 0x100bd15c
mov eax, dword [ebx]
cmp dword [eax + 0x24], edx
jle 0x100bd14c
mov eax, dword [ebx]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
mov ecx, esi
call dword [0x10151aac]
call esi
push 0x36
push eax
call sym.rt3d.dll_public_virtual:_enum_E3RESULT___stdcall_TSPRITE::Render_class_e3_VIEWPORT___class_e3_NODE___class_e3_CONTEXT__
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx]
inc edx
pop ecx
pop ecx
mov dword [ebp - 0x10], edx
cmp edx, dword [eax + 0x24]
jl 0x100bd121
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 0x28]
mov ecx, esi
call dword [0x10151aac]
call esi
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
jmp 0x100bd165
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8