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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x100
mov eax, dword [0x73bb00]
xor eax, esp
mov dword [esp + 0xfc], eax
push esi
push edi
mov edi, ecx
call fcn.005d2840
cmp dword [eax + 8], 3
je 0x4aaf9a
mov ecx, edi
call fcn.005d2840
cmp dword [eax + 8], 4
jne 0x4ab8db
mov ecx, dword [edi + 4]
call fcn.00522970
mov ecx, edi
mov byte [esp + 0xf], al
call fcn.005d2840
mov ecx, dword [0x780c78]
mov esi, dword [eax + ecx*4 + 0x20]
mov ecx, edi
call fcn.005d2840
mov eax, 0x51eb851f
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x32
sub esi, eax
mov eax, 0x2e8ba2e9
imul esi
mov ecx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x16
sub ecx, eax
mov eax, 0x66666667
cmp ecx, 4
mov dword [esp + 0x3c], ecx
setl byte [esp + 0x11]
imul esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
mov eax, esi
shl ecx, 2
sub eax, ecx
mov ecx, dword [edi + 4]
cmp eax, 2
mov eax, 0x2aaaaaab
setl byte [esp + 0x1b]
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
add eax, eax
sub esi, eax
cmp esi, 2
setl byte [esp + 0x13]
call fcn.0052c630
mov ecx, edi
mov dword [esp + 0x28], eax
call fcn.005d2840
mov ecx, dword [0x780c78]
mov esi, dword [eax + ecx*4 + 0x20]
mov ecx, edi
sub esi, 4
call fcn.005d2840
mov ecx, dword [0x780c78]
mov ecx, dword [eax + ecx*4 + 0x20]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
cmp ecx, esi
cmovl ecx, esi
mov dword [esp + 0x38], ecx
mov ecx, edi
call fcn.005d2840
mov ecx, dword [0x780c78]
mov ecx, dword [eax + ecx*4 + 0x20]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 4]
call fcn.0052b320
test al, al
je 0x4ab4a6
cmp dword [0x78042c], 0
mov eax, dword [edi + 4]
je 0x4ab4a6
cmp dword [0x780434], 0
je 0x4ab4a6
cmp byte [eax + 0x527580], 0
jne 0x4ab4a6
mov eax, dword [eax + 0x5267f8]
cmp dword [eax + 8], 4
je 0x4ab4a6
cmp dword [0x780438], 0
je 0x4ab4a6
cmp dword [0x780440], 0
je 0x4ab4a6
mov ecx, dword [edi + 4]
push 0
mov byte [esp + 0x12], 1
lea eax, [ecx + 0x574e5c]
add ecx, 0x575108
mov dword [esp + 0x20], eax
call fcn.00538140
mov esi, eax
test esi, esi
je 0x4ab1ec
mov al, byte [esp + 0xe]
mov byte [esp + 0xe], al
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
nop dword [eax]
cmp byte [esp + 0xf], 0
jne 0x4ab1bc
mov ecx, dword [esi + 0x28]
test ecx, ecx
jle 0x4ab1bc
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x9cc8e161
sub ecx, edx
mov dword [esp + 0x20], edx
imul ecx
add edx, ecx
mov ecx, dword [esi + 0x28]
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jge 0x4ab1bc
imul eax, ecx, 0x344
mov ecx, dword [esp + 0x28]
add eax, dword [esp + 0x20]
cmp byte [eax + ecx], 0
jne 0x4ab1bc
cmp byte [esi + 0x64], 0
movzx ecx, byte [esp + 0x1b]
movzx eax, byte [esp + 0x13]
cmovne ecx, eax
test cl, cl
jne 0x4ab1dd
lea eax, [esp + 0xc8]
mov ecx, esi
push eax
call fcn.005362d0
push dword [esi + 0x14]
lea eax, [esp + 0xcc]
mov ecx, edi
push eax
call fcn.004acec0
mov esi, dword [esi + 8]
mov eax, dword [esp + 0x1c]
test esi, esi
jne 0x4ab160
mov ecx, dword [edi + 4]
add ecx, 0x575108
push 1
call fcn.00538140
mov esi, eax
test esi, esi
je 0x4ab25e
push 0
push 0x73db28
push 0x73db10
push 0
push esi
call fcn.0063540d
add esp, 0x14
test eax, eax
je 0x4ab257
mov ecx, dword [eax + 0x60]
test ecx, ecx
js 0x4ab257
imul edx, ecx, 0x1208
mov ecx, dword [edi + 4]
cmp byte [edx + ecx + 0x52ba99], 0
je 0x4ab257
lea ecx, [esp + 0x90]
push ecx
mov ecx, eax
call fcn.00535340
push 1
lea eax, [esp + 0x94]
mov ecx, edi
push eax
call fcn.004ac200
mov esi, dword [esi + 8]
test esi, esi
jne 0x4ab202
mov ecx, dword [edi + 4]
add ecx, 0x575108
push 7
call fcn.00538140
mov esi, eax
test esi, esi
je 0x4ab32f
cmp byte [esp + 0xf], 0
jne 0x4ab2d0
cmp dword [esi + 0x2c], 4
jne 0x4ab2d0
mov eax, dword [esi + 0x28]
test eax, eax
jle 0x4ab2d0
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x9cc8e161
sub ecx, edx
mov dword [esp + 0x20], edx
imul ecx
add edx, ecx
mov ecx, dword [esi + 0x28]
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jge 0x4ab2d0
imul eax, ecx, 0x344
mov ecx, dword [esp + 0x28]
add eax, dword [esp + 0x20]
cmp byte [eax + ecx], 0
jne 0x4ab2d0
cmp dword [esp + 0x3c], 4
jl 0x4ab324
cmp byte [esi + 0x54], 0
je 0x4ab324
mov ecx, dword [edi + 4]
push 7
push dword [esi + 0x14]
add ecx, 0x575630
call fcn.00538530
mov dword [esp + 0x20], eax
test eax, eax
je 0x4ab324
lea eax, [esp + 0x70]
mov ecx, esi
push eax
call fcn.00535960
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x80]
push eax
call fcn.00535960
push 1
lea eax, [esp + 0x74]
mov ecx, edi
push eax
lea eax, [esp + 0x88]
push eax
call fcn.004aca90
mov esi, dword [esi + 8]
test esi, esi
jne 0x4ab278
mov dl, byte [esp + 0xe]
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x575ea0]
mov esi, dword [eax + 0x575e9c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], esi
cmp esi, ecx
je 0x4ab7d8
mov eax, dword [esi + 8]
movq xmm0, qword [esi]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x78], eax
mov eax, dword [esi + 0xc]
movq qword [esp + 0x70], xmm0
mov esi, dword [esp + 0x70]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ecx
cmp esi, 2
je 0x4ab677
cmp esi, 0x10026
je 0x4ab677
cmp esi, 0x10028
je 0x4ab677
cmp esi, 4
je 0x4ab5a3
cmp esi, 0x10029
je 0x4ab5a3
cmp esi, 3
je 0x4ab3bc
cmp esi, 0x10027
jne 0x4ab7bf
test dl, dl
je 0x4ab414
mov ecx, dword [edi + 4]
push 0
push 0x73db28
push 0x73db10
push 0
push eax
push esi
push dword [esp + 0x8c]
add ecx, 0x574be0
call fcn.00538160
push eax
call fcn.0063540d
add esp, 0x14
test eax, eax
je 0x4ab410
mov eax, dword [eax + 0x60]
test eax, eax
js 0x4ab410
imul ecx, eax, 0x1208
mov eax, dword [edi + 4]
cmp byte [ecx + eax + 0x52ba99], 0
jne 0x4ab7bf
mov ecx, dword [esp + 0x24]
mov eax, dword [edi + 4]
push ecx
add eax, 0x574be0
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0xd4]
push esi
push eax
call fcn.0052dcd0
add esp, 0x14
cmp byte [esp + 0xf], 0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x90], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0xa0], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esp + 0xb0], xmm0
jne 0x4ab4bd
mov esi, dword [esp + 0xb0]
test esi, esi
jle 0x4ab4bd
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x9cc8e161
sub ecx, edx
mov dword [esp + 0x24], edx
imul ecx
add edx, ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jge 0x4ab4bd
mov ecx, dword [esp + 0x28]
imul eax, esi, 0x344
add eax, dword [esp + 0x24]
cmp byte [eax + ecx], 0
jne 0x4ab4bd
mov cl, 1
jmp 0x4ab4bf
mov eax, dword [edi + 4]
xor dl, dl
add eax, 0x574e5c
mov byte [esp + 0xe], dl
mov dword [esp + 0x1c], eax
jmp 0x4ab333
xor cl, cl
xor al, al
mov byte [esp + 0x10], cl
mov byte [esp + 0x12], al
mov eax, dword [esp + 0xac]
cmp eax, 3
jne 0x4ab4e2
mov cl, byte [esp + 0x13]
mov eax, dword [esp + 0x38]
jmp 0x4ab55c
cmp eax, 5
jne 0x4ab4f1
mov cl, byte [esp + 0x11]
mov eax, dword [esp + 0x30]
jmp 0x4ab55c
cmp eax, 4
jne 0x4ab500
mov cl, byte [esp + 0x11]
mov eax, dword [esp + 0x38]
jmp 0x4ab55c
cmp eax, 2
jne 0x4ab53f
cmp byte [esp + 0xb8], 0
je 0x4ab547
test cl, cl
jne 0x4ab519
cmp byte [esp + 0xf], cl
je 0x4ab547
movss xmm0, dword [esp + 0x98]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [esp + 0x9c]
movss dword [esp + 0x94], xmm0
jmp 0x4ab547
mov al, byte [esp + 0x11]
mov byte [esp + 0x12], al
mov ecx, edi
call fcn.005d2840
mov ecx, dword [0x780c78]
mov eax, dword [eax + ecx*4 + 0x20]
mov cl, byte [esp + 0x12]
cmp byte [esp + 0xb8], 0
je 0x4ab575
cmp byte [esp + 0x10], 0
je 0x4ab575
test cl, cl
jne 0x4ab7bf
mov ecx, dword [esp + 0xa0]
test ecx, ecx
jg 0x4ab58d
cmp eax, 0xffffffff
cmovne ecx, eax
mov dword [esp + 0xa0], ecx
push 0
lea eax, [esp + 0x94]
mov ecx, edi
push eax
call fcn.004ac200
jmp 0x4ab7bf
push ecx
push eax
lea eax, [esp + 0x48]
push esi
push eax
call fcn.00530220
add esp, 0x10
cmp byte [esp + 0xf], 0
movups xmm0, xmmword [eax]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x24], eax
movups xmmword [esp + 0x5c], xmm0
jne 0x4ab616
test eax, eax
jle 0x4ab616
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x9cc8e161
sub ecx, edx
mov dword [esp + 0x2c], edx
imul ecx
add edx, ecx
mov ecx, dword [esp + 0x24]
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jge 0x4ab616
imul eax, ecx, 0x344
mov ecx, dword [esp + 0x28]
add eax, dword [esp + 0x2c]
cmp byte [eax + ecx], 0
jne 0x4ab616
cmp dword [esp + 0x3c], 4
jl 0x4ab7bf
cmp byte [esp + 0xe], 0
je 0x4ab642
push dword [esp + 0x14]
mov ecx, dword [edi + 4]
push esi
push dword [esp + 0x7c]
add ecx, 0x574be0
call fcn.00538160
test eax, eax
je 0x4ab642
cmp byte [eax + 0x54], 0
jne 0x4ab7bf
mov ecx, edi
call fcn.005d2840
push dword [esp + 0x74]
push esi
mov ecx, dword [eax]
push 1
mov edx, dword [ecx + 0xac]
mov ecx, eax
call edx
test eax, eax
je 0x4ab7bf
push 0
push dword [esp + 0x18]
mov ecx, edi
push eax
call fcn.004aca90
jmp 0x4ab7bf
mov eax, dword [edi + 4]
push ecx
add eax, 0x574be0
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x9c]
push esi
push eax
call fcn.00539700
add esp, 0x14
cmp byte [esp + 0xf], 0
movups xmm0, xmmword [eax]
movups xmmword [esp + 0xc8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0xd8], xmm0
movups xmm0, xmmword [eax + 0x20]
mov eax, dword [eax + 0x30]
mov dword [esp + 0xf8], eax
movups xmmword [esp + 0xe8], xmm0
jne 0x4ab732
cmp dword [esp + 0xf4], 0
jle 0x4ab732
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x9cc8e161
sub ecx, edx
mov dword [esp + 0x2c], edx
imul ecx
add edx, ecx
mov ecx, dword [esp + 0xf4]
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jge 0x4ab732
imul eax, ecx, 0x344
mov ecx, dword [esp + 0x28]
add eax, dword [esp + 0x2c]
cmp byte [eax + ecx], 0
jne 0x4ab732
cmp byte [esp + 0xe8], 0
movzx ecx, byte [esp + 0x1b]
movzx eax, byte [esp + 0x13]
cmovne ecx, eax
test cl, cl
jne 0x4ab7bf
cmp byte [esp + 0xe], 0
mov eax, dword [esp + 0x74]
je 0x4ab7af
push dword [esp + 0x14]
mov ecx, dword [edi + 4]
push esi
add ecx, 0x574be0
push eax
call fcn.00538160
mov dword [esp + 0x14], eax
test eax, eax
je 0x4ab7ab
push dword [eax + 0x50]
mov ecx, dword [edi + 4]
call fcn.005229b0
mov edx, dword [esp + 0x14]
mov byte [esp + 0x10], al
cmp dword [edx + 0x38], 0
jg 0x4ab78c
cmp dword [edx + 0x54], 2
jne 0x4ab8ef
cmp byte [edx + 0x6c], 0
jne 0x4ab78c
cmp byte [edx + 0x64], 0
je 0x4ab962
mov esi, dword [esp + 0x14]
mov ecx, edi
call fcn.005d2840
cmp byte [esp + 0x10], 0
mov ecx, dword [0x780c78]
mov eax, dword [eax + ecx*4 + 0x20]
mov dword [esi + 0x38], eax
je 0x4ab7bf
mov eax, dword [esp + 0x74]
push eax
lea eax, [esp + 0xcc]
mov ecx, edi
push eax
call fcn.004acec0
mov esi, dword [esp + 0x20]
mov dl, byte [esp + 0xe]
add esi, 0x14
mov dword [esp + 0x20], esi
cmp esi, dword [esp + 0x34]
jne 0x4ab352
mov ecx, edi
call fcn.005d2840
push 0
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa8]
mov ecx, eax
call edx
xor esi, esi
mov dword [esp + 0x30], eax
test eax, eax
jle 0x4ab88f
nop dword [eax + eax]
mov ecx, edi
call fcn.005d2840
mov ecx, dword [eax]
mov edx, dword [ecx + 0xb0]
lea ecx, [esp + 0x70]
push ecx
push esi
push 0
mov ecx, eax
call edx
cmp dword [esp + 0x70], 5
mov dword [esp + 0x34], eax
jne 0x4ab884
mov ecx, edi
call fcn.005d2840
push dword [esp + 0x74]
push dword [esp + 0x74]
mov ecx, dword [eax]
push 1
mov edx, dword [ecx + 0xac]
mov ecx, eax
call edx
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4ab884
mov ecx, edi
call fcn.005d2840
mov ecx, dword [eax]
mov edx, dword [ecx + 0xac]
mov ecx, dword [edi + 4]
push dword [ecx + 0x52706c]
mov ecx, eax
push 7
push 1
call edx
mov ecx, dword [edi + 4]
push dword [ecx + 0x527068]
mov ecx, edi
push eax
push dword [esp + 0x3c]
push dword [esp + 0x38]
call fcn.004abfe0
inc esi
cmp esi, dword [esp + 0x30]
jl 0x4ab800
mov ecx, edi
call fcn.005d28e0
push ecx
mov ecx, eax
mov dword [esp], 0
mov edx, dword [eax]
call dword [edx + 0x14c]
mov ecx, edi
call fcn.005d28e0
sub esp, 0x10
mov ecx, eax
mov edx, dword [eax]
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3f800000
call dword [edx + 0x1c4]
mov ecx, dword [esp + 0x104]
pop edi
pop esi
xor ecx, esp
call fcn.0063292f
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x44]
mov ecx, dword [edx + 0x48]
mov dword [esp + 0x80], eax
movss xmm0, dword [esp + 0x80]
mulss xmm0, dword [edx + 0x44]
mov dword [esp + 0x84], ecx
movss xmm1, dword [esp + 0x84]
mulss xmm1, dword [edx + 0x48]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x4ab935
sqrtsd xmm0, xmm0
jmp 0x4ab93a
call fcn.00649080
movss xmm1, dword [str._n___]
cvtsd2ss xmm0, xmm0
subss xmm0, dword [0x67b0b4]
andps xmm0, xmmword [0x67ed80]
comiss xmm1, xmm0
jbe 0x4ab78c
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x50]
test eax, eax
js 0x4ab987
imul ecx, eax, 0x1208
mov eax, dword [edi + 4]
cmp byte [ecx + eax + 0x52ba99], 0
je 0x4ab987
cmp byte [esp + 0x10], 0
je 0x4ab78c
mov ecx, edi
call fcn.005d2840
push dword [esp + 0x74]
push esi
mov ecx, dword [eax]
push 1
mov edx, dword [ecx + 0xac]
mov ecx, eax
call edx
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x4ab790
push dword [esi + 0x34]
lea eax, [esp + 0xcc]
mov ecx, edi
push eax
call fcn.004ab9d0
jmp 0x4ab790