Function at 0x10006200
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
mov eax, dword [0x100b6004]
xor eax, esp
mov dword [esp + 0x420], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x18], eax
push ebx
push esi
mov esi, edx
push edi
mov edi, ecx
mov dword [esp + 0x18], edi
test eax, eax
je 0x10006236
mov dword [eax], 0
mov eax, dword [esi + 4]
cmp eax, 6
je 0x10006265
push 6
push eax
push edi
push str.1Error:_7_s_has_wrong_version_number___i_should_be__i__n
call dword [0x11a5f368]
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.10048715
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x3c], 0
jle 0x1000682c
cmp dword [esi + 0x40], 0
jle 0x1000682c
cmp dword [esi + 0x44], 0
jle 0x1000682c
push edi
push str.2_s7
lea eax, [esp + 0x30]
push 0x400
push eax
call fcn.10042730
push 0x283
lea eax, [esp + 0x3c]
push 0x100a68e0
push eax
call dword [0x11a5f414]
mov dword [edi + 0x4c], eax
mov ecx, dword [esi + 0x44]
push 0x289
push 0x100a68e0
push 1
lea ecx, [ecx + ecx*8]
lea ecx, [ecx*4 + 0x584]
push ecx
push eax
call dword [0x11a5f41c]
mov ecx, dword [esi + 0x4c]
mov edx, eax
mov dword [edi + 0x50], ecx
add esp, 0x30
mov ecx, dword [esi + 0x20]
mov dword [0x100bb0ec], edx
mov dword [edx + 0x20], ecx
mov ecx, dword [esi + 0x30]
mov dword [edx + 0x30], ecx
mov ecx, dword [esi + 0x34]
mov dword [edx + 0x34], ecx
mov eax, dword [esi + 0x38]
mov dword [edx + 0x38], eax
mov ecx, dword [esi + 0x3c]
mov dword [edx + 0x3c], ecx
mov eax, dword [esi + 0x40]
mov dword [edx + 0x40], eax
mov ebx, dword [esi + 0x44]
mov dword [edx + 0x44], ebx
cmp ecx, 0x800
jle 0x10006338
push edi
push str.1Error:_7model__s_has_too_many_vertices_n
call dword [0x11a5f368]
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.10048715
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x50]
mov dword [edx + 0x50], eax
mov dword [edi + 0x48], ebx
mov eax, dword [esi + 8]
mov dword [edx + 8], eax
mov eax, dword [esi + 0x14]
mov dword [edx + 0x14], eax
mov eax, dword [esi + 0x24]
mov dword [edx + 0x24], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0x18]
mov dword [edx + 0x18], eax
mov eax, dword [esi + 0x28]
mov dword [edx + 0x28], eax
mov eax, dword [esi + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [esi + 0x1c]
mov dword [edx + 0x1c], eax
mov eax, dword [esi + 0x2c]
add esi, 0x54
mov dword [edx + 0x2c], eax
mov eax, dword [edx + 0x30]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
cmp eax, 1
jl 0x1000638f
cmp eax, 0x20
jle 0x100063a4
push eax
push str.Mod_LoadAliasModel:_Invalid__of_skins:__d_n
call dword [0x11a5f3dc]
mov edx, dword [0x100bb0ec]
add esp, 8
mov eax, dword [edx + 0x38]
xor ebx, ebx
imul eax, dword [edx + 0x34]
mov dword [esp + 0x14], eax
cmp dword [esp + 0xc], ebx
jle 0x100063e8
cmp dword [esi], 0
mov edx, esi
push eax
mov ecx, edi
push ebx
jne 0x100063c9
call fcn.100058f0
jmp 0x100063ce
call fcn.10005c50
inc ebx
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x14]
cmp ebx, dword [esp + 0xc]
jl 0x100063b7
mov edx, dword [0x100bb0ec]
mov dword [esp + 0x10], esi
mov eax, dword [edx + 0x3c]
test eax, eax
jle 0x1000642f
mov eax, 0x100d3e90
lea ecx, [esi + 8]
sub eax, esi
mov ebx, 0x100d3e94
mov dword [esp + 0x14], eax
xor edi, edi
mov esi, eax
mov eax, dword [ecx - 8]
lea ebx, [ebx + 0xc]
mov dword [ebx - 0x10], eax
lea ecx, [ecx + 0xc]
mov eax, dword [ecx - 0x10]
inc edi
mov dword [ebx - 0xc], eax
mov eax, dword [ecx - 0xc]
mov dword [esi + ecx - 0xc], eax
mov eax, dword [edx + 0x3c]
cmp edi, eax
jl 0x10006406
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
lea eax, [eax + eax*2]
lea eax, [esi + eax*4]
mov esi, dword [edx + 0x40]
mov dword [esp + 0x1c], eax
test esi, esi
jle 0x100064b6
mov edi, 0x100d9e94
lea ebx, [eax + 0xc]
sub edi, eax
mov esi, 0x100d9e90
mov dword [esp + 0xc], edi
sub esi, eax
mov edi, 0x100d9e98
mov dword [esp + 0x14], esi
sub edi, eax
mov ecx, eax
mov dword [esp + 0x10], edi
mov edi, 0x100d9e9c
sub edi, eax
mov dword [esp + 0x20], edi
xor edi, edi
jmp 0x10006479
mov esi, dword [esp + 0x14]
mov eax, dword [ecx]
lea ecx, [ecx + 0x10]
mov dword [esi + ecx - 0x10], eax
lea ebx, [ebx + 0x10]
mov esi, dword [esp + 0xc]
inc edi
mov eax, dword [ecx - 0xc]
mov dword [esi + ecx - 0x10], eax
mov esi, dword [esp + 0x10]
mov eax, dword [ebx - 0x14]
mov dword [esi + ecx - 0x10], eax
mov esi, dword [esp + 0x20]
mov eax, dword [ebx - 0x10]
mov dword [esi + ecx - 0x10], eax
mov esi, dword [edx + 0x40]
cmp edi, esi
jl 0x10006475
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
shl esi, 4
xor ebx, ebx
add esi, eax
mov dword [0x11a5f928], ebx
mov dword [esp + 0xc], ebx
cmp dword [edx + 0x44], ebx
jle 0x10006617
lea edi, [edx + 0x598]
cmp dword [esi], 0
jne 0x1000658b
lea eax, [esi + 0xc]
test edi, edi
je 0x1000653b
test eax, eax
je 0x1000653b
mov ecx, eax
lea eax, [ecx + 1]
mov dword [esp + 0x1c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100064f3
sub ecx, dword [esp + 0x1c]
inc ecx
cmp ecx, 0x10
jbe 0x10006527
movq xmm0, qword [esi + 0xc]
movq qword [edi], xmm0
mov eax, dword [esi + 0x14]
mov dword [edi + 8], eax
mov ax, word [esi + 0x18]
mov word [edi + 0xc], ax
mov al, byte [esi + 0x1a]
mov byte [edi + 0xe], al
mov byte [edi + 0xf], 0
jmp 0x1000653b
push ecx
lea ecx, [esi + 0xc]
push ecx
push edi
call fcn.10051eb0
mov edx, dword [0x100bb0ec]
add esp, 0xc
mov dword [edi - 0x14], ebx
lea ecx, [esi + 0x1c]
mov dword [edi - 0x10], 1
movzx eax, byte [esi + 4]
mov byte [edi - 0xc], al
movzx eax, byte [esi + 8]
mov byte [edi - 8], al
movzx eax, byte [esi + 5]
mov byte [edi - 0xb], al
movzx eax, byte [esi + 9]
mov byte [edi - 7], al
movzx eax, byte [esi + 6]
mov byte [edi - 0xa], al
movzx eax, byte [esi + 0xa]
mov byte [edi - 6], al
mov eax, dword [edx + 0x3c]
mov dword [ebx*4 + 0x100cba90], ecx
inc ebx
mov dword [0x11a5f928], ebx
lea esi, [ecx + eax*4]
jmp 0x100065fe
mov edx, dword [esi + 4]
lea ecx, [esi + 0x10]
mov dword [edi - 0x14], ebx
mov dword [edi - 0x10], edx
movzx eax, byte [esi + 8]
mov byte [edi - 0xc], al
movzx eax, byte [esi + 0xc]
mov byte [edi - 8], al
movzx eax, byte [esi + 9]
mov byte [edi - 0xb], al
movzx eax, byte [esi + 0xd]
mov byte [edi - 7], al
movzx eax, byte [esi + 0xa]
mov byte [edi - 0xa], al
movzx eax, byte [esi + 0xe]
lea esi, [ecx + edx*4]
mov byte [edi - 6], al
mov eax, dword [ecx]
mov dword [edi - 4], eax
test edx, edx
jle 0x100065f8
mov ecx, dword [0x100bb0ec]
mov eax, dword [ecx + 0x3c]
lea ecx, [eax*4 + 0x18]
nop dword [eax]
lea eax, [esi + 0x18]
add esi, ecx
mov dword [ebx*4 + 0x100cba90], eax
inc ebx
sub edx, 1
jne 0x100065e0
mov dword [0x11a5f928], ebx
mov edx, dword [0x100bb0ec]
mov eax, dword [esp + 0xc]
add edi, 0x24
inc eax
mov dword [esp + 0xc], eax
cmp eax, dword [edx + 0x44]
jl 0x100064d6
mov edi, dword [esp + 0x18]
mov dword [edx + 0x74], ebx
xorps xmm4, xmm4
xor ebx, ebx
mov dword [edi + 0x5c], 0x497423f0
mov dword [edi + 0x58], 0x497423f0
mov dword [edi + 0x54], 0x497423f0
mov dword [edi + 0x68], 0xc97423f0
mov dword [edi + 0x64], 0xc97423f0
mov dword [edi + 0x60], 0xc97423f0
cmp dword [edx + 0x74], ebx
jle 0x10006722
xor esi, esi
cmp dword [edx + 0x3c], esi
jle 0x10006718
mov ecx, dword [ebx*4 + 0x100cba90]
movzx eax, byte [ecx]
xorps xmm3, xmm3
movss xmm0, dword [edi + 0x54]
xorps xmm1, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm3, eax
movzx eax, byte [ecx + 1]
cvtsi2ss xmm1, eax
movzx eax, byte [ecx + 2]
mulss xmm3, dword [edx + 8]
mulss xmm1, dword [edx + 0xc]
addss xmm3, dword [edx + 0x14]
cvtsi2ss xmm2, eax
comiss xmm0, xmm3
mulss xmm2, dword [edx + 0x10]
addss xmm1, dword [edx + 0x18]
addss xmm2, dword [edx + 0x1c]
jbe 0x100066b1
movss dword [edi + 0x54], xmm3
comiss xmm3, dword [edi + 0x60]
jbe 0x100066bc
movss dword [edi + 0x60], xmm3
movss xmm0, dword [edi + 0x58]
comiss xmm0, xmm1
jbe 0x100066cb
movss dword [edi + 0x58], xmm1
comiss xmm1, dword [edi + 0x64]
jbe 0x100066d6
movss dword [edi + 0x64], xmm1
movss xmm0, dword [edi + 0x5c]
comiss xmm0, xmm2
jbe 0x100066e5
movss dword [edi + 0x5c], xmm2
comiss xmm2, dword [edi + 0x68]
jbe 0x100066f0
movss dword [edi + 0x68], xmm2
mulss xmm1, xmm1
inc esi
add ecx, 4
mulss xmm3, xmm3
mulss xmm2, xmm2
addss xmm1, xmm3
addss xmm1, xmm2
maxss xmm1, xmm4
movaps xmm4, xmm1
cmp esi, dword [edx + 0x3c]
jl 0x10006664
inc ebx
cmp ebx, dword [edx + 0x74]
jl 0x10006652
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtss2sd xmm0, xmm4
ucomisd xmm1, xmm0
ja 0x10006738
sqrtsd xmm0, xmm0
jmp 0x1000673d
call fcn.10098f60
cvtsd2ss xmm0, xmm0
mov dword [edi + 0x44], 2
movss dword [edi + 0x6c], xmm0
call fcn.10004fb0
mov ecx, dword [0x100bb0ec]
mov eax, dword [0x100bb864]
push 0x13e
push 0x100a68e0
mov dword [ecx + 0x78], eax
mov eax, dword [0x100bb88c]
push 0
shl eax, 2
push eax
push dword [edi + 0x4c]
call dword [0x11a5f41c]
mov ecx, dword [0x100bb88c]
mov esi, dword [0x100bb0ec]
shl ecx, 2
push ecx
push 0x100cbe90
push eax
mov dword [esi + 0x80], eax
call fcn.10051eb0
mov eax, dword [esi + 0x78]
imul eax, dword [esi + 0x74]
push 0x141
push 0x100a68e0
push 0
shl eax, 2
push eax
push dword [edi + 0x4c]
call dword [0x11a5f41c]
mov ebx, dword [0x100bb0ec]
mov edx, eax
xor eax, eax
add esp, 0x34
mov dword [esp + 0xc], eax
mov dword [ebx + 0x7c], edx
cmp dword [ebx + 0x74], eax
jle 0x10006818
mov esi, dword [0x100bb864]
nop
xor ecx, ecx
test esi, esi
jle 0x1000680e
mov ebx, dword [eax*4 + 0x100cba90]
nop dword [eax]
mov eax, dword [ecx*4 + 0x100c3a90]
inc ecx
mov eax, dword [ebx + eax*4]
mov dword [edx], eax
add edx, 4
cmp ecx, esi
jl 0x100067f0
mov eax, dword [esp + 0xc]
mov ebx, dword [0x100bb0ec]
inc eax
mov dword [esp + 0xc], eax
cmp eax, dword [ebx + 0x74]
jl 0x100067e0
mov eax, dword [esp + 0x24]
mov dword [edi + 0x184], ebx
test eax, eax
je 0x1000682c
mov dword [eax], 1
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10048715
mov esp, ebp
pop ebp
ret