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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x18028
call fcn.00619ed0
mov eax, dword [0x6f77c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ebx, ecx
push 0xffffffffffffffff
push 4
mov dword [ebp - 0x18024], ebx
push dword [ebx + 0x198]
mov ecx, dword [ebx + 0x17c]
call sub.SpeedTreeRT.dll_public:_void___thiscall_CSpeedTreeRT::GetGeometry_struct_CSpeedTreeRT::SGeometry___unsigned_long_int__short_int__short_int__short_int_
xor esi, esi
mov dword [ebp - 0x1800c], esi
test esi, esi
mov esi, dword [ebx + 0x198]
jne 0x612222
add esi, 0x78
jmp 0x612228
add esi, 0xb4
cmp byte [esi], 0
mov ecx, dword [esi + 8]
mov dword [ebp - 0x18010], esi
mov dword [ebp - 0x18020], ecx
je 0x612406
mov eax, dword [ebx + 0x1c0]
mov edi, dword [eax + ecx*4]
mov dword [ebp - 0x18018], edi
test edi, edi
je 0x612406
movzx edx, word [esi + 0xc]
mov dword [ebp - 0x18008], 0
lea eax, [edx + edx*2]
cmp eax, 0x2000
jae 0x6124af
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x18028], eax
mov dword [ebp - 0x18014], 0
test edx, edx
je 0x612399
mov edi, dword [ebp - 0x18014]
lea ecx, [ebp - 0x17ffc]
mov esi, dword [esi + 0x20]
mov ebx, eax
nop
mov eax, dword [esi + edi*4]
movss xmm3, dword [ebx]
movss xmm2, dword [ebx + 4]
movaps xmm0, xmm3
movss xmm1, dword [ebx + 8]
add ebx, 0xc
addss xmm0, dword [eax]
movss dword [ecx - 8], xmm0
movss xmm0, dword [eax + 4]
addss xmm0, xmm2
movss dword [ecx - 4], xmm0
movss xmm0, dword [eax + 8]
addss xmm0, xmm1
movss dword [ecx], xmm0
movss xmm0, dword [eax + 0x10]
addss xmm0, xmm3
movss dword [ecx + 4], xmm0
movss xmm0, dword [eax + 0x14]
addss xmm0, xmm2
movss dword [ecx + 8], xmm0
movss xmm0, dword [eax + 0x18]
addss xmm0, xmm1
movss dword [ecx + 0xc], xmm0
movss xmm0, dword [eax + 0x20]
addss xmm0, xmm3
movss dword [ecx + 0x10], xmm0
movss xmm0, dword [eax + 0x24]
addss xmm0, xmm2
movss dword [ecx + 0x14], xmm0
movss xmm0, dword [eax + 0x28]
mov eax, dword [ecx]
addss xmm0, xmm1
movss dword [ecx + 0x18], xmm0
movq xmm0, qword [ecx - 8]
movq qword [ecx + 0x1c], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ecx + 0x28], xmm0
mov dword [ecx + 0x24], eax
mov eax, dword [ecx + 0x18]
mov dword [ecx + 0x30], eax
mov eax, dword [esi + edi*4]
inc edi
movss xmm0, dword [eax + 0x30]
addss xmm0, xmm3
movss dword [ecx + 0x34], xmm0
movss xmm0, dword [eax + 0x34]
addss xmm0, xmm2
movss dword [ecx + 0x38], xmm0
movss xmm0, dword [eax + 0x38]
addss xmm0, xmm1
movss dword [ecx + 0x3c], xmm0
add ecx, 0x48
cmp edi, edx
jb 0x6122a0
mov esi, dword [ebp - 0x18010]
mov ebx, dword [ebp - 0x18024]
mov edi, dword [ebp - 0x18018]
mov eax, dword [edi]
lea ecx, [ebp - 0x18008]
push 0x2800
push ecx
push 0
push 0
push edi
call dword [eax + 0x2c]
test eax, eax
js 0x612406
movzx eax, word [esi + 0xc]
lea edi, [eax + eax*2]
add edi, edi
je 0x6123f1
xor edx, edx
lea esi, [ebp - 0x18004]
jmp 0x6123d0
mov ecx, dword [ebp - 0x18008]
lea esi, [esi + 0xc]
movq xmm0, qword [esi - 0xc]
lea edx, [edx + 0x18]
mov eax, dword [esi - 4]
movq qword [ecx + edx - 0x18], xmm0
mov dword [ecx + edx - 0x10], eax
dec edi
jne 0x6123d0
mov eax, dword [ebx + 0x1c0]
mov ecx, dword [ebp - 0x18020]
mov eax, dword [eax + ecx*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov esi, dword [ebp - 0x1800c]
inc esi
mov dword [ebp - 0x1800c], esi
cmp esi, 2
jb 0x612213
mov ecx, ebx
call fcn.00611c40
xor edi, edi
mov esi, dword [ebx + 0x198]
test edi, edi
jne 0x612434
add esi, 0x78
jmp 0x61243a
add esi, 0xb4
mov ecx, dword [esi + 8]
cmp ecx, 0xffffffff
jle 0x6124a5
cmp byte [esi], 0
je 0x6124a5
cmp word [esi + 0xc], 0
jbe 0x6124a5
mov eax, dword [ebx + 0x1c0]
push 0x18
push dword [eax + ecx*4]
mov ecx, dword [0x709488]
push 0
call fcn.00585640
movss xmm0, dword [esi + 4]
call fcn.00618880
mov ecx, dword [0x709488]
push eax
push 0x18
call fcn.00585600
movzx ecx, word [esi + 0xc]
mov eax, dword [0x7134ec]
lea eax, [eax + ecx*2]
mov ecx, dword [0x709488]
mov dword [0x7134ec], eax
movzx eax, word [esi + 0xc]
add eax, eax
push eax
push 0
push 4
call fcn.00584510
inc edi
cmp edi, 2
jb 0x612425
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0061693e
mov esp, ebp
pop ebp
ret