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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x18020
call fcn.0056b0c0
mov eax, dword [0x697398]
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 + 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 edx, edx
mov dword [ebp - 0x18008], edx
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebx + 0x198]
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 0x564a2e
mov eax, dword [ebx + 0x1c0]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x1801c], eax
test eax, eax
je 0x564a2e
movzx ecx, word [esi + 0xc]
mov dword [ebp - 0x1800c], 0
mov dword [ebp - 0x18010], ecx
lea eax, [ecx + ecx*2]
cmp eax, 0x2000
jae 0x564ada
mov edi, dword [esi + 0x18]
xor edx, edx
test ecx, ecx
je 0x5649bd
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 0x5648b1
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 0x564a28
movzx eax, word [esi + 0xc]
lea edi, [eax + eax*2]
add edi, edi
je 0x564a13
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 0x5649f0
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 edx, dword [ebp - 0x18008]
inc edx
mov dword [ebp - 0x18008], edx
cmp edx, 2
jb 0x564830
mov ecx, ebx
call fcn.00564270
xor edi, edi
mov eax, 0xb4
nop dword [eax]
test edi, edi
mov esi, 0x78
cmovne esi, eax
add esi, dword [ebx + 0x198]
mov ecx, dword [esi + 8]
cmp ecx, 0xffffffff
jle 0x564ad0
cmp byte [esi], 0
je 0x564ad0
cmp word [esi + 0xc], 0
jbe 0x564ad0
mov eax, dword [ebx + 0x1c0]
push 0x18
push dword [eax + ecx*4]
mov ecx, dword [0x6e7e54]
push 0
call fcn.004dba10
movss xmm0, dword [esi + 4]
call fcn.0056af80
mov ecx, dword [0x6e7e54]
push eax
push 0x18
call fcn.004db9d0
movzx ecx, word [esi + 0xc]
mov eax, dword [0x6ad8fc]
lea eax, [eax + ecx*2]
mov ecx, dword [0x6e7e54]
mov dword [0x6ad8fc], eax
movzx eax, word [esi + 0xc]
add eax, eax
push eax
push 0
push 4
call fcn.004da870
mov eax, 0xb4
inc edi
cmp edi, 2
jb 0x564a50
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056a569
mov esp, ebp
pop ebp
ret