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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x18020
call fcn.0061ac20
mov eax, dword [0x78d5fc]
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 - 0x18018], ebx
push dword [ebx + 0x33c]
mov ecx, dword [ebx + 0x320]
call sub.SpeedTreeRT.dll_public:_void___thiscall_CSpeedTreeRT::GetGeometry_struct_CSpeedTreeRT::SGeometry___unsigned_long_int__short_int__short_int__short_int_
xor edx, edx
mov dword [ebp - 0x18008], edx
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebx + 0x33c]
test edx, edx
lea ecx, [eax + 0xb4]
lea esi, [eax + 0x78]
cmovne esi, ecx
mov dword [ebp - 0x18014], esi
cmp byte [esi], 0
mov ecx, dword [esi + 8]
mov dword [ebp - 0x18020], ecx
je 0x61680e
mov eax, dword [ebx + 0x364]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x1801c], eax
test eax, eax
je 0x61680e
movzx ecx, word [esi + 0xc]
mov dword [ebp - 0x1800c], 0
mov dword [ebp - 0x18010], ecx
lea eax, [ecx + ecx*2]
cmp eax, 0x2000
jae 0x6168ba
mov edi, dword [esi + 0x18]
xor edx, edx
test ecx, ecx
je 0x61679d
mov ebx, dword [esi + 0x20]
lea ecx, [ebp - 0x17ffc]
mov esi, dword [ebp - 0x18010]
mov eax, dword [ebx + edx*4]
movss xmm0, dword [eax]
addss xmm0, dword [edi]
movss dword [ecx - 8], xmm0
mov eax, dword [ebx + edx*4]
movss xmm0, dword [eax + 4]
addss xmm0, dword [edi + 4]
movss dword [ecx - 4], xmm0
mov eax, dword [ebx + edx*4]
movss xmm0, dword [eax + 8]
addss xmm0, dword [edi + 8]
movss dword [ecx], xmm0
mov eax, dword [ebx + edx*4]
movss xmm0, dword [eax + 0x10]
addss xmm0, dword [edi]
movss dword [ecx + 4], xmm0
mov eax, dword [ebx + edx*4]
movss xmm0, dword [eax + 0x14]
addss xmm0, dword [edi + 4]
movss dword [ecx + 8], xmm0
mov eax, dword [ebx + edx*4]
movss xmm0, dword [eax + 0x18]
addss xmm0, dword [edi + 8]
movss dword [ecx + 0xc], xmm0
mov eax, dword [ebx + edx*4]
movss xmm0, dword [eax + 0x20]
addss xmm0, dword [edi]
movss dword [ecx + 0x10], xmm0
mov eax, dword [ebx + edx*4]
movss xmm0, dword [eax + 0x24]
addss xmm0, dword [edi + 4]
movss dword [ecx + 0x14], xmm0
mov eax, dword [ebx + edx*4]
movss xmm0, dword [eax + 0x28]
addss xmm0, dword [edi + 8]
mov eax, dword [ecx]
movss dword [ecx + 0x18], xmm0
movq xmm0, qword [ecx - 8]
movq qword [ecx + 0x1c], xmm0
movq xmm0, qword [ecx + 0x10]
mov dword [ecx + 0x24], eax
mov eax, dword [ecx + 0x18]
movq qword [ecx + 0x28], xmm0
mov dword [ecx + 0x30], eax
mov eax, dword [ebx + edx*4]
movss xmm0, dword [eax + 0x30]
addss xmm0, dword [edi]
movss dword [ecx + 0x34], xmm0
mov eax, dword [ebx + edx*4]
movss xmm0, dword [eax + 0x34]
addss xmm0, dword [edi + 4]
movss dword [ecx + 0x38], xmm0
mov eax, dword [ebx + edx*4]
inc edx
movss xmm0, dword [eax + 0x38]
addss xmm0, dword [edi + 8]
add edi, 0xc
movss dword [ecx + 0x3c], xmm0
add ecx, 0x48
cmp edx, esi
jb 0x616691
mov esi, dword [ebp - 0x18014]
mov ebx, dword [ebp - 0x18018]
mov ecx, dword [ebp - 0x1801c]
lea edx, [ebp - 0x1800c]
push 0x2800
push edx
push 0
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x2c]
test eax, eax
js 0x616808
movzx eax, word [esi + 0xc]
lea edi, [eax + eax*2]
add edi, edi
je 0x6167f3
xor edx, edx
lea esi, [ebp - 0x18004]
mov ecx, dword [ebp - 0x1800c]
lea esi, [esi + 0xc]
movq xmm0, qword [esi - 0xc]
lea edx, [edx + 0x18]
movq qword [edx + ecx - 0x18], xmm0
mov eax, dword [esi - 4]
mov dword [edx + ecx - 0x10], eax
sub edi, 1
jne 0x6167d0
mov eax, dword [ebx + 0x364]
mov ecx, dword [ebp - 0x18020]
mov eax, dword [eax + ecx*4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [ebp - 0x18008]
inc edx
mov dword [ebp - 0x18008], edx
cmp edx, 2
jb 0x616610
mov ecx, ebx
call fcn.00616050
xor edi, edi
mov eax, 0xb4
nop dword [eax]
test edi, edi
mov esi, 0x78
cmovne esi, eax
add esi, dword [ebx + 0x33c]
mov ecx, dword [esi + 8]
cmp ecx, 0xffffffff
jle 0x6168b0
cmp byte [esi], 0
je 0x6168b0
cmp word [esi + 0xc], 0
jbe 0x6168b0
mov eax, dword [ebx + 0x364]
push 0x18
push dword [eax + ecx*4]
mov ecx, dword [0x79feb4]
push 0
call fcn.00578240
movss xmm0, dword [esi + 4]
call fcn.0061b260
mov ecx, dword [0x79feb4]
push eax
push 0x18
call fcn.00578200
movzx ecx, word [esi + 0xc]
mov eax, dword [0x7ad954]
lea eax, [eax + ecx*2]
mov ecx, dword [0x79feb4]
mov dword [0x7ad954], eax
movzx eax, word [esi + 0xc]
add eax, eax
push eax
push 0
push 4
call fcn.00577160
mov eax, 0xb4
inc edi
cmp edi, 2
jb 0x616830
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0061abe2
mov esp, ebp
pop ebp
ret