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

Disassembly:
sub esp, 0x5c
xorps xmm0, xmm0
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [esp + 0x74]
add eax, 1
mov esi, 0x41
xor ebp, ebp
test eax, eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x40], esi
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x58], xmm0
movss dword [esp + 0x54], xmm0
jle 0x4e0625
lea ecx, [edi + 0x100]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
lea ebx, [ebx]
movss xmm1, dword [0x6f99f0]
fld qword [0x6f9c48]
movss xmm0, dword [0x6b09a0]
fld qword [0x6f9ee0]
fld qword [0x6f9ed8]
lea eax, [ebp + 0x40]
cmp eax, dword [esp + 0x74]
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x18], xmm0
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x20], xmm1
mov dword [esp + 0x50], eax
jle 0x4dfffd
mov edx, dword [esp + 0x44]
mov dword [esp + 0x40], edx
mov esi, edx
xor edx, edx
cmp esi, 4
jl 0x4e034d
lea ecx, [esi - 4]
shr ecx, 2
add ecx, 1
lea edx, [ecx*4]
fld dword [edi + 0x40]
movss xmm0, dword [edi + 0x70]
movss xmm1, dword [edi + 0x48]
fstp dword [esp + 0x10]
fld dword [esp + 0x20]
movss xmm2, dword [edi + 0x3c]
fld dword [esp + 0x10]
movss xmm3, dword [edi + 0x4c]
movss xmm4, dword [edi + 0x44]
fcompi st(1)
fstp st(0)
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x3c], xmm4
jbe 0x4e0070
movss xmm5, dword [esp + 0x10]
movss dword [esp + 0x20], xmm5
fld dword [esp + 0x24]
fld dword [esp + 0x2c]
fcompi st(1)
fstp st(0)
jbe 0x4e0084
movss dword [esp + 0x24], xmm0
fld dword [esp + 0x28]
fld dword [esp + 0x30]
fcompi st(1)
fstp st(0)
jbe 0x4e0098
movss dword [esp + 0x28], xmm1
fld dword [esp + 0x34]
fld dword [esp + 0x14]
fcompi st(1)
fstp st(0)
jbe 0x4e00ac
movss dword [esp + 0x14], xmm2
fld dword [esp + 0x38]
fld dword [esp + 0x18]
fcompi st(1)
fstp st(0)
jbe 0x4e00c0
movss dword [esp + 0x18], xmm3
fld dword [esp + 0x3c]
fld dword [esp + 0x1c]
fcompi st(1)
fstp st(0)
jbe 0x4e00d4
movss dword [esp + 0x1c], xmm4
fld dword [edi + 0xc8]
movss xmm0, dword [edi + 0xf8]
movss xmm1, dword [edi + 0xd0]
fstp dword [esp + 0x10]
fld dword [esp + 0x20]
movss xmm2, dword [edi + 0xc4]
fld dword [esp + 0x10]
movss xmm3, dword [edi + 0xd4]
movss xmm4, dword [edi + 0xcc]
fcompi st(1)
fstp st(0)
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x3c], xmm4
jbe 0x4e013e
movss xmm5, dword [esp + 0x10]
movss dword [esp + 0x20], xmm5
fld dword [esp + 0x24]
fld dword [esp + 0x2c]
fcompi st(1)
fstp st(0)
jbe 0x4e0152
movss dword [esp + 0x24], xmm0
fld dword [esp + 0x28]
fld dword [esp + 0x30]
fcompi st(1)
fstp st(0)
jbe 0x4e0166
movss dword [esp + 0x28], xmm1
fld dword [esp + 0x34]
fld dword [esp + 0x14]
fcompi st(1)
fstp st(0)
jbe 0x4e017a
movss dword [esp + 0x14], xmm2
fld dword [esp + 0x38]
fld dword [esp + 0x18]
fcompi st(1)
fstp st(0)
jbe 0x4e018e
movss dword [esp + 0x18], xmm3
fld dword [esp + 0x3c]
fld dword [esp + 0x1c]
fcompi st(1)
fstp st(0)
jbe 0x4e01a2
movss dword [esp + 0x1c], xmm4
fld dword [edi + 0x150]
movss xmm0, dword [edi + 0x180]
movss xmm1, dword [edi + 0x158]
fstp dword [esp + 0x10]
fld dword [esp + 0x20]
movss xmm2, dword [edi + 0x14c]
fld dword [esp + 0x10]
movss xmm3, dword [edi + 0x15c]
movss xmm4, dword [edi + 0x154]
fcompi st(1)
fstp st(0)
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x3c], xmm4
jbe 0x4e020c
movss xmm5, dword [esp + 0x10]
movss dword [esp + 0x20], xmm5
fld dword [esp + 0x24]
fld dword [esp + 0x2c]
fcompi st(1)
fstp st(0)
jbe 0x4e0220
movss dword [esp + 0x24], xmm0
fld dword [esp + 0x28]
fld dword [esp + 0x30]
fcompi st(1)
fstp st(0)
jbe 0x4e0234
movss dword [esp + 0x28], xmm1
fld dword [esp + 0x34]
fld dword [esp + 0x14]
fcompi st(1)
fstp st(0)
jbe 0x4e0248
movss dword [esp + 0x14], xmm2
fld dword [esp + 0x38]
fld dword [esp + 0x18]
fcompi st(1)
fstp st(0)
jbe 0x4e025c
movss dword [esp + 0x18], xmm3
fld dword [esp + 0x3c]
fld dword [esp + 0x1c]
fcompi st(1)
fstp st(0)
jbe 0x4e0270
movss dword [esp + 0x1c], xmm4
fld dword [edi + 0x1d8]
movss xmm0, dword [edi + 0x208]
movss xmm1, dword [edi + 0x1e0]
fstp dword [esp + 0x10]
fld dword [esp + 0x20]
movss xmm2, dword [edi + 0x1d4]
fld dword [esp + 0x10]
movss xmm3, dword [edi + 0x1e4]
movss xmm4, dword [edi + 0x1dc]
fcompi st(1)
fstp st(0)
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x3c], xmm4
jbe 0x4e02da
movss xmm5, dword [esp + 0x10]
movss dword [esp + 0x20], xmm5
fld dword [esp + 0x24]
fld dword [esp + 0x2c]
fcompi st(1)
fstp st(0)
jbe 0x4e02ee
movss dword [esp + 0x24], xmm0
fld dword [esp + 0x28]
fld dword [esp + 0x30]
fcompi st(1)
fstp st(0)
jbe 0x4e0302
movss dword [esp + 0x28], xmm1
fld dword [esp + 0x34]
fld dword [esp + 0x14]
fcompi st(1)
fstp st(0)
jbe 0x4e0316
movss dword [esp + 0x14], xmm2
fld dword [esp + 0x38]
fld dword [esp + 0x18]
fcompi st(1)
fstp st(0)
jbe 0x4e032a
movss dword [esp + 0x18], xmm3
fld dword [esp + 0x3c]
fld dword [esp + 0x1c]
fcompi st(1)
fstp st(0)
jbe 0x4e033e
movss dword [esp + 0x1c], xmm4
add edi, 0x220
sub ecx, 1
jne 0x4e0018
cmp edx, esi
jge 0x4e0424
mov ecx, esi
sub ecx, edx
fld dword [edi + 0x40]
movss xmm0, dword [edi + 0x70]
movss xmm1, dword [edi + 0x48]
fstp dword [esp + 0x10]
fld dword [esp + 0x20]
movss xmm2, dword [edi + 0x3c]
fld dword [esp + 0x10]
movss xmm3, dword [edi + 0x4c]
movss xmm4, dword [edi + 0x44]
fcompi st(1)
fstp st(0)
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x38], xmm3
movss dword [esp + 0x3c], xmm4
jbe 0x4e03b1
movss xmm5, dword [esp + 0x10]
movss dword [esp + 0x20], xmm5
fld dword [esp + 0x24]
fld dword [esp + 0x2c]
fcompi st(1)
fstp st(0)
jbe 0x4e03c5
movss dword [esp + 0x24], xmm0
fld dword [esp + 0x28]
fld dword [esp + 0x30]
fcompi st(1)
fstp st(0)
jbe 0x4e03d9
movss dword [esp + 0x28], xmm1
fld dword [esp + 0x34]
fld dword [esp + 0x14]
fcompi st(1)
fstp st(0)
jbe 0x4e03ed
movss dword [esp + 0x14], xmm2
fld dword [esp + 0x38]
fld dword [esp + 0x18]
fcompi st(1)
fstp st(0)
jbe 0x4e0401
movss dword [esp + 0x18], xmm3
fld dword [esp + 0x3c]
fld dword [esp + 0x1c]
fcompi st(1)
fstp st(0)
jbe 0x4e0415
movss dword [esp + 0x1c], xmm4
add edi, 0x88
sub ecx, 1
jne 0x4e0359
fld dword [esp + 0x14]
sub edi, 0x88
fsub st(3)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fmul st(2)
fstp dword [esp + 0x14]
cvttss2si eax, dword [esp + 0x14]
fld dword [esp + 0x18]
mov dword [esp + 0x14], eax
fsub st(3)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fmul st(2)
fstp dword [esp + 0x18]
cvttss2si eax, dword [esp + 0x18]
fld dword [esp + 0x1c]
mov dword [esp + 0x18], eax
fsubrp st(3)
fxch st(2)
fstp dword [esp + 0x1c]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x1c]
cvttss2si eax, dword [esp + 0x1c]
fild dword [esp + 0x14]
mov dword [esp + 0x1c], eax
fmul st(1)
fstp dword [esp + 0x14]
fild dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x18]
fimul dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fsub dword [esp + 0x14]
fstp dword [esp + 0x60]
fld dword [esp + 0x24]
fld st(0)
fld dword [esp + 0x18]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0x28]
fsub dword [esp + 0x1c]
fstp dword [esp + 0x68]
fld dword [esp + 0x54]
fld dword [esp + 0x60]
fcompi st(1)
fstp st(0)
jbe 0x4e04e6
movss xmm0, dword [esp + 0x60]
movss dword [esp + 0x54], xmm0
fld dword [esp + 0x58]
fld dword [esp + 0x64]
fcompi st(1)
fstp st(0)
jbe 0x4e0500
movss xmm0, dword [esp + 0x64]
movss dword [esp + 0x58], xmm0
fld dword [esp + 0x5c]
fld dword [esp + 0x68]
fcompi st(1)
fstp st(0)
jbe 0x4e051a
movss xmm0, dword [esp + 0x68]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [esp + 0x18]
movss xmm2, dword [esp + 0x1c]
lea ebx, [esi - 1]
xor edx, edx
cmp ebx, 4
jl 0x4e05a8
mov eax, dword [esp + 0x48]
lea esi, [ebx - 4]
shr esi, 2
add esi, 1
lea edx, [esi*4]
mov ecx, dword [eax - 0x88]
movss dword [ecx + 0x20], xmm0
movss dword [ecx + 0x24], xmm1
movss dword [ecx + 0x28], xmm2
mov ecx, dword [eax]
movss dword [ecx + 0x20], xmm0
movss dword [ecx + 0x24], xmm1
movss dword [ecx + 0x28], xmm2
mov ecx, dword [eax + 0x88]
movss dword [ecx + 0x20], xmm0
movss dword [ecx + 0x24], xmm1
movss dword [ecx + 0x28], xmm2
mov ecx, dword [eax + 0x110]
movss dword [ecx + 0x20], xmm0
add eax, 0x220
sub esi, 1
movss dword [ecx + 0x24], xmm1
movss dword [ecx + 0x28], xmm2
jne 0x4e054a
mov esi, dword [esp + 0x40]
cmp edx, ebx
jge 0x4e05db
mov ecx, dword [esp + 0x4c]
lea eax, [edx + ebp]
imul eax, eax, 0x88
lea ecx, [eax + ecx + 0x78]
sub ebx, edx
mov eax, dword [ecx]
add ecx, 0x88
sub ebx, 1
movss dword [eax + 0x20], xmm0
movss dword [eax + 0x24], xmm1
movss dword [eax + 0x28], xmm2
jne 0x4e05bf
mov ebx, dword [esp + 0x70]
fxch st(1)
sub esp, 8
fstp dword [esp + 4]
lea edx, [esi + ebp - 1]
fstp dword [esp]
push edx
push ebx
mov edx, ebp
call fcn.004df8d0
mov eax, dword [esp + 0x84]
mov ebp, dword [esp + 0x60]
sub dword [esp + 0x54], 0x40
add dword [esp + 0x58], 0x2200
add ebx, 0x60
add eax, 1
add esp, 0x10
cmp ebp, eax
mov dword [esp + 0x70], ebx
jl 0x4dffa0
fld dword [esp + 0x5c]
sub esp, 0x18
fstp qword [esp + 0x10]
fld dword [esp + 0x70]
fstp qword [esp + 8]
fld dword [esp + 0x6c]
fstp qword [esp]
push str.max_range_of_a_LOD_4_block:__f__f__f_n
call fcn.00408d10
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret