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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x4cdb20
test edi, edi
je 0x4cdb20
mov ecx, dword [esi + 0xc0]
mov ebx, 4
mov eax, dword [edi + 4]
mov dword [ecx + 0x20], eax
xor ecx, ecx
mov eax, dword [esi + 0xc0]
mov eax, dword [eax + 0x20]
lea eax, [eax + eax*2]
mul ebx
seto cl
neg ecx
or ecx, eax
call fcn.004c9110
mov ecx, dword [esi + 0xc0]
mov dword [ecx + 0x24], eax
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx + 0x20]
lea eax, [eax + eax*2]
shl eax, 2
push eax
push dword [edi + 0xc]
push dword [ecx + 0x24]
call fcn.004e9580
mov eax, dword [esi + 0xc0]
add esp, 0xc
push dword [eax + 0x20]
push str.New_mesh_with__d_vertices
push 0
push 0xb
push str.C:UsersMi_PcDocumentsGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceImporterMesh.cpp
call fcn.004ce750
add esp, 0x14
cmp dword [edi + 0x7c], 0
je 0x4cd884
mov eax, dword [edi + 8]
test eax, eax
je 0x4cd884
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0xc0]
mov dword [eax + 0x18], ecx
xor ecx, ecx
mov eax, dword [esi + 0xc0]
mov eax, dword [eax + 0x18]
mul ebx
seto cl
neg ecx
or ecx, eax
call fcn.004c9110
mov ecx, dword [esi + 0xc0]
xor ebx, ebx
mov dword [ecx + 0x1c], eax
cmp dword [edi + 8], ebx
jbe 0x4cd860
xor edx, edx
mov dword [ebp - 8], edx
nop
mov eax, dword [edi + 0x7c]
cmp dword [eax + ebx*8], 3
je 0x4cd834
push str.WARNING__geometry_face_with___3_indices_
push 1
push 0x16
push str.C:UsersMi_PcDocumentsGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceImporterMesh.cpp
call fcn.004ce750
mov edx, dword [ebp - 8]
add esp, 0x10
jmp 0x4cd854
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax + 0x1c]
mov eax, dword [edi + 0x7c]
mov eax, dword [eax + ebx*8 + 4]
movq xmm0, qword [eax]
movq qword [ecx + edx], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + edx + 8], eax
inc ebx
add edx, 0xc
mov dword [ebp - 8], edx
cmp ebx, dword [edi + 8]
jb 0x4cd810
mov eax, dword [esi + 0xc0]
push dword [eax + 0x18]
push str.With__d_indices
push 0
push 0x1f
push str.C:UsersMi_PcDocumentsGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceImporterMesh.cpp
call fcn.004ce750
add esp, 0x14
mov ebx, 4
cmp dword [edi + 0x10], 0
je 0x4cd92f
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4cd92f
mov eax, dword [esi + 0xc0]
mov dword [eax + 0x28], ecx
xor ecx, ecx
mov eax, dword [esi + 0xc0]
mov eax, dword [eax + 0x28]
lea eax, [eax + eax*2]
mul ebx
seto cl
neg ecx
or ecx, eax
call fcn.004c9110
mov ecx, dword [esi + 0xc0]
mov dword [ecx + 0x2c], eax
mov ecx, dword [esi + 0xc0]
mov eax, dword [ecx + 0x28]
lea eax, [eax + eax*2]
shl eax, 2
push eax
push dword [edi + 0x10]
push dword [ecx + 0x2c]
call fcn.004e9580
mov eax, dword [edi + 8]
xor ecx, ecx
add esp, 0xc
lea eax, [eax + eax*2]
mul ebx
seto cl
neg ecx
or ecx, eax
call fcn.004c9110
mov ecx, dword [esi + 0xc0]
mov dword [ecx + 0x60], eax
xor ecx, ecx
mov eax, dword [edi + 8]
lea eax, [eax + eax*2]
mul ebx
seto cl
neg ecx
or ecx, eax
call fcn.004c9110
mov ecx, dword [esi + 0xc0]
mov dword [ecx + 0x64], eax
mov ecx, dword [esi + 0xc0]
mov eax, dword [edi + 8]
mov dword [ecx + 0x68], eax
cmp dword [edi + 0x3c], 0
je 0x4cd9c2
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4cd9c2
mov eax, dword [esi + 0xc0]
mov edx, 8
mov dword [eax + 0x38], ecx
xor ecx, ecx
mov eax, dword [edi + 4]
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.004c9110
mov ecx, dword [esi + 0xc0]
xor ebx, ebx
mov dword [ecx + 0x3c], eax
mov eax, dword [esi + 0xc0]
mov dword [ebp - 8], eax
cmp dword [eax + 0x38], ebx
jbe 0x4cd9cb
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0xc0]
mov edx, dword [edi + 0x3c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + edx]
mov dword [ecx + ebx*8], eax
mov eax, dword [esi + 0xc0]
mov edx, dword [edi + 0x3c]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
add dword [ebp - 4], 0xc
mov eax, dword [eax + edx + 4]
mov dword [ecx + ebx*8 + 4], eax
inc ebx
mov eax, dword [esi + 0xc0]
mov dword [ebp - 8], eax
cmp ebx, dword [eax + 0x38]
jb 0x4cd981
jmp 0x4cd9cb
mov eax, dword [esi + 0xc0]
mov dword [ebp - 8], eax
lea esi, [eax + 0x6c]
mov dword [eax + 0x78], 0
lea edi, [eax + 0x70]
mov dword [esi], 0
lea ebx, [eax + 0x74]
mov dword [edi], 0
mov eax, dword [sym.imp.glew32.dll___glewGenBuffers]
push esi
mov dword [ebx], 0
push 1
mov eax, dword [eax]
call eax
mov eax, dword [sym.imp.glew32.dll___glewBindBuffer]
push dword [esi]
push 0x8892
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 8]
push 0x88e4
push dword [eax + 0x24]
mov eax, dword [eax + 0x20]
lea eax, [eax + eax*2]
shl eax, 2
push eax
mov eax, dword [sym.imp.glew32.dll___glewBufferData]
push 0x8892
mov eax, dword [eax]
call eax
mov eax, dword [sym.imp.glew32.dll___glewBindBuffer]
push 0
push 0x8892
mov eax, dword [eax]
call eax
mov eax, dword [sym.imp.glew32.dll___glewGenBuffers]
push edi
push 1
mov eax, dword [eax]
call eax
mov eax, dword [sym.imp.glew32.dll___glewBindBuffer]
push dword [edi]
push 0x8893
mov eax, dword [eax]
call eax
mov edi, dword [ebp - 8]
push 0x88e4
push dword [edi + 0x1c]
mov eax, dword [edi + 0x18]
shl eax, 2
push eax
mov eax, dword [sym.imp.glew32.dll___glewBufferData]
push 0x8893
mov eax, dword [eax]
call eax
mov eax, dword [sym.imp.glew32.dll___glewBindBuffer]
push 0
push 0x8892
mov eax, dword [eax]
call eax
mov eax, dword [sym.imp.glew32.dll___glewGenBuffers]
push ebx
push 1
mov eax, dword [eax]
call eax
mov eax, dword [sym.imp.glew32.dll___glewBindBuffer]
push dword [ebx]
push 0x8893
mov eax, dword [eax]
call eax
mov eax, dword [edi + 0x28]
push 0x88e4
push dword [edi + 0x2c]
lea eax, [eax + eax*2]
shl eax, 2
push eax
mov eax, dword [sym.imp.glew32.dll___glewBufferData]
push 0x8893
mov eax, dword [eax]
call eax
mov eax, dword [sym.imp.glew32.dll___glewBindBuffer]
push 0
push 0x8892
mov eax, dword [eax]
call eax
mov eax, dword [sym.imp.glew32.dll___glewGenBuffers]
lea esi, [edi + 0x78]
push esi
push 1
mov eax, dword [eax]
call eax
mov eax, dword [sym.imp.glew32.dll___glewBindBuffer]
push dword [esi]
push 0x8892
mov eax, dword [eax]
call eax
mov eax, dword [edi + 0x38]
push 0x88e4
push dword [edi + 0x3c]
shl eax, 3
push eax
mov eax, dword [sym.imp.glew32.dll___glewBufferData]
push 0x8892
mov eax, dword [eax]
call eax
mov eax, dword [sym.imp.glew32.dll___glewBindBuffer]
push 0
push 0x8892
mov eax, dword [eax]
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret