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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x18028
call fcn.005dc920
mov eax, dword [0x6b64f0]
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 + 0x270]
mov ecx, dword [ebx + 0x254]
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 + 0x270]
jne 0x5cde52
add esi, 0x78
jmp 0x5cde58
add esi, 0xb4
cmp byte [esi], 0
mov ecx, dword [esi + 8]
mov dword [ebp - 0x18010], esi
mov dword [ebp - 0x18020], ecx
je 0x5ce036
mov eax, dword [ebx + 0x298]
mov edi, dword [eax + ecx*4]
mov dword [ebp - 0x18018], edi
test edi, edi
je 0x5ce036
movzx edx, word [esi + 0xc]
mov dword [ebp - 0x18008], 0
lea eax, [edx + edx*2]
cmp eax, 0x2000
jae 0x5ce0df
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x18028], eax
mov dword [ebp - 0x18014], 0
test edx, edx
je 0x5cdfc9
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 0x5cded0
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 0x5ce036
movzx eax, word [esi + 0xc]
lea edi, [eax + eax*2]
add edi, edi
je 0x5ce021
xor edx, edx
lea esi, [ebp - 0x18004]
jmp 0x5ce000
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 0x5ce000
mov eax, dword [ebx + 0x298]
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 0x5cde43
mov ecx, ebx
call fcn.005cd890
xor edi, edi
mov esi, dword [ebx + 0x270]
test edi, edi
jne 0x5ce064
add esi, 0x78
jmp 0x5ce06a
add esi, 0xb4
mov ecx, dword [esi + 8]
cmp ecx, 0xffffffff
jle 0x5ce0d5
cmp byte [esi], 0
je 0x5ce0d5
cmp word [esi + 0xc], 0
jbe 0x5ce0d5
mov eax, dword [ebx + 0x298]
push 0x18
push dword [eax + ecx*4]
mov ecx, dword [0x70ed64]
push 0
call fcn.00549400
movss xmm0, dword [esi + 4]
call fcn.005db840
mov ecx, dword [0x70ed64]
push eax
push 0x18
call fcn.005493c0
movzx ecx, word [esi + 0xc]
mov eax, dword [0x6ce56c]
lea eax, [eax + ecx*2]
mov ecx, dword [0x70ed64]
mov dword [0x6ce56c], eax
movzx eax, word [esi + 0xc]
add eax, eax
push eax
push 0
push 4
call fcn.005482d0
inc edi
cmp edi, 2
jb 0x5ce055
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005d67d1
mov esp, ebp
pop ebp
ret