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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x18020
call fcn.0057ca80
mov eax, dword [0x6ae4c0]
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 + 0x264]
mov ecx, dword [ebx + 0x248]
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 + 0x264]
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 0x575c2e
mov eax, dword [ebx + 0x28c]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x1801c], eax
test eax, eax
je 0x575c2e
movzx ecx, word [esi + 0xc]
mov dword [ebp - 0x1800c], 0
mov dword [ebp - 0x18010], ecx
lea eax, [ecx + ecx*2]
cmp eax, 0x2000
jae 0x575cda
mov edi, dword [esi + 0x18]
xor edx, edx
test ecx, ecx
je 0x575bbd
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 0x575ab1
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 0x575c28
movzx eax, word [esi + 0xc]
lea edi, [eax + eax*2]
add edi, edi
je 0x575c13
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 0x575bf0
mov eax, dword [ebx + 0x28c]
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 0x575a30
mov ecx, ebx
call fcn.00575470
xor edi, edi
mov eax, 0xb4
nop dword [eax]
test edi, edi
mov esi, 0x78
cmovne esi, eax
add esi, dword [ebx + 0x264]
mov ecx, dword [esi + 8]
cmp ecx, 0xffffffff
jle 0x575cd0
cmp byte [esi], 0
je 0x575cd0
cmp word [esi + 0xc], 0
jbe 0x575cd0
mov eax, dword [ebx + 0x28c]
push 0x18
push dword [eax + ecx*4]
mov ecx, dword [0x7008c8]
push 0
call fcn.004e9830
movss xmm0, dword [esi + 4]
call fcn.0057c840
mov ecx, dword [0x7008c8]
push eax
push 0x18
call fcn.004e97f0
movzx ecx, word [esi + 0xc]
mov eax, dword [0x6c61dc]
lea eax, [eax + ecx*2]
mov ecx, dword [0x7008c8]
mov dword [0x6c61dc], eax
movzx eax, word [esi + 0xc]
add eax, eax
push eax
push 0
push 4
call fcn.004e86b0
mov eax, 0xb4
inc edi
cmp edi, 2
jb 0x575c50
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057bdda
mov esp, ebp
pop ebp
ret