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

Disassembly:
push 0xffffffffffffffff
push 0x10e112d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
xor esi, esi
xor edi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], esi
xor ebp, ebp
mov dword [esp + 0x5c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], esi
mov ebx, dword [esp + 0x64]
mov eax, dword [ebx + 4]
cmp eax, esi
jg 0x109b359d
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 0
call fcn.1093de70
lea ecx, [esp + 0x18]
mov dword [esp + 0x5c], 0xffffffff
call fcn.1093de70
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
xor ecx, ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
cmp eax, esi
mov byte [esp + 0x5c], 3
mov dword [esp + 0x14], esi
jle 0x109b3728
xor ebp, ebp
jmp 0x109b35d0
mov ecx, dword [esp + 0x34]
mov eax, dword [ebx]
mov edx, dword [eax + ebp + 0xfc]
add eax, ebp
cmp esi, ecx
mov dword [esp + 0x48], edx
mov edx, dword [0x10f41b88]
mov dword [esp + 0x4c], edx
jge 0x109b3622
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x10]
cmp dword [edi], edx
jne 0x109b3610
mov edx, dword [eax + 0x100]
mov edi, dword [esp + 0x3c]
cmp edx, dword [edi + esi*4]
je 0x109b3620
mov edi, dword [esp + 0x10]
inc esi
add edi, 0xc
cmp esi, ecx
mov dword [esp + 0x10], edi
jl 0x109b35f5
cmp esi, ecx
jne 0x109b36c1
mov eax, dword [esp + 0x38]
mov edi, ecx
inc ecx
cmp ecx, eax
mov dword [esp + 0x34], ecx
jle 0x109b3656
lea eax, [ecx + ecx*2]
cdq
and edx, 7
add eax, edx
sar eax, 3
lea eax, [eax + ecx + 0x20]
push 0xc
lea ecx, [esp + 0x34]
mov dword [esp + 0x3c], eax
call fcn.109b8e40
mov edx, dword [esp + 0x30]
lea ecx, [edi + edi*2]
lea eax, [edx + ecx*4]
mov edx, dword [esp + 0x48]
mov ecx, eax
mov eax, dword [esp + 0x4c]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov eax, 1
mov dword [ecx + 8], eax
mov ecx, dword [ebx]
mov eax, dword [esp + 0x44]
lea edi, [ecx + ebp + 0x100]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
inc ecx
cmp ecx, eax
mov dword [esp + 0x40], ecx
jle 0x109b36b4
lea eax, [ecx + ecx*2]
cdq
and edx, 7
add eax, edx
sar eax, 3
lea edx, [eax + ecx + 0x20]
push 4
lea ecx, [esp + 0x40]
mov dword [esp + 0x48], edx
call fcn.109b8e40
mov eax, dword [edi]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
mov dword [ecx + edx*4], eax
mov eax, dword [ebx]
mov dword [eax + ebp + 0xf0], esi
mov ecx, dword [ebx]
mov eax, dword [ecx + ebp + 0xf8]
test eax, eax
jl 0x109b36dc
cmp eax, 8
jle 0x109b3704
mov edx, dword [0x110a36dc]
mov eax, dword [esp + 0x84]
mov ecx, dword [edx + eax*4]
mov edx, dword [0x10f43374]
add ecx, 0xc
push ecx
push str.Triangles_i_.NumUVs_invalid_for__s_
push edx
call fcn.109baf50
add esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 4]
inc eax
add ebp, 0x104
xor esi, esi
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x109b35cc
mov edi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x28]
cmp dword [ebx + 4], esi
mov dword [esp + 0x14], esi
jle 0x109b3823
mov dword [esp + 0x10], esi
jmp 0x109b3740
mov ebp, dword [esp + 0x28]
nop
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + edx*4]
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx]
test byte [edx + eax*4], 0x20
je 0x109b37a7
mov eax, dword [esp + 0x20]
inc edi
cmp edi, eax
mov dword [esp + 0x1c], edi
jle 0x109b378c
lea eax, [edi + edi*2]
cdq
and edx, 7
add eax, edx
sar eax, 3
lea eax, [eax + edi + 0x20]
push 0x104
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], eax
call fcn.109b8e40
mov edi, dword [esp + 0x1c]
mov esi, dword [ebx]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add esi, eax
imul edi, edi, 0x104
lea edi, [edi + ecx - 0x104]
jmp 0x109b37f4
mov eax, dword [esp + 0x2c]
inc ebp
cmp ebp, eax
mov dword [esp + 0x28], ebp
jle 0x109b37db
lea eax, [ebp + ebp*2]
cdq
and edx, 7
add eax, edx
sar eax, 3
lea edx, [eax + ebp + 0x20]
push 0x104
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], edx
call fcn.109b8e40
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov esi, dword [ebx]
add esi, eax
imul ebp, ebp, 0x104
mov eax, dword [esp + 0x24]
lea edi, [eax + ebp - 0x104]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, 0x41
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 4]
mov edi, dword [esp + 0x1c]
inc eax
add edx, 0x104
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x109b373b
xor esi, esi
cmp edi, esi
jle 0x109b383c
mov ecx, dword [0x10f43370]
push edi
push str.Collision_Triangle_Count:__d
push ecx
call fcn.109baf50
add esp, 0xc
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
push edx
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.1093d080
mov ebp, eax
mov eax, dword [esp + 0x2c]
add esp, 0x10
test eax, eax
mov dword [esp + 0x14], ebp
je 0x109b3a59
mov eax, dword [0x10fab8e8]
test eax, eax
je 0x109b3a59
mov eax, dword [0x110b8f14]
mov edi, dword [ebp + 0x1c]
xor esi, esi
test eax, eax
jne 0x109b38a2
push 0x10e44b40
call fcn.10a31910
add esp, 4
mov dword [0x110b8f14], eax
call fcn.10a29ef0
mov eax, dword [0x10f43374]
mov ecx, dword [0x110b8f14]
push 0
push 0
push eax
push 0
push 0
push esi
push edi
push ecx
call fcn.109cd3a0
add esp, 0x20
test eax, eax
je 0x109b38d2
push 1
push 0
mov ecx, eax
call fcn.10a30100
jmp 0x109b38d4
xor eax, eax
mov dword [ebp + 0x108], eax
mov eax, dword [esp + 0x1c]
xor ebx, ebx
test eax, eax
jle 0x109b39f5
xor ebp, ebp
lea ebx, [ebx]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x108]
mov edi, dword [eax + 0x58]
mov esi, dword [edi + 0x30]
mov eax, dword [edi + 0x34]
add edi, 0x2c
lea ecx, [esi + 1]
cmp ecx, eax
mov dword [edi + 4], ecx
jle 0x109b392f
lea eax, [ecx + ecx*2]
cdq
and edx, 7
add eax, edx
sar eax, 3
lea ecx, [eax + ecx + 0x20]
mov dword [edi + 8], ecx
push 0x148
mov ecx, edi
call fcn.109b8e40
mov ecx, dword [0x10fcccb4]
test ecx, ecx
je 0x109b3957
mov eax, dword [edi + 0xc]
mov edx, dword [ecx]
push 0x109210b0
push 0x109210a0
push 0x148
push 1
push 1
push esi
push edi
push eax
call dword [edx + 4]
mov ecx, dword [edi]
imul esi, esi, 0x148
add esi, ecx
mov ecx, esi
call fcn.10a101b0
mov ecx, dword [esp + 0x18]
lea edx, [ecx + ebp]
mov ecx, dword [edx]
lea eax, [esi + 0x30]
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]
lea ecx, [eax + ebp + 0x18]
mov eax, dword [ecx]
lea edx, [esi + 0x3c]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
mov edx, dword [esp + 0x18]
lea eax, [edx + ebp + 0xc]
mov edx, dword [eax]
lea ecx, [esi + 0x48]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
push 1
mov ecx, esi
mov dword [esi + 0x104], 0xffffffff
mov dword [esi + 0x100], 3
call fcn.10a112d0
push 0
mov ecx, esi
call fcn.10a11bc0
mov eax, dword [esp + 0x1c]
inc ebx
add ebp, 0x104
cmp ebx, eax
jl 0x109b38f0
mov ebp, dword [esp + 0x14]
mov ecx, dword [ebp + 0x108]
call fcn.10a2c780
mov ecx, dword [0x10fab8e8]
mov eax, dword [ebp + 0x108]
mov edx, dword [ecx]
push 0
push 1
push 0x46
push 0xf
push 1
push eax
call dword [edx + 0x1c4]
mov ecx, dword [0x10fab8e8]
mov eax, dword [ebp + 0x108]
mov edx, dword [ecx]
push 1
push eax
call dword [edx + 0x1c8]
mov ecx, dword [0x10fab8e8]
mov eax, dword [ebp + 0x108]
mov edx, dword [ecx]
push eax
call dword [edx + 0x1d0]
mov ebx, dword [esp + 0x64]
mov dword [ebp + 0x128], 1
mov edi, dword [esp + 0x78]
push edi
lea ecx, [ebp + 0x154]
call fcn.109b2190
mov eax, dword [edi + 4]
xor esi, esi
test eax, eax
jle 0x109b3aae
mov ecx, dword [edi]
fld dword [ecx + esi*4]
mov edx, dword [0x110a36dc]
mov eax, dword [esp + 0x84]
mov ecx, dword [edx + eax*4]
mov edx, dword [0x10f43370]
sub esp, 8
fstp qword [esp]
push esi
add ecx, 0xc
push ecx
push str.Mesh__s_smoothing__d____f
push edx
call fcn.109baf50
mov eax, dword [edi + 4]
add esp, 0x18
inc esi
cmp esi, eax
jl 0x109b3a72
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x20]
push 0
push 0
push 0
mov ecx, ebp
call fcn.10b6a0f0
mov esi, dword [esp + 0x88]
test esi, esi
je 0x109b3c40
mov eax, dword [esp + 0x90]
xor edi, edi
test eax, eax
mov ecx, esi
je 0x109b3b85
call fcn.10921730
fld dword [esp + 0xa4]
fadd dword [eax + 0x150]
push edi
fld dword [esp + 0xa4]
push edi
fadd dword [eax + 0x14c]
add eax, 0x148
fld dword [esp + 0xa4]
push edi
fadd dword [eax]
push edi
push edi
push edi
sub esp, 0xc
fstp dword [esp + 0x6c]
xor eax, eax
mov ecx, esp
fstp dword [esp + 0x70]
mov dword [ecx], edi
mov dword [ecx + 4], eax
fstp dword [esp + 0x74]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x80]
mov dword [edx + 4], ecx
push ecx
mov dword [edx + 8], eax
mov eax, esp
mov dword [eax], edi
mov eax, dword [0x110b962c]
test eax, eax
mov dword [esp + 0x98], esp
jne 0x109b3b7b
push 0x10e44b40
call fcn.10a9e0f0
add esp, 4
mov dword [0x110b962c], eax
call fcn.10a9dd90
mov eax, dword [0x110b962c]
jmp 0x109b3c0c
call fcn.10921730
fld dword [esp + 0xa4]
fadd dword [eax + 0x150]
push 0
fld dword [esp + 0xa4]
push 0
fadd dword [eax + 0x14c]
add eax, 0x148
fld dword [esp + 0xa4]
push 0
fadd dword [eax]
push 0
push 0
push 0
sub esp, 0xc
fstp dword [esp + 0x6c]
xor eax, eax
mov ecx, esp
fstp dword [esp + 0x70]
mov dword [ecx], edi
mov dword [ecx + 4], eax
fstp dword [esp + 0x74]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x80]
mov dword [edx + 4], ecx
push ecx
mov dword [edx + 8], eax
mov eax, esp
mov dword [eax], 0
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x98], esp
mov edx, dword [esi]
mov ecx, esi
push eax
call dword [edx + 0xb8]
mov edx, dword [eax]
mov ecx, eax
mov byte [eax + 0x3b], 8
mov dword [eax + 0x40], ebp
call dword [edx + 0x48]
mov eax, dword [esp + 0x90]
test eax, eax
mov eax, dword [esp + 0x98]
jne 0x109b3c3e
mov eax, dword [esp + 0x94]
inc dword [eax]
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x70]
mov ecx, dword [esi + 4]
mov edi, dword [esp + 0x6c]
mov edx, dword [edi + 4]
push eax
mov eax, dword [0x10f43370]
push ecx
push edx
push str.Imported__i_vertices___i_texture_coordinates___i_triangles.
push 0x2f8
push eax
call fcn.109baec0
add esp, 0x18
xor eax, eax
push 0x28
mov ecx, edi
mov dword [edi + 4], eax
mov dword [edi + 8], eax
call fcn.109b8e40
xor edi, edi
push 0xc
mov ecx, esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call fcn.109b8e40
mov ecx, dword [esp + 0x74]
push 0xc
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.109b8e40
push 0x104
mov ecx, ebx
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
call fcn.109b8e40
mov ecx, dword [esp + 0x68]
push 4
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.109b8e40
lea ecx, [esp + 0x3c]
mov byte [esp + 0x5c], 2
call fcn.10926820
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 1
call fcn.1093ddc0
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 0
call fcn.1093de70
lea ecx, [esp + 0x18]
mov dword [esp + 0x5c], 0xffffffff
call fcn.1093de70
mov ecx, dword [esp + 0x54]
pop edi
pop esi
mov eax, ebp
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret