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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x18028
call fcn.005e5590
mov eax, dword [0x6c4490]
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 0x5da5b2
add esi, 0x78
jmp 0x5da5b8
add esi, 0xb4
cmp byte [esi], 0
mov ecx, dword [esi + 8]
mov dword [ebp - 0x18010], esi
mov dword [ebp - 0x18020], ecx
je 0x5da796
mov eax, dword [ebx + 0x1c0]
mov edi, dword [eax + ecx*4]
mov dword [ebp - 0x18018], edi
test edi, edi
je 0x5da796
movzx edx, word [esi + 0xc]
mov dword [ebp - 0x18008], 0
lea eax, [edx + edx*2]
cmp eax, 0x2000
jae 0x5da83f
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x18028], eax
mov dword [ebp - 0x18014], 0
test edx, edx
je 0x5da729
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 0x5da630
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 0x5da796
movzx eax, word [esi + 0xc]
lea edi, [eax + eax*2]
add edi, edi
je 0x5da781
xor edx, edx
lea esi, [ebp - 0x18004]
jmp 0x5da760
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 0x5da760
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 0x5da5a3
mov ecx, ebx
call fcn.005d9ff0
xor edi, edi
mov esi, dword [ebx + 0x198]
test edi, edi
jne 0x5da7c4
add esi, 0x78
jmp 0x5da7ca
add esi, 0xb4
mov ecx, dword [esi + 8]
cmp ecx, 0xffffffff
jle 0x5da835
cmp byte [esi], 0
je 0x5da835
cmp word [esi + 0xc], 0
jbe 0x5da835
mov eax, dword [ebx + 0x1c0]
push 0x18
push dword [eax + ecx*4]
mov ecx, dword [0x71b1ec]
push 0
call fcn.0054d1b0
movss xmm0, dword [esi + 4]
call fcn.005e4520
mov ecx, dword [0x71b1ec]
push eax
push 0x18
call fcn.0054d170
movzx ecx, word [esi + 0xc]
mov eax, dword [0x6db414]
lea eax, [eax + ecx*2]
mov ecx, dword [0x71b1ec]
mov dword [0x6db414], eax
movzx eax, word [esi + 0xc]
add eax, eax
push eax
push 0
push 4
call fcn.0054c080
inc edi
cmp edi, 2
jb 0x5da7b5
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dfa14
mov esp, ebp
pop ebp
ret