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

Disassembly:
mov eax, 0x2aec
call fcn.005182b0
mov eax, dword [0x12ff554]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2b04]
push edi
test esi, esi
je 0x4ab30d
test eax, eax
jne 0x4ab30d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2aec
ret
mov ebp, dword [esp + 0x2b10]
test ebp, ebp
je 0x4ab379
mov eax, dword [0x12ff564]
push eax
call fcn.004a1eb0
mov edx, dword [0x12ff554]
mov ecx, dword [0x12ff56c]
mov ebx, eax
mov dword [esp + 0x14], ecx
mov edi, dword [edx + 0x44]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x48], 0x3f800000
mov dword [esp + 0x3c], 0x3f800000
mov dword [esp + 0x44], 0x3f800000
mov dword [esp + 0x40], 0x3f800000
mov dword [esp + 0x20], 0x3f800000
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x18], 0xbf800000
jmp 0x4ab543
test esi, esi
je 0x4ab3cf
mov ecx, dword [esp + 0x2b0c]
test ecx, ecx
je 0x4ab3cf
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x2c]
mov ebx, dword [eax + 8]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0x34]
mov edi, dword [eax + 0x44]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x40]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
jmp 0x4ab546
mov eax, dword [0x12ff608]
mov ecx, dword [eax + 4]
push ecx
call fcn.004a1cd0
add esp, 4
test eax, eax
jne 0x4ab406
mov edx, dword [0x12ff608]
mov eax, dword [edx + 4]
push eax
push str.Bad_decal_shader__s_n
push 0
call dword [0x12ff6a0]
mov ebx, dword [0x12ff7fc]
add esp, 0xc
jmp 0x4ab411
push eax
call fcn.004a1eb0
add esp, 4
mov ebx, eax
mov ecx, dword [0x12ff394]
mov eax, dword [0x12ff604]
mov dword [esp + 0x68], ebx
mov edx, dword [ecx + 0x1c]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x10], edx
mov edx, dword [0x12ff600]
mov dword [esp + 0x44], ecx
mov ecx, dword [0x12ff3a4]
mov eax, dword [edx + 0x1c]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], edx
fld dword [esp + 0x40]
fcomp dword [0x5314c0]
fnstsw ax
test ah, 5
jnp 0x4ab46c
fld dword [esp + 0x40]
fcomp dword [0x5314e8]
fnstsw ax
and eax, 0x4100
jne 0x4ab474
mov dword [esp + 0x40], 0x3f800000
mov eax, dword [0x12ff3a0]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x3c], ecx
fld dword [esp + 0x3c]
fcomp dword [0x5314c0]
fnstsw ax
test ah, 5
jnp 0x4ab4a4
fld dword [esp + 0x3c]
fcomp dword [0x5314e8]
fnstsw ax
and eax, 0x4100
jne 0x4ab4ac
mov dword [esp + 0x3c], 0x3f800000
mov edx, dword [0x12ff39c]
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x1c], eax
fld dword [esp + 0x1c]
fcomp dword [0x5314c0]
fnstsw ax
test ah, 5
jnp 0x4ab4dd
fld dword [esp + 0x1c]
fcomp dword [0x5314e8]
fnstsw ax
and eax, 0x4100
jne 0x4ab4e5
mov dword [esp + 0x1c], 0x3f800000
mov ecx, dword [0x12ff5fc]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x18], edx
fld dword [esp + 0x18]
fcomp dword [0x5314c0]
fnstsw ax
test ah, 5
jnp 0x4ab516
fld dword [esp + 0x18]
fcomp dword [0x5314e8]
fnstsw ax
and eax, 0x4100
jne 0x4ab51e
mov dword [esp + 0x18], 0x3f800000
mov ecx, dword [0x12ff3a8]
xor eax, eax
mov edx, dword [ecx + 0x20]
test edx, edx
mov edx, dword [0x12ff628]
setne al
mov edi, eax
mov eax, dword [edx + 0x1c]
push eax
call fcn.004609c0
fstp dword [esp + 0x18]
add esp, 4
fld dword [esp + 0x10]
fcomp dword [0x5314c0]
fnstsw ax
test ah, 5
jp 0x4ab55f
mov dword [esp + 0x10], 0x3a83126f
fld dword [esp + 0x44]
fcomp dword [0x5314c0]
fnstsw ax
test ah, 5
jp 0x4ab578
mov dword [esp + 0x44], 0x3a83126f
fld dword [esp + 0x38]
fcomp dword [0x5314c0]
fnstsw ax
test ah, 5
jp 0x4ab591
mov dword [esp + 0x38], 0x3a83126f
mov eax, dword [esp + 0x2b00]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x2b04]
lea ecx, [esp + 0x98]
mov dword [esp + 0x34], eax
push ecx
push edx
call fcn.004589a0
add esp, 8
lea eax, [esp + 0x6fc]
lea ecx, [esp + 0xfc]
push eax
push ecx
test ebp, ebp
fstp st(0)
je 0x4ab5f4
xor edx, edx
cmp ebp, 1
sete dl
push edi
push edx
push 0x12ff55c
call dword [0x12ff734]
add esp, 0x14
jmp 0x4ab659
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
push 0x3f000000
fld dword [esp + 0x44]
fmul dword [esp + 0x1c]
push 0x3f000000
push edi
push edx
mov edx, dword [esp + 0x58]
push eax
push ecx
push edx
sub esp, 0xc
fstp dword [esp + 8]
fld dword [esp + 0x74]
fmul dword [esp + 0x40]
fstp dword [esp + 4]
fld dword [esp + 0x44]
fadd dword [0x53192c]
fstp dword [esp]
call fcn.004609c0
fstp dword [esp]
lea eax, [esp + 0xc8]
lea ecx, [esp + 0x5c]
push eax
push ecx
call dword [0x12ff730]
add esp, 0x38
test eax, eax
mov dword [esp + 0x64], eax
jne 0x4ab66e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2aec
ret
test esi, esi
je 0x4ab68c
mov esi, dword [0x12ff554]
push esi
mov dword [esp + 0x58], esi
call fcn.004aafc0
add esp, 4
xor edx, edx
jmp 0x4ab744
mov eax, dword [0x12ff550]
test eax, eax
jne 0x4ab6cf
push 0x4000
call dword [0x12ff6b4]
add esp, 4
test eax, eax
je 0x4ab661
mov dword [0x12ff550], eax
mov ecx, eax
mov esi, 0x7f
lea edx, [ecx + 0x80]
dec esi
mov dword [ecx], edx
mov ecx, edx
jne 0x4ab6b3
mov dword [eax + 0x3f80], 0
mov eax, dword [0x12ff550]
mov edx, dword [eax]
mov ecx, dword [0x12ff4d0]
mov dword [0x12ff550], edx
mov dword [eax], ecx
mov dword [eax + 4], 0x12ff4d0
mov edx, dword [0x12ff4d0]
mov esi, eax
mov dword [edx + 4], eax
mov ecx, dword [0x12ff7fc]
mov dword [0x12ff4d0], eax
mov dword [eax + 8], ecx
xor edx, edx
mov ecx, 0x3f800000
mov dword [eax + 0x14], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], 0xbf800000
mov dword [eax + 0x24], 0x41000000
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], edx
mov dword [eax + 0x34], 0xffffffff
mov dword [eax + 0x44], 1
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov dword [esp + 0x54], esi
mov eax, dword [esp + 0x2c]
cmp ebp, edx
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x10], ecx
mov eax, dword [esp + 0x34]
mov dword [esi + 0x14], eax
mov ecx, dword [esp + 0x98]
mov dword [esi + 0x18], ecx
mov eax, dword [esp + 0x9c]
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x10]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x2c], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x34], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x3c], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 8], ebx
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x30], ecx
je 0x4ab920
cmp ebp, 1
jne 0x4ab82e
mov eax, dword [0x12ff588]
mov dword [esi + 0x50], eax
mov ecx, dword [0x12ff58c]
lea eax, [esi + 0x54]
mov dword [eax], ecx
mov ecx, dword [0x12ff590]
mov dword [esi + 0x58], ecx
mov ecx, dword [0x12ff57c]
mov dword [esi + 0x5c], ecx
mov ecx, dword [0x12ff580]
mov dword [esi + 0x60], ecx
mov ecx, dword [0x12ff584]
mov dword [esi + 0x64], ecx
mov ecx, dword [0x12ff5a8]
mov dword [esi + 0x68], ecx
mov ecx, dword [0x12ff5ac]
mov dword [esi + 0x6c], ecx
mov ecx, dword [0x12ff5b0]
mov dword [esi + 0x70], ecx
mov ecx, dword [0x12ff5b4]
mov dword [esi + 0x74], ecx
mov ecx, dword [0x12ff5b8]
mov dword [esi + 0x78], ecx
mov ecx, dword [0x12ff5bc]
jmp 0x4ab898
mov eax, dword [0x12ff5b4]
mov dword [esi + 0x50], eax
mov ecx, dword [0x12ff5b8]
lea eax, [esi + 0x54]
mov dword [eax], ecx
mov ecx, dword [0x12ff5bc]
mov dword [esi + 0x58], ecx
mov ecx, dword [0x12ff5a8]
mov dword [esi + 0x5c], ecx
mov ecx, dword [0x12ff5ac]
mov dword [esi + 0x60], ecx
mov ecx, dword [0x12ff5b0]
mov dword [esi + 0x64], ecx
mov ecx, dword [0x12ff5d4]
mov dword [esi + 0x68], ecx
mov ecx, dword [0x12ff5d8]
mov dword [esi + 0x6c], ecx
mov ecx, dword [0x12ff5dc]
mov dword [esi + 0x70], ecx
mov ecx, dword [0x12ff5e0]
mov dword [esi + 0x74], ecx
mov ecx, dword [0x12ff5e4]
mov dword [esi + 0x78], ecx
mov ecx, dword [0x12ff5e8]
mov dword [esi + 0x7c], ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov ecx, 4
fld dword [esp + 0x2c]
fadd dword [eax - 4]
add eax, 0xc
dec ecx
fstp dword [esp + 0x2c]
fld dword [esp + 0x30]
fadd dword [eax - 0xc]
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fadd dword [eax - 8]
fstp dword [esp + 0x34]
jne 0x4ab8b8
fld dword [esp + 0x2c]
fmul qword [0x531a98]
fst dword [esp + 0x2c]
fld dword [esp + 0x30]
fmul qword [0x531a98]
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fmul qword [0x531a98]
fadd dword [0x531744]
fstp dword [esp + 0x34]
fstp dword [esi + 0xc]
mov eax, dword [esp + 0x30]
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x14], ecx
lea eax, [esp + 0xfc]
xor ebp, ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x64]
cmp eax, edx
mov dword [esp + 0x44], ebp
jle 0x4ac2e9
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x4ac2c5
mov ebx, ecx
xor ecx, ecx
test ebx, ebx
mov dword [esp + 0x10], ebx
jle 0x4ab992
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
lea eax, [eax + eax*2]
lea eax, [esp + eax*8 + 0x6fc]
mov dword [esp + ecx*4 + 0x78], eax
inc ecx
add eax, 0x18
cmp ecx, ebx
jl 0x4ab977
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x78]
fld dword [edi]
fsub dword [eax]
lea ecx, [esp + 0x58]
push ecx
fstp dword [esp + 0x24]
fld dword [edi + 4]
fsub dword [eax + 4]
fstp dword [esp + 0x28]
fld dword [edi + 8]
fsub dword [eax + 8]
fstp dword [esp + 0x2c]
fld dword [edx]
fsub dword [eax]
fstp dword [esp + 0x4c]
fld dword [edx + 4]
fsub dword [eax + 4]
fstp dword [esp + 0x50]
fld dword [edx + 8]
fsub dword [eax + 8]
fst dword [esp + 0x54]
fmul dword [esp + 0x28]
fld dword [esp + 0x50]
fmul dword [esp + 0x2c]
fsubp st(1)
fstp dword [esp + 0x5c]
fld dword [esp + 0x4c]
fmul dword [esp + 0x2c]
fld dword [esp + 0x54]
fmul dword [esp + 0x24]
fsubp st(1)
fstp dword [esp + 0x60]
fld dword [esp + 0x50]
fmul dword [esp + 0x24]
fld dword [esp + 0x4c]
fmul dword [esp + 0x28]
fsubp st(1)
fstp dword [esp + 0x64]
call fcn.004588d0
fstp st(0)
fld dword [esp + 0x60]
fmul dword [edi + 4]
fld dword [esp + 0x64]
fmul dword [edi + 8]
mov edx, dword [esp + 0x20]
add esp, 4
faddp st(1)
fld dword [esp + 0x58]
fmul dword [edi]
mov eax, dword [edx + 8]
test eax, eax
faddp st(1)
fstp dword [esp + 0x3c]
jg 0x4abe66
mov ecx, dword [esp + 0x64]
lea eax, [ebp + 1]
cmp eax, ecx
jge 0x4abe66
lea ecx, [eax + eax*2]
lea edi, [esp + ecx*4 + 0x100]
mov ecx, dword [esp + 0x64]
sub ecx, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x38], ecx
cmp dword [edi], 0
je 0x4abe50
mov eax, dword [edi + 4]
test eax, eax
jg 0x4abe50
mov edx, dword [esp + 0x1c]
cmp dword [edx + 8], eax
jne 0x4abe50
mov eax, dword [edi - 4]
fld dword [esp + 0x60]
lea eax, [eax + eax*2]
fmul dword [esp + eax*8 + 0x704]
fld dword [esp + 0x5c]
fmul dword [esp + eax*8 + 0x700]
lea ebp, [esp + eax*8 + 0x6fc]
faddp st(1)
fld dword [esp + 0x58]
fmul dword [ebp]
faddp st(1)
fsub dword [esp + 0x3c]
fabs
fcomp qword [0x531960]
fnstsw ax
and eax, 0x4100
je 0x4abe50
fld dword [ebp]
fsub dword [ebp + 0x18]
lea ecx, [esp + 0x6c]
push ecx
fstp dword [esp + 0x24]
fld dword [ebp + 4]
fsub dword [ebp + 0x1c]
fstp dword [esp + 0x28]
fld dword [ebp + 8]
fsub dword [ebp + 0x20]
fstp dword [esp + 0x2c]
fld dword [ebp + 0x30]
fsub dword [ebp + 0x18]
fstp dword [esp + 0x4c]
fld dword [ebp + 0x34]
fsub dword [ebp + 0x1c]
fstp dword [esp + 0x50]
fld dword [ebp + 0x38]
fsub dword [ebp + 0x20]
fst dword [esp + 0x54]
fmul dword [esp + 0x28]
fld dword [esp + 0x50]
fmul dword [esp + 0x2c]
fsubp st(1)
fstp dword [esp + 0x70]
fld dword [esp + 0x4c]
fmul dword [esp + 0x2c]
fld dword [esp + 0x54]
fmul dword [esp + 0x24]
fsubp st(1)
fstp dword [esp + 0x74]
fld dword [esp + 0x50]
fmul dword [esp + 0x24]
fld dword [esp + 0x4c]
fmul dword [esp + 0x28]
fsubp st(1)
fstp dword [esp + 0x78]
call fcn.004588d0
lea edx, [esp + 0x70]
lea eax, [esp + 0x5c]
push edx
push eax
fstp st(0)
call fcn.00458690
add esp, 0xc
test eax, eax
je 0x4abe44
xor eax, eax
test ebx, ebx
mov dword [esp + 0x14], eax
jle 0x4abe44
mov ecx, dword [edi]
xor esi, esi
test ecx, ecx
jle 0x4abbe7
mov edx, dword [esp + eax*4 + 0x78]
mov ebx, ebp
mov dword [esp + 0x40], edx
lea edi, [esi + 1]
mov eax, edi
cdq
idiv ecx
lea eax, [edx + edx*2]
mov edx, dword [esp + 0x40]
lea ecx, [ebp + eax*8]
push ecx
push edx
call fcn.00458690
add esp, 8
test eax, eax
je 0x4abbce
mov eax, dword [esp + 0x14]
push ebx
inc eax
cdq
idiv dword [esp + 0x14]
mov ecx, dword [esp + edx*4 + 0x7c]
push ecx
call fcn.00458690
add esp, 8
test eax, eax
jne 0x4abbf5
mov edx, dword [esp + 0x18]
mov esi, edi
add ebx, 0x18
mov ecx, dword [edx]
cmp esi, ecx
jl 0x4abb91
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov edi, edx
inc eax
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x4abb7f
jmp 0x4abe44
mov eax, dword [esp + 0x10]
mov ecx, 1
xor ebx, ebx
cmp eax, ecx
jle 0x4abc25
mov edi, dword [esp + 0x14]
lea eax, [ecx + edi]
cdq
idiv dword [esp + 0x10]
inc ebx
inc ecx
mov eax, dword [esp + edx*4 + 0x78]
mov dword [esp + ebx*4 + 0xb8], eax
mov eax, dword [esp + 0x10]
cmp ecx, eax
jl 0x4abc08
mov edx, dword [esp + 0x18]
mov ecx, 1
mov edi, dword [edx]
cmp edi, ecx
jle 0x4abc4e
lea eax, [esi + ecx]
cdq
idiv edi
inc ebx
inc ecx
cmp ecx, edi
lea eax, [edx + edx*2]
lea edx, [ebp + eax*8]
mov dword [esp + ebx*4 + 0xb8], edx
jl 0x4abc34
xor edi, edi
test ebx, ebx
jle 0x4abe1a
mov ebp, 1
mov eax, ebp
mov esi, dword [esp + edi*4 + 0xbc]
cdq
idiv ebx
lea eax, [esp + 0x6c]
push eax
mov edx, dword [esp + edx*4 + 0xc0]
fld dword [edx]
fsub dword [esi]
fstp dword [esp + 0x24]
fld dword [edx + 4]
fsub dword [esi + 4]
fstp dword [esp + 0x28]
fld dword [edx + 8]
fsub dword [esi + 8]
fstp dword [esp + 0x2c]
fld dword [esp + 0x60]
fmul dword [esp + 0x2c]
fld dword [esp + 0x64]
fmul dword [esp + 0x28]
fsubp st(1)
fstp dword [esp + 0x70]
fld dword [esp + 0x64]
fmul dword [esp + 0x24]
fld dword [esp + 0x5c]
fmul dword [esp + 0x2c]
fsubp st(1)
fstp dword [esp + 0x74]
fld dword [esp + 0x5c]
fmul dword [esp + 0x28]
fld dword [esp + 0x60]
fmul dword [esp + 0x24]
fsubp st(1)
fstp dword [esp + 0x78]
call fcn.004588d0
fstp st(0)
fld dword [esp + 0x74]
fmul dword [esi + 4]
fld dword [esp + 0x78]
fmul dword [esi + 8]
add esp, 4
xor ecx, ecx
faddp st(1)
fld dword [esp + 0x6c]
fmul dword [esi]
faddp st(1)
fadd dword [0x531c2c]
cmp ecx, edi
je 0x4abd2f
mov eax, dword [esp + ecx*4 + 0xbc]
fld dword [esp + 0x74]
fmul dword [eax + 8]
fld dword [esp + 0x70]
fmul dword [eax + 4]
faddp st(1)
fld dword [esp + 0x6c]
fmul dword [eax]
faddp st(1)
fcomp st(1)
fnstsw ax
and eax, 0x4100
je 0x4abe42
inc ecx
cmp ecx, ebx
jl 0x4abcfd
inc edi
inc ebp
cmp edi, ebx
fstp st(0)
jl 0x4abc5d
lea ecx, [esp + 0xbc]
mov ebp, 1
mov dword [esp + 0x14], ecx
mov eax, ebp
cdq
idiv ebx
mov eax, dword [esp + edx*4 + 0xbc]
mov edx, dword [esp + 0x14]
mov esi, dword [edx]
fld dword [eax]
fsub dword [esi]
fstp dword [esp + 0x20]
fld dword [eax + 4]
fsub dword [esi + 4]
fstp dword [esp + 0x24]
fld dword [eax + 8]
fsub dword [esi + 8]
lea eax, [esp + 0x20]
push eax
fstp dword [esp + 0x2c]
call fcn.004588d0
lea eax, [ebx + ebp - 2]
lea ecx, [esp + 0x4c]
cdq
fstp st(0)
idiv ebx
fld dword [esi]
push ecx
mov eax, dword [esp + edx*4 + 0xc4]
fsub dword [eax]
fstp dword [esp + 0x50]
fld dword [esi + 4]
fsub dword [eax + 4]
fstp dword [esp + 0x54]
fld dword [esi + 8]
fsub dword [eax + 8]
fstp dword [esp + 0x58]
call fcn.004588d0
fstp st(0)
fld dword [esp + 0x58]
fmul dword [esp + 0x30]
fld dword [esp + 0x54]
fmul dword [esp + 0x2c]
add esp, 8
faddp st(1)
fld dword [esp + 0x48]
fmul dword [esp + 0x20]
faddp st(1)
fcomp qword [0x531b00]
fnstsw ax
and eax, 0x4100
jne 0x4abe03
cmp ebp, ebx
jge 0x4abe02
mov edx, dword [esp + 0x14]
mov ecx, ebx
sub ecx, ebp
lea esi, [edx + 4]
lea edi, [esi - 4]
rep movsd dword es:[edi], dword [esi]
dec ebx
mov esi, dword [esp + 0x14]
add esi, 4
inc ebp
mov dword [esp + 0x14], esi
lea eax, [ebp - 1]
cmp eax, ebx
jl 0x4abd50
cmp ebx, 8
jg 0x4abe44
test ebx, ebx
mov dword [esp + 0x10], ebx
jle 0x4abe36
mov ecx, ebx
lea esi, [esp + 0xbc]
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
mov dword [ecx], 0
jmp 0x4abe44
fstp st(0)
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
add edi, 0xc
dec eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x38], eax
jne 0x4aba69
mov ebx, dword [0x12ff4cc]
test ebx, ebx
jne 0x4abeb4
push 0x18000
call dword [0x12ff6b4]
add esp, 4
test eax, eax
je 0x4ac2e9
mov dword [0x12ff4cc], eax
lea ecx, [eax + 0xd8]
mov edx, 0x17f
lea esi, [ecx + 0x28]
mov dword [ecx], esi
add ecx, 0x100
dec edx
jne 0x4abe96
mov dword [eax + 0x17fd8], 0
mov ebx, dword [0x12ff4cc]
mov edx, dword [ebx + 0xd8]
lea eax, [ebx + 0xd8]
mov ebp, dword [esp + 0x10]
mov dword [0x12ff4cc], edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
lea edx, [ebx + 0x18]
mov dword [ebx], 4
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], eax
xor eax, eax
mov dword [ebx + 8], ebp
test ebp, ebp
jle 0x4abeff
mov esi, dword [esp + eax*4 + 0x78]
mov edi, edx
inc eax
mov ecx, 6
add edx, 0x18
cmp eax, ebp
rep movsd dword es:[edi], dword [esi]
jl 0x4abeea
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 8]
mov dword [ebx + 0xfc], 0
mov eax, edx
mov dword [ebx + 4], edx
mov ecx, dword [0x12ff614]
test eax, eax
jle 0x4abf3d
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x4ac2c5
mov edx, dword [0x12ff390]
mov esi, dword [edx + 0x20]
test esi, esi
je 0x4ac2c5
test eax, eax
jge 0x4abff6
mov ecx, dword [0x12ff388]
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x4ac2c5
lea edx, [eax + eax*2]
mov eax, dword [0x12ff7a0]
shl edx, 4
mov esi, dword [eax + 0x90]
sub esi, edx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4abf77
mov ecx, dword [esi + 0x24]
cmp dword [eax + ecx*4], 0xffffffff
jne 0x4abfe1
mov edx, dword [esi + 0x24]
lea eax, [edx*4 + 0x200]
push eax
call dword [0x12ff6c0]
mov edi, eax
add esp, 4
test edi, edi
je 0x4ac2ae
mov ecx, dword [esi + 0x24]
lea edx, [ecx*4 + 0x200]
shr edx, 2
push edx
push 0
push edi
call fcn.0044c5f0
mov eax, dword [esi + 0x24]
add esp, 0xc
mov dword [edi + eax*4 + 0x1fc], 0xffffffff
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4abfde
mov ecx, dword [esi + 0x24]
shl ecx, 2
push ecx
push eax
push edi
call fcn.0044c6a0
mov edx, dword [esi + 0x20]
push edx
call dword [0x12ff6c4]
add esp, 0x10
mov dword [esi + 0x20], edi
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
mov dword [ecx + eax*4], ebx
mov eax, dword [esi + 0x24]
inc eax
mov dword [esi + 0x24], eax
jmp 0x4ac2ae
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x4ac2c5
lea edx, [esp + 0xb0]
lea eax, [esp + 0xa4]
push edx
push eax
call fcn.00458b20
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov eax, dword [ebx + 8]
add esp, 8
mov dword [esp + 0x14], 0
test eax, eax
jle 0x4ac1aa
lea ebp, [ebx + 0x1c]
fld dword [esp + 0x58]
fadd dword [ebp - 4]
lea ecx, [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x5c]
fadd dword [ebp]
fstp dword [esp + 0x24]
fld dword [esp + 0x60]
fadd dword [ebp + 4]
fstp dword [esp + 0x28]
call fcn.004bc430
mov esi, eax
test esi, esi
je 0x4ac154
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4ac154
test al, 1
jne 0x4ac154
mov ecx, dword [ebx + 0xfc]
xor eax, eax
test ecx, ecx
jle 0x4ac0ac
lea edx, [ebx + 0xdc]
cmp dword [edx], esi
je 0x4ac0ac
inc eax
add edx, 4
cmp eax, ecx
jl 0x4ac0a0
cmp eax, ecx
jne 0x4ac154
mov eax, dword [esi + 0x58]
test eax, eax
je 0x4ac0c4
mov ecx, dword [esi + 0x5c]
cmp dword [eax + ecx*4], 0xffffffff
jne 0x4ac12a
mov edx, dword [esi + 0x5c]
lea eax, [edx*4 + 0x200]
push eax
call dword [0x12ff6c0]
mov edi, eax
add esp, 4
test edi, edi
je 0x4ac13a
mov ecx, dword [esi + 0x5c]
lea edx, [ecx*4 + 0x200]
shr edx, 2
push edx
push 0
push edi
call fcn.0044c5f0
mov eax, dword [esi + 0x5c]
add esp, 0xc
mov dword [edi + eax*4 + 0x1fc], 0xffffffff
mov eax, dword [esi + 0x58]
test eax, eax
je 0x4ac127
mov ecx, dword [esi + 0x5c]
shl ecx, 2
push ecx
push eax
push edi
call fcn.0044c6a0
mov edx, dword [esi + 0x58]
push edx
call dword [0x12ff6c4]
add esp, 0x10
mov dword [esi + 0x58], edi
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
mov dword [ecx + eax*4], ebx
mov eax, dword [esi + 0x5c]
inc eax
mov dword [esi + 0x5c], eax
mov edx, dword [ebx + 0xfc]
mov dword [ebx + edx*4 + 0xdc], esi
mov eax, dword [ebx + 0xfc]
inc eax
mov dword [ebx + 0xfc], eax
lea eax, [esp + 0xb0]
lea ecx, [esp + 0xa4]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.00458b90
fld dword [esp + 0x2c]
fadd dword [esp + 0x38]
mov eax, dword [esp + 0x20]
add esp, 0xc
inc eax
add ebp, 0x18
mov dword [esp + 0x14], eax
fstp dword [esp + 0x2c]
fld dword [esp + 0x24]
fadd dword [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esp + 0x28]
fadd dword [esp + 0x34]
fstp dword [esp + 0x34]
cmp eax, dword [ebx + 8]
jl 0x4ac047
fild dword [ebx + 8]
lea ecx, [esp + 0x2c]
fdivr dword [0x5314e8]
fmul dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fild dword [ebx + 8]
fdivr dword [0x5314e8]
fmul dword [esp + 0x30]
fstp dword [esp + 0x30]
fild dword [ebx + 8]
fdivr dword [0x5314e8]
fmul dword [esp + 0x34]
fstp dword [esp + 0x34]
call fcn.004bc430
mov ecx, dword [ebx + 0xfc]
mov esi, eax
xor eax, eax
test ecx, ecx
jle 0x4ac206
lea edx, [ebx + 0xdc]
cmp dword [edx], esi
je 0x4ac206
inc eax
add edx, 4
cmp eax, ecx
jl 0x4ac1fa
cmp eax, ecx
jne 0x4ac2ae
mov eax, dword [esi + 0x58]
test eax, eax
je 0x4ac21e
mov ecx, dword [esi + 0x5c]
cmp dword [eax + ecx*4], 0xffffffff
jne 0x4ac284
mov edx, dword [esi + 0x5c]
lea eax, [edx*4 + 0x200]
push eax
call dword [0x12ff6c0]
mov edi, eax
add esp, 4
test edi, edi
je 0x4ac294
mov ecx, dword [esi + 0x5c]
lea edx, [ecx*4 + 0x200]
shr edx, 2
push edx
push 0
push edi
call fcn.0044c5f0
mov eax, dword [esi + 0x5c]
add esp, 0xc
mov dword [edi + eax*4 + 0x1fc], 0xffffffff
mov eax, dword [esi + 0x58]
test eax, eax
je 0x4ac281
mov ecx, dword [esi + 0x5c]
shl ecx, 2
push ecx
push eax
push edi
call fcn.0044c6a0
mov edx, dword [esi + 0x58]
push edx
call dword [0x12ff6c4]
add esp, 0x10
mov dword [esi + 0x58], edi
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
mov dword [ecx + eax*4], ebx
mov eax, dword [esi + 0x5c]
inc eax
mov dword [esi + 0x5c], eax
mov edx, dword [ebx + 0xfc]
mov dword [ebx + edx*4 + 0xdc], esi
mov eax, dword [ebx + 0xfc]
inc eax
mov dword [ebx + 0xfc], eax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x38]
mov ecx, dword [eax + 0x48]
mov dword [edx], ecx
mov ecx, dword [eax + 0x4c]
inc ecx
mov dword [eax + 0x48], ebx
mov dword [eax + 0x4c], ecx
mov ebp, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x54]
inc ebp
add ecx, 0xc
cmp ebp, eax
mov dword [esp + 0x44], ebp
mov dword [esp + 0x1c], ecx
jl 0x4ab93d
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2aec
ret