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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10e25fb0
push eax
mov eax, dword [0x10fceeec]
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
xor ebx, ebx
cmp eax, ebx
push esi
push edi
jne 0x10b7d113
cmp dword [0x10fceef0], ebx
mov dword [esp + 0x1c], ebx
je 0x10b7d11b
mov dword [esp + 0x1c], 1
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov ebp, dword [esp + 0x80]
mov eax, dword [ebp + 0xd4]
push eax
push 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x80], ebx
call fcn.10923200
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov eax, dword [ebp + 0x10c]
push eax
push 4
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 1
call fcn.10923200
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov eax, dword [ebp + 0xf0]
xor ecx, ecx
xor edx, edx
cmp eax, ebx
mov byte [esp + 0x78], 3
mov dword [esp + 0x80], ebx
mov dword [esp + 0x18], ecx
jle 0x10b7d340
jmp 0x10b7d1b0
shl ecx, 3
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 3
nop
mov eax, dword [ebp + 0xec]
movzx ebx, word [ecx + eax]
mov eax, dword [esp + 0x4c]
cmp dword [eax + ebx*4], 0
jne 0x10b7d301
inc edx
mov dword [eax + ebx*4], edx
mov ecx, dword [ebp + 0xd0]
mov eax, dword [esp + 0x40]
lea edi, [ebx + ebx*2]
shl edi, 2
movzx esi, word [edi + ecx]
cmp dword [eax + esi*4], 0
mov dword [esp + 0x24], edx
jne 0x10b7d28c
mov ecx, dword [esp + 0x80]
inc ecx
mov dword [eax + esi*4], ecx
mov eax, dword [ebp + 0x108]
mov dword [esp + 0x80], ecx
lea edx, [esi + esi*2]
lea ecx, [eax + edx*4]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x5c], eax
mov eax, ecx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x30]
inc ecx
cmp ecx, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], ecx
jle 0x10b7d26a
lea eax, [ecx + ecx*2]
cdq
and edx, 7
add eax, edx
sar eax, 3
lea edx, [eax + ecx + 0x20]
push 0xc
lea ecx, [esp + 0x2c]
mov dword [esp + 0x34], edx
call fcn.109b8e40
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
lea eax, [eax + eax*2]
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [edx], eax
mov eax, dword [esp + 0x60]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [ebp + 0xd0]
mov edx, dword [edi + ecx + 4]
mov ecx, dword [edi + ecx + 8]
mov si, word [eax + esi*4]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x38]
dec si
mov edi, ecx
inc ecx
cmp ecx, eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x38], ecx
jle 0x10b7d2da
lea eax, [ecx + ecx*2]
cdq
and edx, 7
add eax, edx
sar eax, 3
lea edx, [eax + ecx + 0x20]
push 0xc
lea ecx, [esp + 0x38]
mov dword [esp + 0x40], edx
call fcn.109b8e40
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x68]
lea eax, [edi + edi*2]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x10]
mov word [eax], si
mov eax, dword [esp + 0x4c]
mov ax, word [eax + ebx*4]
mov esi, dword [ebp + 0xec]
dec ax
mov word [ecx + esi], ax
mov eax, dword [esp + 0x14]
add ecx, 2
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jne 0x10b7d1c0
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0xf0]
inc ecx
cmp ecx, eax
mov dword [esp + 0x18], ecx
jl 0x10b7d1b0
xor ebx, ebx
lea edi, [ebp + 0xd0]
push 0xc
mov ecx, edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
call fcn.109b8e40
cmp dword [esp + 0x38], ebx
mov dword [esp + 0x18], ebx
jle 0x10b7d3f9
mov dword [esp + 0x80], ebx
lea ebx, [ebx]
lea esi, [ebp + 0xc0]
neg esi
sbb esi, esi
and esi, edi
mov ebx, dword [esi + 4]
mov eax, dword [esi + 8]
lea ecx, [ebx + 1]
cmp ecx, eax
mov dword [esi + 4], ecx
jle 0x10b7d3a8
lea eax, [ecx + ecx*2]
cdq
and edx, 7
add eax, edx
sar eax, 3
lea ecx, [eax + ecx + 0x20]
mov dword [esi + 8], ecx
push 0xc
mov ecx, esi
call fcn.109b8e40
mov eax, dword [esi]
lea edx, [ebx + ebx*2]
lea eax, [eax + edx*4]
test eax, eax
je 0x10b7d3d1
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x80]
add edx, ecx
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x38]
inc eax
add edx, 0xc
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x80], edx
jl 0x10b7d370
xor ebx, ebx
lea edi, [ebp + 0x108]
push 0xc
mov ecx, edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
call fcn.109b8e40
cmp dword [esp + 0x2c], ebx
mov dword [esp + 0x18], ebx
jle 0x10b7d4ac
mov dword [esp + 0x80], ebx
lea esi, [ebp + 0xf8]
neg esi
sbb esi, esi
and esi, edi
mov ebx, dword [esi + 4]
mov eax, dword [esi + 8]
lea ecx, [ebx + 1]
cmp ecx, eax
mov dword [esi + 4], ecx
jle 0x10b7d45b
lea eax, [ecx + ecx*2]
cdq
and edx, 7
add eax, edx
sar eax, 3
lea eax, [eax + ecx + 0x20]
push 0xc
mov ecx, esi
mov dword [esi + 8], eax
call fcn.109b8e40
mov edx, dword [esi]
lea ecx, [ebx + ebx*2]
lea eax, [edx + ecx*4]
test eax, eax
je 0x10b7d484
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x80]
add edx, ecx
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov edx, dword [edx + 8]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x2c]
inc eax
add edx, 0xc
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x80], edx
jl 0x10b7d423
xor ebx, ebx
mov ecx, dword [ebp + 0xb8]
xor eax, eax
cmp ecx, ebx
jle 0x10b7d4e7
jmp 0x10b7d4c0
mov ecx, dword [ebp + 0xb4]
movzx edx, word [ecx + eax*8 + 4]
mov esi, dword [esp + 0x40]
mov dx, word [esi + edx*4]
lea ecx, [ecx + eax*8 + 4]
dec dx
mov word [ecx], dx
mov ecx, dword [ebp + 0xb8]
inc eax
cmp eax, ecx
jl 0x10b7d4c0
mov eax, dword [ebp + 0xb8]
push 0x10b7b040
push 8
push eax
mov eax, dword [ebp + 0xb4]
lea esi, [ebp + 0xb4]
push eax
call fcn.109b8c70
mov ecx, dword [ebp + 0xb8]
add esp, 0x10
or eax, 0xffffffff
xor edx, edx
test ecx, ecx
jle 0x10b7d555
lea esp, [esp]
mov ecx, dword [esi]
lea edi, [ecx + edx*8]
movzx ecx, word [edi + 4]
cmp eax, ecx
je 0x10b7d52f
xor ebx, ebx
mov eax, ecx
mov ecx, dword [ebp + 0x120]
inc ebx
cmp ebx, ecx
jg 0x10b7d544
cmp eax, dword [ebp + 0x10c]
jl 0x10b7d54a
mov dword [edi], 0
mov ecx, dword [ebp + 0xb8]
inc edx
cmp edx, ecx
jl 0x10b7d520
mov ebx, dword [ebp + 0xb8]
xor edi, edi
dec ebx
js 0x10b7d601
lea edx, [ebx + 1]
mov dword [esp + 0x80], edx
mov edi, edi
mov eax, dword [esi]
fld dword [eax + ebx*8]
fcomp dword [0x10e601d4]
fnstsw ax
test ah, 5
jp 0x10b7d5e9
test ebx, ebx
jge 0x10b7d59d
push 0x248
push str.d:kingsoft_svn_foxprogram_branchescambodia_tftenginecoreincUnTemplate.h
push str.Index_0
call fcn.109bb190
add esp, 0xc
cmp ebx, dword [esi + 4]
jle 0x10b7d5b9
push 0x249
push str.d:kingsoft_svn_foxprogram_branchescambodia_tftenginecoreincUnTemplate.h
push str.Index_ArrayNum
call fcn.109bb190
add esp, 0xc
mov ecx, dword [esp + 0x80]
cmp ecx, dword [esi + 4]
jle 0x10b7d5dc
push 0x24a
push str.d:kingsoft_svn_foxprogram_branchescambodia_tftenginecoreincUnTemplate.h
push str.IndexCount_ArrayNum
call fcn.109bb190
add esp, 0xc
push 8
push 1
push ebx
mov ecx, esi
call fcn.109b8e70
inc edi
mov ecx, dword [esp + 0x80]
dec ebx
dec ecx
test ebx, ebx
mov dword [esp + 0x80], ecx
jge 0x10b7d570
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10b7d63c
mov edx, dword [ebp + 0x120]
mov eax, dword [0x10f43370]
push edx
push edi
push str.Redundant_influences_removed_for_LOD_:__i__Influences_per_vertex_limit:__i
push eax
call fcn.109baf50
mov eax, dword [ebp + 0xb8]
mov ecx, dword [0x10f43370]
push eax
push str.Recalibrate__i_weights....
push ecx
call fcn.109baf50
add esp, 0x1c
mov eax, dword [ebp + 0xb8]
fld dword [0x10e4500c]
xor ebx, ebx
or ecx, 0xffffffff
xor edi, edi
test eax, eax
jle 0x10b7d763
mov edx, dword [esi]
lea eax, [edx + edi*8]
movzx edx, word [eax + 4]
cmp ecx, edx
je 0x10b7d751
xor ecx, ecx
cmp ebx, ecx
mov dword [esp + 0x20], ecx
je 0x10b7d73b
fld dword [0x10e45008]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x10b7d73b
cmp ebx, 4
fld dword [0x10e45008]
fdiv st(1)
fstp dword [esp + 0x80]
fstp st(0)
jl 0x10b7d70e
lea edx, [ebx - 4]
shr edx, 2
inc edx
lea ecx, [edx*4]
lea eax, [edi*8 - 0x18]
mov dword [esp + 0x24], ecx
lea ebx, [ebx]
mov ecx, dword [esi]
fld dword [esp + 0x80]
fmul dword [eax + ecx + 0x10]
lea ecx, [eax + ecx + 0x10]
fstp dword [ecx]
mov ecx, dword [esi]
fld dword [esp + 0x80]
lea ecx, [eax + ecx + 8]
fmul dword [ecx]
fstp dword [ecx]
mov ecx, dword [esi]
fld dword [esp + 0x80]
add ecx, eax
fmul dword [ecx]
fstp dword [ecx]
mov ecx, dword [esi]
fld dword [esp + 0x80]
lea ecx, [eax + ecx - 8]
fmul dword [ecx]
sub eax, 0x20
dec edx
fstp dword [ecx]
jne 0x10b7d6c0
mov ecx, dword [esp + 0x24]
cmp ecx, ebx
jge 0x10b7d73d
mov eax, edi
sub eax, ecx
shl eax, 3
sub ebx, ecx
jmp 0x10b7d720
mov edx, dword [esi]
fld dword [esp + 0x80]
fmul dword [eax + edx - 8]
lea ecx, [eax + edx - 8]
sub eax, 8
dec ebx
fstp dword [ecx]
jne 0x10b7d720
jmp 0x10b7d73d
fstp st(0)
mov eax, dword [esi]
fld dword [0x10e4500c]
movzx ecx, word [eax + edi*8 + 4]
mov ebx, dword [esp + 0x20]
lea eax, [eax + edi*8]
fadd dword [eax]
mov eax, dword [ebp + 0xb8]
inc ebx
inc edi
cmp edi, eax
jl 0x10b7d657
lea ecx, [esp + 0x28]
fstp st(0)
mov byte [esp + 0x78], 2
call fcn.10921a10
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], 1
call fcn.10996060
lea ecx, [esp + 0x40]
mov byte [esp + 0x78], 0
call fcn.109217b0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x78], 0xffffffff
call fcn.109217b0
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret