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

Disassembly:
mov eax, dword [0x1324cf0]
sub esp, 0x14c
mov ecx, dword [eax + 0x20]
push ebx
push ebp
push esi
xor esi, esi
push edi
cmp ecx, esi
je 0x4b1c6c
mov ecx, dword [0x1324d08]
mov eax, dword [ecx + 0x20]
cmp eax, esi
mov eax, dword [0x1324eb8]
je 0x4b10f3
cmp eax, esi
jne 0x4b0d46
push 0x26
push esi
push 0x1324ebc
call fcn.0044ee30
add esp, 0xc
mov dword [0x1324ec0], 0xfffffc18
mov dword [0x1324f54], esi
mov dword [0x1324f58], esi
mov dword [0x1324eb8], 1
mov edx, dword [0x1324f68]
mov eax, dword [edx + 4]
push eax
call fcn.004ab710
mov ecx, dword [0x1324f64]
mov edx, dword [0x1324d04]
mov dword [0x1324ec4], eax
add esp, 4
fld dword [ecx + 0x1c]
fmul dword [edx + 0x1c]
fst dword [0x1324ecc]
fcomp dword [0x5375ec]
fnstsw ax
test ah, 5
jp 0x4b0d8e
mov dword [0x1324ecc], 0x40000000
jmp 0x4b0dad
fld dword [0x1324ecc]
fcomp dword [0x53833c]
fnstsw ax
and eax, 0x4100
jne 0x4b0dad
mov dword [0x1324ecc], 0x44800000
mov eax, dword [0x1324f5c]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x10], ecx
fld dword [esp + 0x10]
fcomp dword [0x5374c0]
fnstsw ax
test ah, 5
jp 0x4b0dd4
mov dword [esp + 0x10], 0
jmp 0x4b0def
fld dword [esp + 0x10]
fcomp dword [0x5374e8]
fnstsw ax
and eax, 0x4100
jne 0x4b0def
mov dword [esp + 0x10], 0x3f800000
mov edx, dword [0x1324cf4]
mov eax, dword [0x1324f70]
fld dword [0x5374e8]
fdiv dword [edx + 0x1c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [0x1324f7c]
mov ebx, dword [esp + 0x10]
mov eax, dword [edx + 0x1c]
fstp dword [esp + 0x20]
mov edi, dword [esp + 0x20]
push edi
push ecx
mov ecx, dword [0x1324f80]
push eax
mov edx, dword [ecx + 0x1c]
push edx
push ebx
push 0x1324ebc
call dword [0x1325098]
add esp, 0x18
cmp eax, 1
jne 0x4b0e7b
mov eax, dword [0x1324f58]
mov ecx, dword [0x1324f70]
mov dword [0x1324f54], eax
mov eax, dword [0x1324f7c]
mov dword [0x1324f58], esi
mov edx, dword [ecx + 0x1c]
mov ecx, dword [eax + 0x1c]
push edi
push edx
mov edx, dword [0x1324f80]
push ecx
mov eax, dword [edx + 0x1c]
push eax
push ebx
push 0x1324ebc
call dword [0x1325098]
add esp, 0x18
jmp 0x4b0e84
cmp eax, 0xffffffff
je 0x4b10c7
mov eax, dword [0x1324f58]
mov ebp, 0x1324e30
cmp eax, esi
mov ebx, 0x41000000
je 0x4b0ed0
push 2
push 1
push 1
push 0x563dd8
push 0x563dd8
mov dword [0x1324eb4], eax
call fcn.004af150
mov ecx, eax
add esp, 0x14
cmp ecx, esi
mov dword [0x1324eb4], ecx
jne 0x4b0fc2
mov ecx, dword [0x1324f58]
push ecx
jmp 0x4b0fb4
mov eax, dword [0x1324eb0]
cmp eax, esi
jne 0x4b0f16
push 0x4000
call dword [0x1325014]
add esp, 4
cmp eax, esi
jne 0x4b0ef2
xor eax, eax
jmp 0x4b0f7b
mov dword [0x1324eb0], eax
mov ecx, eax
mov edi, 0x7f
lea edx, [ecx + 0x80]
dec edi
mov dword [ecx], edx
mov ecx, edx
jne 0x4b0efe
mov dword [eax + 0x3f80], esi
mov eax, dword [0x1324eb0]
mov edx, dword [eax]
mov ecx, dword [0x1324e30]
mov dword [0x1324eb0], edx
mov dword [eax], ecx
mov dword [eax + 4], ebp
mov edx, dword [0x1324e30]
mov dword [edx + 4], eax
mov ecx, dword [0x132515c]
mov dword [0x1324e30], eax
mov dword [eax + 8], ecx
mov ecx, 0x3f800000
mov dword [eax + 0x14], esi
mov dword [eax + 0x10], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], 0xbf800000
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], esi
mov dword [eax + 0x34], 0xffffffff
mov dword [eax + 0x44], 1
mov dword [eax + 0x48], esi
mov dword [eax + 0x4c], esi
cmp eax, esi
mov dword [0x1324f58], eax
je 0x4b0fbc
push 2
push 1
push 1
push 0x563dd8
push 0x563dd8
mov dword [0x1324eb4], eax
call fcn.004af150
mov ecx, eax
add esp, 0x14
cmp ecx, esi
mov dword [0x1324eb4], ecx
jne 0x4b0fc2
mov edx, dword [0x1324f58]
push edx
call fcn.004aee30
add esp, 4
mov ecx, dword [0x1324eb4]
cmp dword [0x1324ec8], 3
jne 0x4b10cd
mov eax, dword [0x1324f54]
cmp eax, esi
jne 0x4b1090
mov eax, dword [0x1324eb0]
cmp eax, esi
jne 0x4b1022
push 0x4000
call dword [0x1325014]
add esp, 4
cmp eax, esi
jne 0x4b0ffe
xor eax, eax
jmp 0x4b1087
mov dword [0x1324eb0], eax
mov ecx, eax
mov edi, 0x7f
lea edx, [ecx + 0x80]
dec edi
mov dword [ecx], edx
mov ecx, edx
jne 0x4b100a
mov dword [eax + 0x3f80], esi
mov eax, dword [0x1324eb0]
mov ecx, dword [eax]
mov edx, dword [0x1324e30]
mov dword [0x1324eb0], ecx
mov dword [eax], edx
mov dword [eax + 4], ebp
mov ecx, dword [0x1324e30]
mov dword [ecx + 4], eax
mov edx, dword [0x132515c]
mov ecx, 0x3f800000
mov dword [0x1324e30], eax
mov dword [eax + 8], edx
mov dword [eax + 0x14], esi
mov dword [eax + 0x10], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], 0xbf800000
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], esi
mov dword [eax + 0x34], 0xffffffff
mov dword [eax + 0x44], 1
mov dword [eax + 0x48], esi
mov dword [eax + 0x4c], esi
cmp eax, esi
mov dword [0x1324f54], eax
je 0x4b10c7
push 1
push 1
push 1
push 0x563dd8
push 0x563dd8
mov dword [0x1324eb4], eax
call fcn.004af150
mov ecx, eax
add esp, 0x14
cmp ecx, esi
mov dword [0x1324eb4], ecx
jne 0x4b10cd
mov eax, dword [0x1324f54]
push eax
call fcn.004aee30
add esp, 4
mov ecx, dword [0x1324eb4]
mov eax, dword [0x1324f58]
cmp eax, esi
je 0x4b10e0
mov ecx, eax
mov dword [0x1324eb4], ecx
jmp 0x4b1103
mov eax, dword [0x1324f54]
cmp eax, esi
je 0x4b1103
mov ecx, eax
mov dword [0x1324eb4], ecx
jmp 0x4b1103
mov ecx, dword [0x1324eb4]
cmp eax, esi
je 0x4b1103
mov dword [0x1324eb8], esi
cmp dword [0x1324e28], esi
je 0x4b148b
cmp ecx, esi
je 0x4b148b
cmp dword [ecx + 0x30], 0xbf800000
je 0x4b148b
mov eax, dword [0x1324f68]
xor ebx, ebx
cmp dword [eax + 0x14], esi
je 0x4b11dc
mov ecx, dword [eax + 4]
push ecx
call fcn.004ab710
add esp, 4
cmp eax, esi
je 0x4b11cd
push eax
call fcn.004ab8f0
mov edi, eax
mov eax, dword [0x132515c]
add esp, 4
cmp edi, eax
je 0x4b11cd
mov eax, dword [0x1324eb4]
cmp dword [eax + 8], edi
je 0x4b11cd
push 0x41800000
push str.dcl_radius
mov dword [eax + 8], edi
mov ebx, 1
call fcn.0044fa70
mov edx, dword [0x1324d04]
add esp, 4
mov dword [edx + 0x14], esi
mov eax, dword [edi + 0x174]
mov ecx, dword [eax + 4]
fild dword [ecx + 0x44]
fmul dword [0x538338]
fstp dword [esp]
push str.dcl_heightscale
call fcn.0044fa70
mov edx, dword [edi + 0x174]
add esp, 4
mov eax, dword [edx + 4]
fild dword [eax + 0x40]
fmul dword [0x538338]
fstp dword [esp]
push str.dcl_widthscale
call fcn.0044fa70
add esp, 8
mov ecx, dword [0x1324f68]
mov dword [ecx + 0x14], esi
mov ecx, dword [0x1324eb4]
mov edx, dword [0x1324d04]
cmp dword [edx + 0x14], esi
je 0x4b120e
fld dword [ecx + 0x24]
fcomp dword [edx + 0x1c]
fnstsw ax
test ah, 0x44
jnp 0x4b1205
mov edx, dword [edx + 0x1c]
mov ebx, 1
mov dword [ecx + 0x24], edx
mov edx, dword [0x1324d04]
mov dword [edx + 0x14], esi
mov ecx, dword [0x1324eb4]
mov edx, dword [0x1324f60]
cmp dword [edx + 0x14], esi
je 0x4b1240
fld dword [ecx + 0x28]
fcomp dword [edx + 0x1c]
fnstsw ax
test ah, 0x44
jnp 0x4b1237
mov eax, dword [edx + 0x1c]
mov ebx, 1
mov dword [ecx + 0x28], eax
mov edx, dword [0x1324f60]
mov dword [edx + 0x14], esi
mov ecx, dword [0x1324eb4]
mov edx, dword [0x1324f64]
cmp dword [edx + 0x14], esi
je 0x4b1272
fld dword [ecx + 0x2c]
fcomp dword [edx + 0x1c]
fnstsw ax
test ah, 0x44
jnp 0x4b1269
mov edx, dword [edx + 0x1c]
mov ebx, 1
mov dword [ecx + 0x2c], edx
mov edx, dword [0x1324f64]
mov dword [edx + 0x14], esi
mov ecx, dword [0x1324eb4]
mov eax, dword [0x1324f88]
cmp dword [eax + 0x14], esi
je 0x4b12b3
mov eax, dword [eax + 0x1c]
push eax
call fcn.00462f80
mov ecx, dword [0x1324eb4]
add esp, 4
fcom dword [ecx + 0x30]
fnstsw ax
test ah, 0x44
jnp 0x4b12a2
fstp dword [ecx + 0x30]
mov ebx, 1
jmp 0x4b12a4
fstp st(0)
mov ecx, dword [0x1324f88]
mov dword [ecx + 0x14], esi
mov ecx, dword [0x1324eb4]
mov edx, dword [0x1324d14]
cmp dword [edx + 0x14], esi
je 0x4b1314
fld dword [edx + 0x1c]
fcom dword [0x5374c0]
fnstsw ax
test ah, 5
jp 0x4b12d8
fstp st(0)
fld dword [0x5374c0]
jmp 0x4b12ef
fcom dword [0x5374e8]
fnstsw ax
and eax, 0x4100
jne 0x4b12ef
fstp st(0)
fld dword [0x5374e8]
fcom dword [ecx + 0x34]
fnstsw ax
test ah, 0x44
jnp 0x4b1309
fstp dword [ecx + 0x34]
mov edx, dword [0x1324d14]
mov ebx, 1
jmp 0x4b130b
fstp st(0)
mov dword [edx + 0x14], esi
mov ecx, dword [0x1324eb4]
mov edx, dword [0x1324d10]
cmp dword [edx + 0x14], esi
je 0x4b1375
fld dword [edx + 0x1c]
fcom dword [0x5374c0]
fnstsw ax
test ah, 5
jp 0x4b1339
fstp st(0)
fld dword [0x5374c0]
jmp 0x4b1350
fcom dword [0x5374e8]
fnstsw ax
and eax, 0x4100
jne 0x4b1350
fstp st(0)
fld dword [0x5374e8]
fcom dword [ecx + 0x38]
fnstsw ax
test ah, 0x44
jnp 0x4b136a
fstp dword [ecx + 0x38]
mov edx, dword [0x1324d10]
mov ebx, 1
jmp 0x4b136c
fstp st(0)
mov dword [edx + 0x14], esi
mov ecx, dword [0x1324eb4]
mov edx, dword [0x1324d0c]
cmp dword [edx + 0x14], esi
je 0x4b13d6
fld dword [edx + 0x1c]
fcom dword [0x5374c0]
fnstsw ax
test ah, 5
jp 0x4b139a
fstp st(0)
fld dword [0x5374c0]
jmp 0x4b13b1
fcom dword [0x5374e8]
fnstsw ax
and eax, 0x4100
jne 0x4b13b1
fstp st(0)
fld dword [0x5374e8]
fcom dword [ecx + 0x3c]
fnstsw ax
test ah, 0x44
jnp 0x4b13cb
fstp dword [ecx + 0x3c]
mov edx, dword [0x1324d0c]
mov ebx, 1
jmp 0x4b13cd
fstp st(0)
mov dword [edx + 0x14], esi
mov ecx, dword [0x1324eb4]
mov edx, dword [0x1324f5c]
cmp dword [edx + 0x14], esi
je 0x4b1437
fld dword [edx + 0x1c]
fcom dword [0x5374c0]
fnstsw ax
test ah, 5
jp 0x4b13fb
fstp st(0)
fld dword [0x5374c0]
jmp 0x4b1412
fcom dword [0x5374e8]
fnstsw ax
and eax, 0x4100
jne 0x4b1412
fstp st(0)
fld dword [0x5374e8]
fcom dword [ecx + 0x40]
fnstsw ax
test ah, 0x44
jnp 0x4b142c
fstp dword [ecx + 0x40]
mov edx, dword [0x1324f5c]
mov ebx, 1
jmp 0x4b142e
fstp st(0)
mov dword [edx + 0x14], esi
mov ecx, dword [0x1324eb4]
mov edi, dword [0x1324d18]
cmp dword [edi + 0x14], esi
je 0x4b146a
mov ebp, dword [edi + 0x20]
mov edx, dword [ecx + 0x44]
xor eax, eax
cmp ebp, esi
setne al
cmp edx, eax
je 0x4b1461
mov dword [ecx + 0x44], eax
mov edi, dword [0x1324d18]
mov ebx, 1
mov dword [edi + 0x14], esi
mov ecx, dword [0x1324eb4]
cmp ebx, esi
je 0x4b148b
push esi
push 1
lea edx, [ecx + 0x18]
push 1
add ecx, 0xc
push edx
push ecx
call fcn.004af150
mov ecx, eax
add esp, 0x14
mov dword [0x1324eb4], ecx
mov eax, dword [0x1324f78]
cmp dword [eax + 0x20], esi
je 0x4b1c6c
cmp ecx, esi
je 0x4b1c6c
cmp dword [ecx + 0x4c], esi
je 0x4b1c6c
lea edx, [esp + 0x14]
add ecx, 0x18
push edx
push ecx
mov dword [esp + 0x60], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x28], esi
call fcn.00461bd0
mov eax, dword [0x1324eb4]
add esp, 4
fld dword [esp + 0x20]
fadd dword [eax + 0x30]
fstp dword [esp]
call fcn.00462f80
fstp dword [esp + 0x20]
lea ecx, [esp + 0x50]
lea edx, [esp + 0x44]
push ecx
lea eax, [esp + 0x3c]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.0045b100
mov eax, dword [0x1324eb4]
lea edx, [esp + 0x48]
add eax, 0x18
push edx
push eax
call fcn.0045aec0
lea ecx, [esp + 0x50]
lea edx, [esp + 0x5c]
push ecx
push edx
fstp st(0)
call fcn.00463f70
mov eax, dword [0x1324eb4]
add esp, 0x20
fld dword [eax + 0x30]
fadd dword [0x537954]
fstp dword [esp]
call fcn.00462f80
fstp dword [esp]
lea ecx, [esp + 0x44]
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x54]
push edx
push eax
call fcn.00461990
fld dword [esp + 0x64]
fmul dword [esp + 0x48]
fld dword [esp + 0x60]
fmul dword [esp + 0x4c]
mov ecx, dword [0x1324eb4]
add esp, 0x10
fsubp st(1)
fstp dword [esp + 0x40]
fld dword [esp + 0x4c]
fmul dword [esp + 0x3c]
fld dword [esp + 0x54]
fmul dword [esp + 0x34]
fsubp st(1)
fstp dword [esp + 0x44]
fld dword [esp + 0x50]
fmul dword [esp + 0x34]
fld dword [esp + 0x4c]
fmul dword [esp + 0x38]
fsubp st(1)
fstp dword [esp + 0x48]
fild dword [0x1325afc]
mov edi, dword [ecx + 0x48]
cmp edi, esi
fmul qword [0x537e10]
fsin
fmul qword [0x537ac0]
fadd qword [0x538330]
fstp dword [esp + 0x24]
je 0x4b1aaf
mov esi, dword [esp + 0x24]
mov eax, dword [edi + 4]
test eax, eax
jle 0x4b16e5
mov ecx, dword [edi + 8]
xor ebx, ebx
test ecx, ecx
jle 0x4b1aa1
fld dword [0x5374e8]
fsub dword [esp + 0x24]
fstp dword [esp + 0x10]
mov eax, ebx
push 0x3f800000
cdq
fld dword [esp + 0x38]
idiv ecx
fmul qword [0x537990]
push esi
push esi
push esi
inc edx
inc ebx
mov eax, ebx
lea edx, [edx + edx*2]
lea ebp, [edi + edx*8]
cdq
fld dword [ebp]
idiv ecx
fadd st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x48]
fmul qword [0x537990]
fld dword [ebp + 4]
fadd st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x4c]
fmul qword [0x537990]
fstp qword [esp + 0x78]
fld dword [ebp + 8]
fadd qword [esp + 0x78]
lea ecx, [esp + 0x38]
push ecx
fstp dword [esp + 0x30]
inc edx
lea eax, [edx + edx*2]
lea edx, [esp + 0x28]
push edx
fld dword [edi + eax*8]
lea eax, [edi + eax*8]
fadd st(2)
fstp dword [esp + 0x40]
fld dword [eax + 4]
fadd st(1)
fstp dword [esp + 0x44]
fstp st(0)
fstp st(0)
fld dword [eax + 8]
fadd qword [esp + 0x80]
fstp dword [esp + 0x48]
call fcn.0049a5c0
fld dword [esp + 0x4c]
fmul qword [0x538328]
mov eax, dword [esp + 0x28]
push 0x3f800000
push 0x3dcccccd
push eax
fadd dword [esp + 0x38]
lea ecx, [esp + 0x4c]
push esi
lea edx, [esp + 0x3c]
push ecx
push edx
fstp dword [esp + 0x58]
fld dword [esp + 0x68]
fmul qword [0x538328]
fadd dword [esp + 0x48]
fstp dword [esp + 0x5c]
fld dword [esp + 0x6c]
fmul qword [0x538328]
fadd dword [esp + 0x4c]
fstp dword [esp + 0x60]
call fcn.0049a5c0
mov ecx, dword [edi + 8]
add esp, 0x30
cmp ebx, ecx
jl 0x4b15ea
jmp 0x4b1aa1
jge 0x4b1990
mov ecx, dword [0x1325100]
lea eax, [eax + eax*2]
shl eax, 4
mov ebp, dword [ecx + 0x90]
sub ebp, eax
mov eax, dword [esp + 0x20]
cmp ebp, eax
mov dword [esp + 0x70], ebp
je 0x4b17a3
mov eax, dword [0x1325b2c]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x58], ebx
jle 0x4b179d
mov edx, dword [0x1325b30]
lea ecx, [edx + 8]
mov eax, dword [ecx]
lea edx, [ecx - 8]
cmp eax, 1
mov dword [esp + 0x74], edx
jl 0x4b1743
mov ebp, dword [0x133e5d0]
cmp eax, ebp
mov ebp, dword [esp + 0x70]
jl 0x4b1745
xor eax, eax
lea eax, [eax + eax*8]
shl eax, 4
add eax, 0x1325c10
cmp dword [eax + 0x80], 1
jne 0x4b1761
cmp dword [eax + 0x8c], ebp
je 0x4b1771
mov eax, dword [0x1325b2c]
inc ebx
add ecx, 0x1b8
cmp ebx, eax
jl 0x4b1727
mov dword [esp + 0x58], ebx
mov eax, dword [edx + 0x48]
add edx, 0x20
mov dword [esp + 0x5c], eax
mov ecx, dword [edx + 0x2c]
mov dword [esp + 0x60], ecx
mov eax, dword [edx + 0x30]
lea ecx, [esp + 0x78]
mov dword [esp + 0x64], eax
push ecx
push edx
call fcn.00461ce0
add esp, 8
jmp 0x4b17a7
mov edx, dword [esp + 0x74]
jmp 0x4b1775
mov ebx, dword [esp + 0x58]
cmp ebx, dword [0x1325b2c]
je 0x4b1983
mov ecx, dword [edi + 8]
lea eax, [esp + 0x9c]
test ecx, ecx
jle 0x4b186e
mov edx, edi
lea ebx, [esp + 0x9c]
sub edx, ebx
mov ebx, ecx
add edx, 0x18
fld dword [esp + 0x78]
fmul dword [edx + eax]
add eax, 0x18
dec ebx
fst dword [esp + 0x20]
fstp dword [eax - 0x18]
fld dword [edx + eax - 0x14]
fld dword [esp + 0x84]
fmul st(1)
fadd dword [esp + 0x20]
fst dword [esp + 0x20]
fstp dword [eax - 0x18]
fld dword [edx + eax - 0x10]
fld dword [esp + 0x90]
fmul st(1)
fadd dword [esp + 0x20]
fadd dword [esp + 0x5c]
fstp dword [eax - 0x18]
fld dword [esp + 0x7c]
fmul dword [edx + eax - 0x18]
fld dword [esp + 0x88]
fmul st(3)
faddp st(1)
fld dword [esp + 0x94]
fmul st(2)
faddp st(1)
fadd dword [esp + 0x60]
fstp dword [eax - 0x14]
fld dword [esp + 0x80]
fmul dword [edx + eax - 0x18]
fld dword [esp + 0x8c]
fmul st(3)
faddp st(1)
fld dword [esp + 0x98]
fmul st(2)
faddp st(1)
fstp st(2)
fstp st(0)
fadd dword [esp + 0x64]
fstp dword [eax - 0x10]
jne 0x4b17d5
xor ebx, ebx
test ecx, ecx
jle 0x4b1983
fld dword [0x5374e8]
fsub dword [esp + 0x24]
fstp dword [esp + 0x10]
mov eax, ebx
push 0x3f800000
cdq
fld dword [esp + 0x38]
idiv ecx
fmul qword [0x537990]
inc ebx
push esi
push esi
push esi
lea eax, [edx + edx*2]
lea ebp, [esp + eax*8 + 0xac]
mov eax, ebx
cdq
fld dword [ebp]
idiv ecx
fadd st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x48]
fmul qword [0x537990]
fld dword [ebp + 4]
fadd st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x4c]
fmul qword [0x537990]
fstp qword [esp + 0x78]
fld dword [ebp + 8]
fadd qword [esp + 0x78]
fstp dword [esp + 0x2c]
lea ecx, [edx + edx*2]
lea edx, [esp + 0x38]
push edx
fld dword [esp + ecx*8 + 0xb0]
lea eax, [esp + ecx*8 + 0xb0]
fadd st(2)
fstp dword [esp + 0x3c]
fld dword [eax + 4]
fadd st(1)
fstp dword [esp + 0x40]
fstp st(0)
fstp st(0)
fld dword [eax + 8]
fadd qword [esp + 0x7c]
lea eax, [esp + 0x28]
push eax
fstp dword [esp + 0x48]
call fcn.0049a5c0
fld dword [esp + 0x4c]
fmul qword [0x538328]
mov ecx, dword [esp + 0x28]
push 0x3f800000
push esi
push ecx
fadd dword [esp + 0x38]
lea edx, [esp + 0x4c]
push 0x3dcccccd
lea eax, [esp + 0x3c]
push edx
push eax
fstp dword [esp + 0x58]
fld dword [esp + 0x68]
fmul qword [0x538328]
fadd dword [esp + 0x48]
fstp dword [esp + 0x5c]
fld dword [esp + 0x6c]
fmul qword [0x538328]
fadd dword [esp + 0x4c]
fstp dword [esp + 0x60]
call fcn.0049a5c0
mov ecx, dword [edi + 8]
add esp, 0x30
cmp ebx, ecx
jl 0x4b1886
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x20], ecx
jmp 0x4b1aa1
mov ecx, dword [edi + 8]
xor ebx, ebx
test ecx, ecx
jle 0x4b1aa1
fld dword [0x5374e8]
fsub dword [esp + 0x24]
fstp dword [esp + 0x10]
mov eax, ebx
push 0x3f800000
cdq
fld dword [esp + 0x38]
idiv ecx
fmul qword [0x537990]
push esi
push esi
push esi
inc edx
inc ebx
mov eax, ebx
lea edx, [edx + edx*2]
lea ebp, [edi + edx*8]
cdq
fld dword [ebp]
idiv ecx
fadd st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x48]
fmul qword [0x537990]
fld dword [ebp + 4]
fadd st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x4c]
fmul qword [0x537990]
fstp qword [esp + 0x78]
fld dword [ebp + 8]
fadd qword [esp + 0x78]
lea ecx, [esp + 0x38]
push ecx
fstp dword [esp + 0x30]
inc edx
lea eax, [edx + edx*2]
lea edx, [esp + 0x28]
push edx
fld dword [edi + eax*8]
lea eax, [edi + eax*8]
fadd st(2)
fstp dword [esp + 0x40]
fld dword [eax + 4]
fadd st(1)
fstp dword [esp + 0x44]
fstp st(0)
fstp st(0)
fld dword [eax + 8]
fadd qword [esp + 0x80]
fstp dword [esp + 0x48]
call fcn.0049a5c0
fld dword [esp + 0x4c]
fmul qword [0x538328]
mov eax, dword [esp + 0x28]
push 0x3f800000
push esi
push eax
fadd dword [esp + 0x38]
lea ecx, [esp + 0x4c]
push 0x3dcccccd
lea edx, [esp + 0x3c]
push ecx
push edx
fstp dword [esp + 0x58]
fld dword [esp + 0x68]
fmul qword [0x538328]
fadd dword [esp + 0x48]
fstp dword [esp + 0x5c]
fld dword [esp + 0x6c]
fmul qword [0x538328]
fadd dword [esp + 0x4c]
fstp dword [esp + 0x60]
call fcn.0049a5c0
mov ecx, dword [edi + 8]
add esp, 0x30
cmp ebx, ecx
jl 0x4b19ab
mov edi, dword [edi + 0xd8]
test edi, edi
jne 0x4b15c4
fld dword [0x5374e8]
fsub dword [esp + 0x24]
mov ecx, dword [0x1324eb4]
fstp dword [esp + 0x24]
fld dword [ecx + 0x2c]
fadd dword [ecx + 0x28]
fmul dword [ecx + 0x24]
fmul qword [0x5379a0]
fcom dword [0x53765c]
fnstsw ax
test ah, 5
jp 0x4b1ae7
fstp st(0)
fld dword [0x53765c]
fld dword [esp + 0x34]
fmul st(1)
lea eax, [ecx + 0xc]
mov esi, dword [esp + 0x24]
push 0x3f800000
push esi
fadd dword [eax]
lea ecx, [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x40]
fmul st(1)
fadd dword [eax + 4]
fstp dword [esp + 0x20]
fld dword [esp + 0x44]
fmul st(1)
fadd dword [eax + 8]
fstp dword [esp + 0x24]
fstp st(0)
fld dword [0x5374e8]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x18]
mov edi, dword [esp + 0x18]
push edi
push 0x3dcccccd
push ecx
push eax
call fcn.0049a5c0
mov ecx, dword [0x1324eb4]
add esp, 0x18
fld dword [ecx + 0x2c]
fmul dword [ecx + 0x24]
fcom dword [0x5374e8]
fnstsw ax
test ah, 5
jp 0x4b1b63
fstp st(0)
fld dword [0x5374e8]
fld st(0)
fld dword [esp + 0x40]
fmul st(1)
push 0x3f800000
push esi
push edi
lea edx, [esp + 0x20]
fadd dword [ecx + 0xc]
push 0x3dcccccd
lea eax, [esp + 0x6c]
push edx
push eax
fstp dword [esp + 0x74]
fld dword [esp + 0x5c]
fmul st(1)
fadd dword [ecx + 0x10]
fstp dword [esp + 0x78]
fld dword [esp + 0x60]
fmul st(1)
fadd dword [ecx + 0x14]
fstp dword [esp + 0x7c]
fstp st(0)
fchs
fld dword [esp + 0x58]
fmul st(1)
fadd dword [ecx + 0xc]
fstp dword [esp + 0x2c]
fld dword [esp + 0x5c]
fmul st(1)
fadd dword [ecx + 0x10]
fstp dword [esp + 0x30]
fld dword [esp + 0x60]
fmul st(1)
fadd dword [ecx + 0x14]
fstp dword [esp + 0x34]
fstp st(0)
call fcn.0049a5c0
mov ecx, dword [0x1324eb4]
add esp, 0x18
fld dword [ecx + 0x28]
fmul dword [ecx + 0x24]
fcom dword [0x5374e8]
fnstsw ax
test ah, 5
jp 0x4b1bf8
fstp st(0)
fld dword [0x5374e8]
fld st(0)
fld dword [esp + 0x4c]
fmul st(1)
push 0x3f800000
push esi
push edi
push 0x3dcccccd
fadd dword [ecx + 0xc]
lea edx, [esp + 0x6c]
fstp dword [esp + 0x6c]
fld dword [esp + 0x60]
fmul st(1)
fadd dword [ecx + 0x10]
fstp dword [esp + 0x70]
fld dword [esp + 0x64]
fmul st(1)
fadd dword [ecx + 0x14]
fstp dword [esp + 0x74]
fstp st(0)
fchs
fld dword [esp + 0x5c]
fmul st(1)
fadd dword [ecx + 0xc]
fstp dword [esp + 0x24]
fld dword [esp + 0x60]
fmul st(1)
fadd dword [ecx + 0x10]
fstp dword [esp + 0x28]
fld dword [esp + 0x64]
fmul st(1)
fadd dword [ecx + 0x14]
lea ecx, [esp + 0x24]
push ecx
push edx
fstp dword [esp + 0x34]
fstp st(0)
call fcn.0049a5c0
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14c
ret
push ecx
mov eax, dword [0x13f8118]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4c12f1
test byte [0x1325b00], 1
jne 0x4c12f1
mov ecx, dword [0x13f8008]
mov dword [0x1325730], 0x3fe
mov dword [0x1325738], 0x3fe00
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x4c1034
call fcn.004d4560
mov edx, dword [0x13f811c]
push ebp
push esi
push edi
mov eax, dword [edx + 0x20]
test eax, eax
jne 0x4c1240
mov esi, dword [0x1325100]
test esi, esi
jne 0x4c1068
push str.R_PointInLeaf:_bad_model
push 1
call dword [0x1325004]
mov esi, dword [0x1325100]
add esp, 8
mov edx, dword [esi + 0xa4]
cmp dword [edx], 0xffffffff
jne 0x4c10c4
mov ecx, dword [edx + 0x24]
mov al, byte [ecx + 0x10]
cmp al, 3
jae 0x4c108b
and eax, 0xff
fld dword [eax*4 + 0x132583c]
jmp 0x4c10a9
fld dword [0x1325844]
fmul dword [ecx + 8]
fld dword [0x1325840]
fmul dword [ecx + 4]
faddp st(1)
fld dword [0x132583c]
fmul dword [ecx]
faddp st(1)
fsub dword [ecx + 0xc]
xor eax, eax
fstp dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
test ecx, ecx
setl al
mov edx, dword [edx + eax*4 + 0x28]
cmp dword [edx], 0xffffffff
je 0x4c1073
mov edi, dword [edx + 0x30]
mov eax, dword [0x1325bac]
cmp eax, edi
mov eax, dword [0x13f7fa8]
jne 0x4c10ea
mov ecx, dword [0x1325b24]
test ecx, ecx
jne 0x4c10ea
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4c1240
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x4c10f8
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4c1127
mov dword [eax + 0x14], 0
mov ecx, dword [0x13f7fa8]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x4c1121
mov edx, dword [edx + 0x34]
push edx
push edi
push str.cluster:_i__area:_i_n
push 0
call dword [0x1325000]
add esp, 0x10
mov esi, dword [0x1325100]
mov edx, dword [0x13250e4]
mov eax, dword [0x13f7ffc]
inc edx
mov dword [0x1325bac], edi
mov dword [0x13250e4], edx
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x4c1208
cmp edi, 0xffffffff
je 0x4c1208
test esi, esi
je 0x4c117a
mov eax, dword [esi + 0x424]
test eax, eax
je 0x4c117a
test edi, edi
jl 0x4c117a
cmp edi, dword [esi + 0x41c]
jge 0x4c117a
mov ebp, dword [esi + 0x420]
imul ebp, edi
add ebp, eax
jmp 0x4c1180
mov ebp, dword [esi + 0x428]
mov eax, dword [esi + 0x9c]
mov edi, dword [esi + 0xa4]
xor edx, edx
test eax, eax
jle 0x4c1240
push ebx
mov eax, dword [edi + 0x30]
test eax, eax
jl 0x4c11f7
cmp eax, dword [esi + 0x41c]
jge 0x4c11f7
mov ecx, eax
mov ebx, 1
and ecx, 7
shl ebx, cl
sar eax, 3
mov cl, byte [eax + ebp]
test cl, bl
je 0x4c11f7
mov eax, dword [edi + 0x34]
mov ebx, 1
mov ecx, eax
and ecx, 7
shl ebx, cl
sar eax, 3
mov al, byte [eax + 0x1325b04]
test al, bl
jne 0x4c11f7
mov eax, edi
mov ecx, dword [0x13250e4]
mov ebx, dword [eax + 4]
cmp ebx, ecx
je 0x4c11f7
mov dword [eax + 4], ecx
mov eax, dword [eax + 0x20]
mov esi, dword [0x1325100]
test eax, eax
jne 0x4c11da
mov eax, dword [esi + 0x9c]
inc edx
add edi, 0x60
cmp edx, eax
jl 0x4c1197
pop ebx
jmp 0x4c1240
mov eax, dword [esi + 0x9c]
xor edx, edx
test eax, eax
jle 0x4c1240
xor ecx, ecx
mov eax, dword [esi + 0xa4]
add eax, ecx
cmp dword [eax], 1
je 0x4c1232
mov esi, dword [0x13250e4]
mov dword [eax + 4], esi
mov esi, dword [0x1325100]
mov eax, dword [esi + 0x9c]
inc edx
add ecx, 0x60
cmp edx, eax
jl 0x4c1216
push 0x1325934
push 0x1325928
call fcn.0045b040
mov eax, dword [0x1325b3c]
add esp, 8
cmp eax, 0x20
pop edi
pop esi
pop ebp
jle 0x4c1269
mov eax, 0x20
mov dword [0x1325b3c], eax
mov ecx, dword [0x1325b40]
push 0x13257c0
push ecx
push eax
call fcn.004bf5a0
mov ecx, dword [0x1325b3c]
mov edx, 1
shl edx, cl
add esp, 0xc
mov eax, dword [0x1325100]
mov ecx, dword [eax + 0xa4]
dec edx
push edx
mov edx, dword [0x1325950]
neg edx
sbb edx, edx
and edx, 0x10
add edx, 0xf
call fcn.004c1300
mov ecx, dword [0x13f8008]
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x4c12bf
call fcn.004d49b0
mov edx, dword [0x13f8100]
mov eax, dword [edx + 0x20]
test eax, eax
je 0x4c12d1
call fcn.004a63f0
mov eax, dword [0x80e6b8]
test eax, eax
je 0x4c12e9
mov dword [0x80e6b8], 0
call fcn.004a6250
add esp, 4
jmp 0x4b0ce0
pop ecx
ret