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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x6a9900]
sub esp, 0x94
push ebx
push esi
push edi
lea esi, [eax + 0x128]
lea edi, [esp + 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x134]
lea edi, [esp + 0x6c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x84]
test esi, esi
mov ebx, dword [esp + 0x70]
je 0x4faef7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x400]
test al, al
je 0x4faed1
test ebx, ebx
je 0x4faed1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x400]
test al, al
je 0x4faed1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x460]
test al, al
je 0x4faea1
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x460]
test al, al
jne 0x4fb5b9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x460]
test al, al
jne 0x4faf23
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x460]
test al, al
jne 0x4faef1
push 0x64
mov edi, 0x58cf24
call fcn.004318f5
cmp eax, 0x32
pop ecx
jbe 0x4faf23
jmp 0x4faef1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x400]
test al, al
je 0x4faef7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x460]
test al, al
jne 0x4fb5b9
mov dword [esp + 0x14], esi
jmp 0x4faf27
test ebx, ebx
je 0x4fb5b9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x400]
test al, al
je 0x4fb5b9
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x460]
test al, al
jne 0x4fb5b9
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x94]
push eax
call fcn.004e7871
mov ebx, dword [eax + 4]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x154]
mov esi, dword [eax + 0x20]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x154]
mov edx, str.ATT_SandPunch
mov edi, eax
call fcn.0040df49
push eax
mov eax, dword [edi + 0xc]
push esi
mov esi, dword [0x69e6e8]
call fcn.00491e60
xor eax, eax
lea edi, [esp + 0x48]
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
cmp eax, 1
jne 0x4faf99
movss xmm0, dword [0x5925d4]
mov eax, dword [0x59255c]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [0x592610]
jmp 0x4fafd6
cmp eax, 2
jne 0x4fafbb
movss xmm0, dword [0x5925e8]
mov eax, dword [0x592570]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [0x592624]
jmp 0x4fafd6
movss xmm0, dword [0x5925fc]
mov eax, dword [0x592584]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [0x592638]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [ecx]
movss dword [esp + 0x38], xmm0
call dword [eax + 0x2f4]
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [ecx]
lea edi, [esp + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x38c]
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [ecx]
lea edi, [esp + 0x6c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x200]
movss xmm1, dword [0x559c80]
movss xmm0, dword [esp + 0x6c]
mov esi, eax
mov eax, dword [ebx]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x24]
lea edi, [esp + 0x80]
movsd dword es:[edi], dword [esi]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x70]
movsd dword es:[edi], dword [esi]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x28]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x2c]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movss dword [esp + 0x2c], xmm0
call dword [eax + 0x2f8]
movss xmm3, dword [esp + 0x28]
subss xmm3, dword [eax + 4]
movss xmm2, dword [esp + 0x24]
subss xmm2, dword [eax]
movss dword [esp + 0x1c], xmm3
fld dword [esp + 0x1c]
movss dword [esp + 0x18], xmm2
fmul dword [esp + 0x1c]
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
faddp st(1)
fsqrt
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld dword [0x55ab10]
fcompi st(1)
fstp st(0)
jbe 0x4fb1ef
movss xmm0, dword [0x55aaa0]
divss xmm0, dword [esp + 0x10]
mov eax, dword [ebx]
movaps xmm1, xmm0
mulss xmm1, xmm2
mulss xmm0, xmm3
mov ecx, ebx
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x1c], xmm0
call dword [eax + 0x2f8]
movss xmm0, dword [eax]
addss xmm0, dword [esp + 0x18]
mov eax, dword [ebx]
mov ecx, ebx
movss dword [esp + 0x24], xmm0
call dword [eax + 0x2f8]
movss xmm0, dword [eax + 4]
addss xmm0, dword [esp + 0x1c]
mov eax, dword [ebx]
mov ecx, ebx
movss dword [esp + 0x28], xmm0
call dword [eax + 0x2f4]
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [ecx]
call dword [eax + 0x2f4]
movss xmm0, dword [eax]
subss xmm0, dword [esi]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 4]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, dword [esi + 8]
mov eax, dword [ebx]
mov ecx, ebx
movss dword [esp + 0x54], xmm0
call dword [eax + 0x2f4]
movss xmm0, dword [esp + 0x24]
subss xmm0, dword [eax]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x28]
subss xmm0, dword [eax + 4]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x2c]
subss xmm0, dword [eax + 8]
lea eax, [esp + 0x4c]
lea esi, [esp + 0x78]
movss dword [esp + 0x44], xmm0
call fcn.00431625
lea eax, [esp + 0x3c]
lea esi, [esp + 0x58]
call fcn.00431625
mov ax, word [esp + 0x78]
mov word [esp + 0x58], ax
mov eax, esi
lea edx, [esp + 0x3c]
call fcn.0043160f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2f4]
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [eax]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [eax + 4]
addss xmm0, dword [esp + 0x40]
movss dword [esp + 0x28], xmm0
cmp dword [esp + 0x20], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x104c]
movss xmm0, dword [eax + 0x30]
movss dword [esp + 0x2c], xmm0
jle 0x4fb5b9
mov eax, dword [0x6a9928]
mov dword [esp + 0x30], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x214]
fldz
push 0
lea ecx, [esp + 0x28]
push ecx
sub esp, 0x10
fstp dword [esp + 0xc]
mov edi, esp
mov esi, eax
movsd dword es:[edi], dword [esi]
push 0x8c367b36
movsd dword es:[edi], dword [esi]
push 2
push dword [esp + 0x50]
movsd dword es:[edi], dword [esi]
call fcn.00484199
mov eax, dword [0x6a9928]
mov dword [esp + 0x30], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x214]
fld dword [esp + 0x34]
push 0
lea ecx, [esp + 0x28]
push ecx
sub esp, 0x10
fstp dword [esp + 0xc]
mov edi, esp
mov esi, eax
movsd dword es:[edi], dword [esi]
push 0xb9e2d68f
movsd dword es:[edi], dword [esi]
push 2
push dword [esp + 0x50]
movsd dword es:[edi], dword [esi]
call fcn.00484199
mov dword [esp + 0x30], 1
jmp 0x4fb5aa
cmp dword [esp + 0x30], 5
jge 0x4fb5b9
push 4
mov edi, 0x58cf24
call fcn.004318f5
cmp byte [esp + eax + 0x4c], 0
pop ecx
mov dword [esp + 0x10], eax
je 0x4fb2ca
push 4
call fcn.004318f5
cmp byte [esp + eax + 0x4c], 0
pop ecx
mov dword [esp + 0x10], eax
jne 0x4fb2b7
movss xmm0, dword [esp + 0x80]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x84]
mov byte [esp + eax + 0x48], 1
movss dword [esp + 0x50], xmm0
xorps xmm0, xmm0
lea eax, [esp + 0x4c]
lea esi, [esp + 0x58]
movss dword [esp + 0x54], xmm0
call fcn.00431625
push 0x2710
mov edi, 0x58cf24
call fcn.004318f5
pop ecx
mov ecx, dword [esp + 0x10]
shl ecx, 0xe
lea eax, [eax + ecx - 0x1388]
add word [esp + 0x58], ax
mov eax, esi
lea edx, [esp + 0x4c]
call fcn.0043160f
movss xmm1, dword [0x559c48]
movss xmm0, dword [esp + 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x104c]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x24]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x50]
mulss xmm0, xmm1
addss xmm0, dword [esp + 0x28]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [eax + 0x30]
mov eax, dword [ebx]
mov ecx, ebx
movss dword [esp + 0x68], xmm0
call dword [eax + 0x2f8]
movss xmm0, dword [esp + 0x60]
subss xmm0, dword [eax]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x64]
subss xmm0, dword [eax + 4]
movss dword [esp + 0x1c], xmm0
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
faddp st(1)
fsqrt
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld dword [0x55ab10]
fcompi st(1)
fstp st(0)
jbe 0x4fb524
movss xmm0, dword [0x55aaa0]
divss xmm0, dword [esp + 0x10]
mov eax, dword [ebx]
movaps xmm1, xmm0
mulss xmm1, dword [esp + 0x18]
mulss xmm0, dword [esp + 0x1c]
mov ecx, ebx
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x1c], xmm0
call dword [eax + 0x2f8]
movss xmm0, dword [eax]
addss xmm0, dword [esp + 0x18]
mov eax, dword [ebx]
mov ecx, ebx
movss dword [esp + 0x24], xmm0
call dword [eax + 0x2f8]
movss xmm0, dword [eax + 4]
addss xmm0, dword [esp + 0x1c]
mov eax, dword [ebx]
mov ecx, ebx
movss dword [esp + 0x28], xmm0
call dword [eax + 0x2f4]
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [ecx]
call dword [eax + 0x2f4]
movss xmm0, dword [eax]
subss xmm0, dword [esi]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esi + 4]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, dword [esi + 8]
mov eax, dword [ebx]
mov ecx, ebx
movss dword [esp + 0x74], xmm0
call dword [eax + 0x2f4]
movss xmm0, dword [esp + 0x24]
subss xmm0, dword [eax]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x28]
subss xmm0, dword [eax + 4]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x2c]
subss xmm0, dword [eax + 8]
lea eax, [esp + 0x6c]
lea esi, [esp + 0x8c]
movss dword [esp + 0x44], xmm0
call fcn.00431625
lea eax, [esp + 0x3c]
lea esi, [esp + 0x78]
call fcn.00431625
mov ax, word [esp + 0x8c]
mov word [esp + 0x78], ax
mov eax, esi
lea edx, [esp + 0x3c]
call fcn.0043160f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x2f4]
movss xmm0, dword [eax]
addss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [eax + 4]
addss xmm0, dword [esp + 0x40]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [eax + 8]
addss xmm0, dword [esp + 0x44]
movss dword [esp + 0x68], xmm0
mov eax, dword [0x6a9928]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x214]
fld dword [esp + 0x38]
push 0
lea ecx, [esp + 0x64]
push ecx
sub esp, 0x10
fstp dword [esp + 0xc]
mov edi, esp
mov esi, eax
movsd dword es:[edi], dword [esi]
push 0x8c367b36
movsd dword es:[edi], dword [esi]
push 2
push dword [esp + 0x30]
movsd dword es:[edi], dword [esi]
call fcn.00484199
mov eax, dword [0x6a9928]
mov dword [esp + 0x10], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x214]
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [esp + 0x34]
push 0
lea ecx, [esp + 0x64]
push ecx
sub esp, 0x10
movss dword [esp + 0xc], xmm0
mov edi, esp
mov esi, eax
movsd dword es:[edi], dword [esi]
push 0xb9e2d68f
movsd dword es:[edi], dword [esi]
push 2
push dword [esp + 0x30]
movsd dword es:[edi], dword [esi]
call fcn.00484199
inc dword [esp + 0x30]
dec dword [esp + 0x20]
cmp dword [esp + 0x20], 0
jg 0x4fb294
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4