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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x524018]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x54], edx
push 0x379ecb
push esi
call dword [sym.imp.assimp.dll_aiImportFile]
mov edi, eax
add esp, 8
mov dword [esp + 0x14], edi
test edi, edi
je 0x402605
cmp dword [edi + 0xc], 0
je 0x402605
cmp dword [edi + 8], 0
jbe 0x402605
push 0
push 0x4f4d18
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0xf
call fcn.004037c0
push 0
lea edx, [esp + 0x68]
mov ecx, esi
call fcn.004b3380
add esp, 4
push 0x78
call fcn.004b2620
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x401ead
push 0x78
push 0
push ebx
call fcn.004c0d10
add esp, 0xc
mov ecx, ebx
call fcn.00402640
mov ecx, esi
mov ebx, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x50], ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401e90
sub ecx, edx
push ecx
push esi
lea ecx, [ebx + 0x40]
call fcn.004037c0
lea eax, [esp + 0x64]
cmp ebx, eax
je 0x401eef
jmp 0x401ed5
mov ecx, esi
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x50], ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401ec0
sub ecx, edx
push ecx
push esi
mov ecx, 0x40
call fcn.004037c0
cmp dword [esp + 0x78], 0x10
lea eax, [esp + 0x64]
push dword [esp + 0x74]
cmovae eax, dword [esp + 0x68]
mov ecx, ebx
push eax
call fcn.004037c0
xor esi, esi
mov dword [esp + 0x4c], esi
cmp dword [edi + 8], esi
jbe 0x4023d4
lea edx, [esi + 4]
mov eax, dword [edi + 0xc]
xor ecx, ecx
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 4]
mov dword [ebx + 0x20], eax
lea eax, [eax + eax*2]
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.004b26c0
mov dword [ebx + 0x24], eax
mov ecx, dword [ebx + 0x20]
lea ecx, [ecx + ecx*2]
shl ecx, 2
push ecx
mov ecx, dword [edi + 0xc]
mov ecx, dword [ecx + esi*4]
push dword [ecx + 0xc]
push eax
call fcn.004c0790
add esp, 0xc
push dword [ebx + 0x20]
push str.New_mesh_with__d_vertices
push 0
push 0x52
push str.C:Users_soniaOneDriveDocumentosGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceAssimpManager.cpp
call fcn.004b4b40
mov ecx, dword [edi + 0xc]
add esp, 0x14
mov eax, dword [ecx + esi*4]
cmp dword [eax + 0x7c], 0
je 0x402026
mov eax, dword [eax + 8]
test eax, eax
je 0x402026
lea eax, [eax + eax*2]
xor ecx, ecx
mov dword [ebx + 0x18], eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.004b26c0
mov dword [ebx + 0x1c], eax
xor edi, edi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + esi*4]
cmp dword [eax + 8], edi
jbe 0x402006
xor edx, edx
mov dword [esp + 0x18], edx
nop dword [eax + eax]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax + 0x7c]
cmp dword [eax + edi*8], 3
je 0x401fd8
push str.WARNING__geometry_face_with___3_indices_
push 1
push 0x60
push str.C:Users_soniaOneDriveDocumentosGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceAssimpManager.cpp
call fcn.004b4b40
mov edx, dword [esp + 0x28]
add esp, 0x10
jmp 0x401fef
mov eax, dword [eax + edi*8 + 4]
mov ecx, dword [ebx + 0x1c]
movq xmm0, qword [eax]
movq qword [ecx + edx], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + edx + 8], eax
mov eax, dword [esp + 0x14]
inc edi
add edx, 0xc
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + esi*4]
cmp edi, dword [eax + 8]
jb 0x401fb0
push dword [ebx + 0x18]
push str.With__d_indices
push 0
push 0x69
push str.C:Users_soniaOneDriveDocumentosGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceAssimpManager.cpp
call fcn.004b4b40
mov edi, dword [esp + 0x28]
add esp, 0x14
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + esi*4]
cmp dword [eax + 0x10], 0
je 0x402337
mov eax, dword [eax + 4]
test eax, eax
je 0x402337
mov dword [ebx + 0x28], eax
xor ecx, ecx
lea eax, [eax + eax*2]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.004b26c0
mov dword [ebx + 0x2c], eax
mov ecx, dword [ebx + 0x28]
lea ecx, [ecx + ecx*2]
shl ecx, 2
push ecx
mov ecx, dword [edi + 0xc]
mov ecx, dword [ecx + esi*4]
push dword [ecx + 0x10]
push eax
call fcn.004c0790
mov eax, dword [edi + 0xc]
xor ecx, ecx
add esp, 0xc
mov edx, 4
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 8]
lea eax, [eax + eax*2]
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.004b26c0
mov dword [ebx + 0x5c], eax
xor ecx, ecx
mov eax, dword [edi + 0xc]
mov edx, 4
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 8]
lea eax, [eax + eax*2]
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.004b26c0
mov dword [ebx + 0x60], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x44], 0
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 8]
mov dword [ebx + 0x64], eax
cmp dword [ebx + 0x18], 0
jbe 0x402337
mov ecx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x24]
mov edx, dword [ebx + 0x60]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x5c]
lea esi, [ecx + 8]
mov dword [esp + 0x28], edx
sub dword [esp + 0x28], ecx
mov dword [esp + 0x18], eax
sub dword [esp + 0x18], ecx
lea edi, [eax + 4]
mov ecx, edx
mov dword [esp + 0x48], edx
sub ecx, eax
mov dword [esp + 0x60], ecx
mov eax, dword [esi - 8]
mov ebx, dword [esp + 0x24]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x24]
movss xmm0, dword [eax + ecx*4 + 4]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [eax + ecx*4 + 8]
mov eax, dword [esi - 4]
movss dword [esp + 0x3c], xmm0
lea eax, [eax + eax*2]
movss xmm1, dword [ebx + eax*4]
movss xmm2, dword [ebx + eax*4 + 4]
movaps xmm5, xmm1
movss xmm3, dword [ebx + eax*4 + 8]
movaps xmm4, xmm2
mov eax, dword [esi]
subss xmm4, dword [esp + 0x34]
movss dword [esp + 0x58], xmm1
movss dword [esp + 0x30], xmm2
movaps xmm2, xmm3
lea eax, [eax + eax*2]
movss dword [esp + 0x38], xmm3
movss xmm6, dword [ebx + eax*4]
movss xmm7, dword [ebx + eax*4 + 4]
movaps xmm3, xmm6
movss xmm0, dword [ebx + eax*4 + 8]
subss xmm3, xmm1
subss xmm2, dword [esp + 0x3c]
movss dword [esp + 0x2c], xmm0
movaps xmm1, xmm7
subss xmm1, dword [esp + 0x30]
mov eax, ebx
movss dword [esp + 0x5c], xmm7
subss xmm5, dword [eax + ecx*4]
movss dword [esp + 0x1c], xmm1
movaps xmm1, xmm0
subss xmm1, dword [esp + 0x38]
movaps xmm0, xmm1
mulss xmm1, xmm5
mulss xmm0, xmm4
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x1c]
movss xmm7, dword [esp + 0x10]
mulss xmm0, xmm2
subss xmm7, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm2
mulss xmm3, xmm4
subss xmm0, xmm1
movss dword [esp + 0x10], xmm7
movss xmm1, dword [0x51b0c8]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x1c]
mulss xmm0, xmm5
subss xmm0, xmm3
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x58]
addss xmm0, dword [eax + ecx*4]
mov eax, dword [esp + 0x60]
addss xmm0, xmm6
divss xmm0, xmm1
movss dword [edx], xmm0
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [esp + 0x34]
addss xmm0, dword [esp + 0x5c]
divss xmm0, xmm1
movss dword [eax + edi], xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
addss xmm0, dword [esp + 0x2c]
divss xmm0, xmm1
movss xmm1, dword [esp + 0x40]
movss dword [eax + esi], xmm0
movaps xmm0, xmm7
mulss xmm0, xmm7
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [esp + 0x1c]
mulss xmm0, xmm0
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x4022a2
sqrtsd xmm0, xmm0
jmp 0x4022a7
call fcn.004e1ce0
movss xmm2, dword [0x51b010]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm2
comiss xmm1, dword [0x51af44]
jbe 0x4022cc
divss xmm0, xmm1
mulss xmm0, dword [esp + 0x10]
movss dword [edi - 4], xmm0
jbe 0x4022e2
movaps xmm0, xmm2
divss xmm0, xmm1
mulss xmm0, dword [esp + 0x40]
jmp 0x4022e5
xorps xmm0, xmm0
movss dword [edi], xmm0
jbe 0x4022fa
movaps xmm0, xmm2
divss xmm0, xmm1
mulss xmm0, dword [esp + 0x1c]
jmp 0x4022fd
xorps xmm0, xmm0
mov eax, dword [esp + 0x18]
add edi, 0xc
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
add edx, 0xc
movss dword [eax + esi], xmm0
add esi, 0xc
mov eax, dword [esp + 0x44]
add eax, 3
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], eax
cmp eax, dword [ebx + 0x18]
jb 0x402110
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0xc]
mov eax, dword [eax + esi*4]
cmp dword [eax + 0x3c], 0
je 0x4023c1
mov eax, dword [eax + 4]
test eax, eax
je 0x4023c1
mov dword [ebx + 0x38], eax
xor ecx, ecx
mov eax, dword [edi + 0xc]
mov edx, 8
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 4]
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.004b26c0
xor edx, edx
mov dword [ebx + 0x3c], eax
cmp dword [ebx + 0x38], edx
jbe 0x4023c1
mov dword [esp + 0x10], edx
nop dword [eax]
mov eax, dword [edi + 0xc]
mov edi, dword [esp + 0x10]
mov ecx, dword [ebx + 0x3c]
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 0x3c]
mov eax, dword [edi + eax]
mov edi, dword [esp + 0x14]
mov dword [ecx + edx*8], eax
mov ecx, dword [ebx + 0x3c]
mov eax, dword [edi + 0xc]
mov edi, dword [esp + 0x10]
add dword [esp + 0x10], 0xc
mov eax, dword [eax + esi*4]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + edi + 4]
mov edi, dword [esp + 0x14]
mov dword [ecx + edx*8 + 4], eax
inc edx
cmp edx, dword [ebx + 0x38]
jb 0x402380
inc esi
mov edx, 4
mov dword [esp + 0x4c], esi
cmp esi, dword [edi + 8]
jb 0x401f01
mov eax, dword [esp + 0x20]
lea esi, [ebx + 0x68]
lea edi, [ebx + 0x6c]
mov dword [esi], 0
add ebx, 0x70
mov dword [edi], 0
push esi
push 1
mov dword [ebx], 0
mov dword [eax + 0x74], 0
mov eax, dword [sym.imp.glew32.dll___glewGenBuffers]
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 [esp + 0x20]
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___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 [esp + 0x20]
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___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]
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___glewGenBuffers]
lea esi, [edi + 0x74]
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
push 0x88e4
push dword [edi + 0x3c]
mov eax, dword [edi + 0x38]
shl eax, 3
push eax
mov eax, dword [sym.imp.glew32.dll___glewBufferData]
push 0x8892
mov eax, dword [eax]
call eax
mov eax, dword [0x52a2a4]
cmp eax, dword [0x52a2a8]
je 0x402504
mov dword [eax], edi
add dword [0x52a2a4], 4
jmp 0x40250f
lea ecx, [esp + 0x50]
push ecx
push eax
call fcn.00403de0
push 0x1c
call fcn.004b2620
mov esi, eax
add esp, 4
test esi, esi
je 0x402575
mov eax, dword [esp + 0x54]
push 0x78
mov byte [esi + 4], 1
mov dword [esi + 8], 4
mov dword [esi + 0xc], eax
mov dword [esi], vtable.ComponentMesh.0
call fcn.004b2620
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x402567
push 0x78
push 0
push ebx
call fcn.004c0d10
add esp, 0xc
mov ecx, ebx
call fcn.00402640
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0x4f4d18
jmp 0x402577
xor eax, eax
mov dword [esi + 0x14], 0x4f4d18
mov dword [esi + 0x10], eax
jmp 0x402577
xor esi, esi
mov ecx, dword [esp + 0x54]
add ecx, 8
mov dword [esi + 8], 1
mov dword [esp + 0x2c], esi
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x402599
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x4025a4
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.004018c0
push 0
push 0x52923c
push 0x529258
push 0
push esi
call fcn.004dffd2
mov edx, dword [esp + 0x8c]
add esp, 0x14
mov dword [eax + 0x10], edi
cmp edx, 0x10
jb 0x40261f
mov ecx, dword [esp + 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4025e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402631
push edx
push ecx
call fcn.004bf0a3
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004bee44
mov esp, ebp
pop ebp
ret
push esi
push str.Error_loading_scene___s
push 2
push 0xb7
push str.C:Users_soniaOneDriveDocumentosGitHubEngine_BonesEngine_Bones_v.1Engine_BonesSourceAssimpManager.cpp
call fcn.004b4b40
add esp, 0x14
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bee44
mov esp, ebp
pop ebp
ret
call fcn.004c27ef
int3