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

Disassembly:
sub esp, 0x54
push ebx
push esi
mov esi, dword [esp + 0x60]
push edi
mov ebx, ecx
push 0
mov ecx, esi
mov dword [esp + 0x1c], ebx
call dword [0x101239a0]
mov ecx, esi
mov dword [esp + 0x38], eax
call dword [0x10123ac4]
mov dword [esp + 0x64], eax
fild dword [esp + 0x64]
test eax, eax
jge 0x100cd4a8
fadd dword [0x10130928]
fidiv dword [esp + 0x70]
mov ecx, esi
fstp dword [esp + 0x2c]
call dword [0x10123ac0]
mov dword [esp + 0x64], eax
fild dword [esp + 0x64]
test eax, eax
jge 0x100cd4ca
fadd dword [0x10130928]
fidiv dword [esp + 0x74]
mov eax, dword [ebx + 0x258]
mov esi, dword [0x10123894]
push eax
push 1
push 0x80
push 0x80
fstp dword [esp + 0x40]
call esi
push 0x528
push str......._srci3Frameworki3UIi3VirtualTexture.cpp
push 0x10
push 0
push eax
call dword [0x101237d4]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x258]
push 0
push eax
call dword [0x1012389c]
add esp, 0x2c
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x258]
push eax
push 1
test eax, eax
jns 0x100cd54b
push 4
push 4
call esi
mov ecx, eax
mov eax, dword [ebx + 0x270]
add eax, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
add esp, 0x10
imul eax, ecx
jmp 0x100cd557
push 1
push 0x80
call esi
add esp, 0x10
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x74]
add eax, edi
cmp edi, eax
mov ecx, edi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x3c], eax
jge 0x100cd743
mov edx, dword [esp + 0x70]
push ebp
mov ebp, dword [esp + 0x6c]
lea eax, [edx + ebp]
mov dword [esp + 0x18], eax
jmp 0x100cd594
mov ecx, dword [esp + 0x68]
cmp ebp, dword [esp + 0x18]
mov esi, ebp
jge 0x100cd722
mov eax, ecx
cdq
and edx, 0x7f
add eax, edx
mov edx, dword [esp + 0x78]
sub edi, ecx
add edi, edx
mov dword [esp + 0x28], edi
sar eax, 7
mov edi, ecx
and edi, 0x8000007f
mov dword [esp + 0x20], eax
jns 0x100cd5ca
dec edi
or edi, 0xffffff80
inc edi
sub ecx, dword [esp + 0x70]
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], ecx
jmp 0x100cd5e8
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [ebx + 0x274]
imul ecx, eax
mov eax, esi
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
add ecx, eax
push ecx
mov ecx, ebx
call sym.i3FrameworkDx.dll_public:_void___thiscall_i3VirtualTexture::LoadATile_int__char__
mov edx, dword [esp + 0x74]
sub ebp, esi
add edx, ebp
cmp edx, 0x80
jl 0x100cd620
mov edx, 0x80
mov eax, dword [esp + 0x28]
cmp eax, 0x80
jl 0x100cd630
mov eax, 0x80
mov ecx, esi
and ecx, 0x8000007f
jns 0x100cd63f
dec ecx
or ecx, 0xffffff80
inc ecx
lea ebp, [edi + eax]
mov eax, esi
sub eax, dword [esp + 0x6c]
lea ebx, [ecx + edx]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
fld dword [esp + 0x30]
mov dword [esp + 0x48], edx
fld st(0)
sub eax, ecx
sub edx, edi
fmulp st(2)
add eax, ebx
fxch st(1)
add edx, ebp
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
call fcn.100ee2d0
fild dword [esp + 0x48]
fld dword [esp + 0x34]
mov dword [esp + 0x44], eax
fld st(0)
fmulp st(2)
fxch st(1)
call fcn.100ee2d0
fild dword [esp + 0x4c]
mov dword [esp + 0x48], eax
fmulp st(2)
fxch st(1)
call fcn.100ee2d0
fimul dword [esp + 0x50]
mov dword [esp + 0x4c], eax
call fcn.100ee2d0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
push 0
push 4
mov dword [esp + 0x58], eax
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0x1c]
push 0
push ecx
push edx
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x5c]
push 0
call dword [0x1012399c]
push eax
call fcn.100ec980
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x6c]
lea eax, [esi + 0x80]
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
shl eax, 7
mov esi, eax
cmp esi, dword [esp + 0x18]
jl 0x100cd5e0
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x70]
lea eax, [ecx + 0x80]
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
shl eax, 7
cmp eax, dword [esp + 0x40]
mov dword [esp + 0x68], eax
jl 0x100cd590
pop ebp
mov edx, dword [esp + 0xc]
push 0x575
push str......._srci3Frameworki3UIi3VirtualTexture.cpp
push edx
call dword [0x101237d8]
add esp, 0xc
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x54
ret 0x14